ARK: Survival Evolved Wiki
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]]</noinclude>
+
{{!}} class="infobox-row-value" {{!}} {{#if: {{{3|{{{2|}}}}}} | {{{2|}}} | {{{4|}}} }} }}</includeonly><noinclude>{{doc}}[[Category:Plantillas de partes de infobox]][[en:Template:Infobox row]]</noinclude>

Revisión del 21:03 22 jun 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