ARK: Survival Evolved Wiki
Will130 (discusión | contribuciones)
m
 
(No se muestran 2 ediciones intermedias de otro usuario)
Línea 2: Línea 2:
 
{{#if: {{{3|{{{2|}}}}}}{{{4|}}} |
 
{{#if: {{{3|{{{2|}}}}}}{{{4|}}} |
 
! class="infobox-row-name" {{!}} {{{1|}}}
 
! class="infobox-row-name" {{!}} {{{1|}}}
{{!}} class="infobox-row-value" {{!}} {{#if: {{{3|{{{2|}}}}}} | {{{2|}}} | {{{4|}}} }} }}</includeonly><noinclude>{{doc}}[[Category:Plantillas de partes de infobox]][[en:Template:Infobox row]]</noinclude>
+
{{!}} class="infobox-row-value" {{!}} {{#if: {{{3|{{{2|}}}}}} | {{{2|}}} | {{{4|}}} }} }}</includeonly><noinclude>{{doc}}[[Category:Plantillas de partes de infobox]]
  +
  +
[[de:Vorlage:Infobox row]]
  +
[[en:Template:Infobox row]]
  +
[[fr:Modèle:Infobox row]]
  +
[[it:Template:Infobox row]]
  +
[[ja:テンプレート:Infobox row]]
  +
[[pl:Szablon:Infobox row]]
  +
[[pt-br:Predefinição:Infobox row]]
  +
[[ru:Шаблон:Infobox row]]
  +
[[th:แม่แบบ:Infobox row]]
  +
</noinclude>

Revisión actual del 13:44 5 jul 2021

Displays a row in an Category:Infobox templates.

Usage

{{infobox row|Keyword|Value|Test-value|Else-value}}
  • Keyword is displayed as keyword to the row, describing the value (e.g. "HP", "Size", etc.)
  • Value is displayed as the value and can be formatted (e.g. 1000, "huge", {{ItemLink|Wall}}, etc.)
  • If Test-value is given, the row is only displayed if it is not emtpy
  • If Else-value is given and Test-value is empty, the row is however displayed and shows Else-value as its value