Template:Infobox/row: Difference between revisions

From Nguhcraft Wiki
Jump to navigation Jump to search
m (5 revisions imported)
(if there is no label it acts like a center)
Line 1: Line 1:
<onlyinclude>{{#if: {{{2|}}}|<tr style="vertical-align:top"><th>{{{1|}}}</th><td>{{{2|}}}</td></tr>|<nowiki />}}</onlyinclude>
<onlyinclude>{{#if: {{{2|}}}|<tr style="vertical-align:top">{{#if: {{{1|}}}|<th>{{{1|}}}</th>|}}<td {{#if: {{{1|}}}||colspan="2" style="text-align:center"}}>{{{2|}}}</td></tr>|<nowiki />}}</onlyinclude>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 22:04, 23 October 2024

Documentation

First value
(label)
Second value
(data)
Only second value
(data)

This is a template for infobox rows. It takes two unnamed arguments: first the label, then the data/information.