Diferencia entre revisiones de «Plantilla:Metal/art»
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| |
+ | {{#if:{{{power|}}}|{{row/kv|Poder|{{{power}}}}}}} |
− | {{#if:{{{type|}}}|{{row/kv| |
+ | {{#if:{{{type|}}}|{{row/kv|Tipo|{{{type}}}}}}} |
− | {{#if:{{{user|}}}|{{row/kv|{{#switch:{{{art}}}| |
+ | {{#if:{{{user|}}}|{{row/kv|{{#switch:{{{art}}}|Alomancia=Brumoso|Feruquimia=Ferrin}}|{{{user}}}}}}} |
{{!}}} |
{{!}}} |
||
{{!}}-<noinclude> |
{{!}}-<noinclude> |
Revisión actual del 20:20 13 ene 2022
Metal subbox | |||
---|---|---|---|
|
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.
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
|
|
power
|
Use this to specify the metal's power in the relevant Metallic Art |
|
type
|
Use this to specify how the metal is categorized in the relevant Metallic Art |
|
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
|
|