ARK: Survival Evolved Wiki
m (1 revisión importada)
Sanctyl (discusión | contribs.)
(Created Template)
Línea 1: Línea 1:
<includeonly>|-
+
<includeonly>{{#if:{{{3|{{{2|}}}}}}{{{4|}}}
  +
|<div class="info-arkitex info-unit-row">
{{#if: {{{3|{{{2|}}}}}}{{{4|}}}
 
|{{!}} class="unit-content" {{!}} <table class="unit-arkitexure"><td class="arkitex-left X2-40">{{{1|}}}</td></table>
+
<div class="info-arkitex-left info-X2-40">{{{1|}}}</div>
{{!}} class="arkitex-right X2-60" {{!}} {{#if:{{{3|{{{2|}}}}}}|{{{2|}}}|{{{4|}}}}}}}</includeonly><noinclude></noinclude>
+
<div class="info-arkitex-right info-X2-60">{{#if:{{{3|{{{2|}}}}}}|{{{2|}}}|{{{4|}}}}}</div>
  +
</div>}}</includeonly><noinclude>{{doc}}[[Category:Infobox part templates]]</noinclude>

Revisión del 20:21 6 ene 2017

Displays a row in an Category:Infobox templates.

Usage

{{Arkitexure|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