Diferencia entre revisiones de «Plantilla:LCGeneral»

Sheroes in Games Wiki
Línea 4: Línea 4:
 
! style="text-align: center; background-color:#A2C617;" colspan="2" |<span style="font-size: larger;">Datos Generales</span>
 
! style="text-align: center; background-color:#A2C617;" colspan="2" |<span style="font-size: larger;">Datos Generales</span>
 
|-
 
|-
! Fecha
+
! {{#if: {{{publicationDate|}}} | Fecha}}
| [[PublicationDate::{{{publicationDate|}}}]]
+
| {{#if: {{{publicationDate|}}} | [[PublicationDate::{{{publicationDate|}}}]] }}
 
|-
 
|-
! Autor
+
! {{#if: {{{author|}}} | Autor}}
| [[Author::{{{author|}}}]]
+
| {{#if: {{{author|}}} | [[Author::{{{author|}}}]] }}
 
|-
 
|-
! Idioma
+
! {{#if: {{{lclanguage|}}} | Idioma}}
| [[LCLanguage::{{{lclanguage|}}}]]
+
| {{#if: {{{lclanguage|}}} | [[LCLanguage::{{{lclanguage|}}}]] }}
 
|-
 
|-
! Subtítulos
+
! {{#if: {{{lcsubtitle|}}} | Subtítulos}}
| [[LCSubtitle::{{{lcsubtitle|}}}]]
+
| {{#if: {{{lcsubtitle|}}} | [[LCSubtitle::{{{lcsubtitle|}}}]] }}
 
|-
 
|-
! Destinatario
+
! {{#if: {{{hasrecipient|}}} | Destinatario}}
| {{#arraymap:{{{hasrecipient|}}}|,|x|[[HasRecipient::x| ]]{{#formredlink:target=x|}}}}
+
| {{#if: {{{hasrecipient|}}} | {{#arraymap:{{{hasrecipient|}}}|,|x|[[HasRecipient::x| ]]{{#formredlink:target=x|}}}} }}
 
|-
 
|-
! Tipo de Contenido
+
! {{#if: {{{hastype|}}} | Tipo de Contenido}}
| {{#arraymap:{{{hastype|}}}|,|x|[[HasType::x| ]]{{#formredlink:target=x|}}}}
+
| {{#if: {{{hastype|}}} | {{#arraymap:{{{hastype|}}}|,|x|[[HasType::x| ]]{{#formredlink:target=x|}}}} }}
 
|}
 
|}
 
</includeonly>
 
</includeonly>

Revisión del 14:30 10 dic 2021

Esta es la plantilla "LCGeneral". Debe llamarse en el siguiente formato:

{{LCGeneral
|publicationDate=
|author=
|lclanguage=
|lcsubtitle=
|hasrecipient=
|hastype=
}}

Editar la página para ver el texto de la plantilla.