Template:Infobox/row: Difference between revisions

From Nguhcraft Wiki
Jump to navigation Jump to search
mh>Viklo
(from my experiment)
 
mh>Viklo
(added documentation)
Line 1: Line 1:
{{#if: {{{2|}}}|<tr style="vertical-align:top"><th>{{{1|}}}</th><td>{{{2|}}}</td></tr>}}
<onlyinclude>{{#if: {{{2|}}}|<tr style="vertical-align:top"><th>{{{1|}}}</th><td>{{{2|}}}</td></tr>}}</onlyinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 22:24, 13 March 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.