Difference between revisions of "Template:Infobox"

From Heathen's Gap Wiki
Tag: Reverted
Line 1: Line 1:
{| class="wikitable" border="1" style="float:right; width:33%" <!-- float puts it on right side and wraps text -->
{| class="wikitable" border="1" style="float:right; width:33%"
|style="text-align: center" <!-- center the text --> colspan="2" <!--  make title row span across columns --> | Sample Infobox
|style="text-align: center" | 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}}} <!-- this accesses the named parameter passed to the template, see https://www.mediawiki.org/wiki/Help:Templates -->
| {{{firstValue}}}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''second value: '''
| style="background:silver; color:arsenic" align="right"| '''second value:'''
| {{{secondValue}}}
| {{{secondValue}}}
|}
|}

Revision as of 12:50, 30 March 2022

Sample Infobox
first value: {{{firstValue}}}
second value: {{{secondValue}}}