ARK: Survival Evolved Wiki
Etiqueta: Editor clásico
Línea 1: Línea 1:
 
<includeonly>|- class="infobox-row {{#if:{{{class|}}}|{{{class|}}}}}"
 
<includeonly>|- class="infobox-row {{#if:{{{class|}}}|{{{class|}}}}}"
{{#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]][[en:Template:Infobox row]]</noinclude>

Revisión del 19:33 24 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