Diferencia entre revisiones de «Plantilla:LCGeneral»

Sheroes in Games Wiki
 
(No se muestran 4 ediciones intermedias del mismo usuario)
Línea 2: Línea 2:
 
{{#template_params:publicationDate (label=fecha;property=PublicationDate)|author (label=autor;property=Author)|lclanguage (label=Idioma;property=LCLanguage)|lcsubtitle (label=subtitulos;property=LCSubtitle)|hasrecipient (label=destinatario;property=HasRecipient)|hastype (label=tipo contenido;property=HasType)}}
 
{{#template_params:publicationDate (label=fecha;property=PublicationDate)|author (label=autor;property=Author)|lclanguage (label=Idioma;property=LCLanguage)|lcsubtitle (label=subtitulos;property=LCSubtitle)|hasrecipient (label=destinatario;property=HasRecipient)|hastype (label=tipo contenido;property=HasType)}}
 
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! 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;">{{int:label-datosgen}}</span>
 
|-
 
|-
! Fecha
+
! {{#if: {{{publicationDate|}}} | {{int:label-fecha}} }}
| [[PublicationDate::{{{publicationDate|}}}]]
+
| {{#if: {{{publicationDate|}}} | [[PublicationDate::{{{publicationDate|}}}]] }}
 
|-
 
|-
! Autor
+
! {{#if: {{{author|}}} | {{int:label-autor}} }}
| [[Author::{{{author|}}}]]
+
| {{#if: {{{author|}}} | [[Author::{{{author|}}}]] }}
 
|-
 
|-
! Idioma
+
! {{#if: {{{lclanguage|}}} | {{int:label-idioma}} }}
| [[LCLanguage::{{{lclanguage|}}}]]
+
| {{#if: {{{lclanguage|}}} | [[LCLanguage::{{{lclanguage|}}}]] }}
 
|-
 
|-
! Subtítulos
+
! {{#if: {{{lcsubtitle|}}} | {{int:label-subtitulos}} }}
| [[LCSubtitle::{{{lcsubtitle|}}}]]
+
| {{#if: {{{lcsubtitle|}}} | [[LCSubtitle::{{{lcsubtitle|}}}]] }}
 
|-
 
|-
! Destinatario
+
! {{#if: {{{hasrecipient|}}} | {{int:label-destinatario}} }}
| [[HasRecipient::{{{hasrecipient|}}}]]
+
| {{#if: {{{hasrecipient|}}} | {{#arraymap:{{{hasrecipient|}}}|,|x|[[HasRecipient::x| ]]{{#formredlink:target=x|}}}} }}
| {{#arraymap:{{{hasrecipient|}}}|,|x|[[HasRecipient::x| ]]{{#formredlink:target=x|}}}}
 
 
|-
 
|-
! Tipo de Contenido
+
! {{#if: {{{hastype|}}} | {{int:label-tipocontenido}} }}
| [[HasType::{{{hastype|}}}]]
+
| {{#if: {{{hastype|}}} | {{#arraymap:{{{hastype|}}}|,|x|[[HasType::x| ]]{{#formredlink:target=x|}}}} }}
 
|}
 
|}
 
</includeonly>
 
</includeonly>

Revisión actual del 11:07 6 feb 2022

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.