Difference between revisions of "Template:Infobox"
From Heathen's Gap Wiki
OceanDatrel (talk | contribs) Tag: Reverted |
OceanDatrel (talk | contribs) (Undo revision 179 by OceanDatrel (talk)) Tag: Undo |
||
Line 1: | Line 1: | ||
{| class="wikitable" border="1" style="float:right; width:33%" | {| class="wikitable" border="1" style="float:right; width:33%" <!-- float puts it on right side and wraps text --> | ||
|style="text-align: center" | Sample Infobox | |style="text-align: center" <!-- center the text --> colspan="2" <!-- make title row span across columns --> | Sample Infobox | ||
|- | |- | ||
| style="background:silver; color:arsenic; width:25%" align="right"| '''first value:''' | | style="background:silver; color:arsenic; width:25%" align="right"| '''first value: ''' | ||
| {{{firstValue}}} | | {{{firstValue}}} <!-- this accesses the named parameter passed to the template, see https://www.mediawiki.org/wiki/Help:Templates --> | ||
|- | |- | ||
| style="background:silver; color:arsenic" align="right"| '''second value:''' | | style="background:silver; color:arsenic" align="right"| '''second value: ''' | ||
| {{{secondValue}}} | | {{{secondValue}}} | ||
|} | |} |
Revision as of 12:51, 30 March 2022
Sample Infobox | |
first value: | {{{firstValue}}} |
second value: | {{{secondValue}}} |