Diferencia entre revisiones de «Plantilla:Metal/art»

De La Coppermind
Ir a la navegación Ir a la búsqueda
m (Add docs, because why not)
m
 
(No se muestra una edición intermedia del mismo usuario)
Línea 6: Línea 6:
 
! colspan=2 align=center {{!}} [[{{{art}}}]]
 
! colspan=2 align=center {{!}} [[{{{art}}}]]
 
{{!}}-
 
{{!}}-
{{#if:{{{power|}}}|{{row/kv|Power|{{{power}}}}}}}
+
{{#if:{{{power|}}}|{{row/kv|Poder|{{{power}}}}}}}
{{#if:{{{type|}}}|{{row/kv|Type|{{{type}}}}}}}
+
{{#if:{{{type|}}}|{{row/kv|Tipo|{{{type}}}}}}}
{{#if:{{{user|}}}|{{row/kv|{{#switch:{{{art}}}|Allomancy=Misting|Feruchemy=Ferring}}|{{{user}}}}}}}
+
{{#if:{{{user|}}}|{{row/kv|{{#switch:{{{art}}}|Alomancia=Brumoso|Feruquimia=Ferrin}}|{{{user}}}}}}}
 
{{!}}}
 
{{!}}}
 
{{!}}-<noinclude>
 
{{!}}-<noinclude>

Revisión actual del 20:20 13 ene 2022

Metal subbox
[[{{{art}}}]]

The {{metal/art}} template is used for adding a subbox to the {{metal}} infobox with information on a metal's properties in one of the Metallic Arts.

Template

{{metal/art
|art=
|power=
|type=
|user=
}}

Parameters

Highlighted lines indicate mandatory parameters.

{{Metal}} Parameters
Parameter Description Examples
art Use this to specify which one of the Metallic Arts this subbox is about
Note: The {{metal}} infobox calls this template three times, one for each Metallic Art; the values for this parameter are hard-coded in that template

|art=Allomancy
|art=Feruchemy
|art=Hemalurgy

power Use this to specify the metal's power in the relevant Metallic Art

|power={{{allomancy|}}}
|power=Store wakefulness

type Use this to specify how the metal is categorized in the relevant Metallic Art

|type={{{type-a|}}}
|type=Cognitive

user Use this to specify how the name for someone who can use this metal in the relevant Metallic Art
Note: The row generated by this parameter uses the {{{art}}} parameter to decide the title of the row (e.g. if passed art=Allomancy, the title of the row will be "Misting"); currently it is only valid for Allomancy and Feruchemy

|user={{{misting|}}}
|user=Sentry