Diferencia entre revisiones de «Plantilla:ToolkitElementBody»

Sheroes in Games Wiki
 
(No se muestran 49 ediciones intermedias del mismo usuario)
Línea 1: Línea 1:
 
<noinclude>  
 
<noinclude>  
{{#template_params:TEtype (label=Tipo;property=TEtype)|intent (label=Propósito)|TEURL (label=URL)|pdffile (label=PDF)
+
{{#template_params:TEtype (label=Tipo;property=TEtype)|intent (label=Propósito)|TEURL (label=URL)|pdffile (label=PDF)|TEVideo (label=Video;display=nonempty)|tenext (label=Siguiente;property=TENext)
#template_display:format=sections}}
+
#template_display:format=text}}
 
</noinclude>
 
</noinclude>
<includeonly>{|  
+
<includeonly>
! Tipo
+
{{#if: {{{TEtype|}}} | =={{int:label-tipo}}==
| [[TEtype::{{{TEtype|}}}]]
+
{{{TEtype|}}} {{#set:TEtype={{{TEtype|}}}}}
|-
+
}}
! URL
+
{{#if: {{{TEURL|}}} | ==URL==
| {{{TEURL|}}}
+
{{{TEURL|}}}
|-
+
}}
! PDF Asociado
+
{{#if: {{{pdffile|}}} | =={{int:label-pdf}}==
| {{{pdffile|}}}
+
[[:File:{{{pdffile|}}}]]
|-
+
}}
==Proposito==
+
{{#if: {{{tenext|}}} | =={{int:label-siguiente}}==
 +
{{int:label-continuaen}} {{#arraymap:{{{tenext|}}}|,|x|[[TENext::x| ]]{{#formredlink:target=x|form=ToolkitElement}}}}
 +
}}
 +
{{#if: {{{intent|}}} | =={{int:label-proposito}}==
 
{{{intent|}}}
 
{{{intent|}}}
|}
+
}}
 
+
{{#if: {{#ask:[[WSToolkit::{{SUBJECTPAGENAME}}]]}} | =={{int:label-utilenwork}}==
 +
{{#ask:[[WSToolkit::{{SUBJECTPAGENAME}}]]|format=ul}}
 +
}}
 +
{{#if: {{{TEVideo|}}} | ==Video==
 +
{{#evu:{{{TEVideo|}}}|alignment=center}}
 +
}}
 
[[Categoría:ToolkitElements]]
 
[[Categoría:ToolkitElements]]
 
</includeonly>
 
</includeonly>

Revisión actual del 10:38 6 feb 2022

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

{{ToolkitElementBody
|TEtype=
|intent=
|TEURL=
|pdffile=
|TEVideo=
|tenext=
}}

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