Difference between revisions of "Template:Infobox"

From Heathen's Gap Wiki
(Undo revision 179 by OceanDatrel (talk))
Tag: Undo
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%" <!-- float puts it on right side and wraps text -->
|style="text-align: center" <!-- center the text --> colspan="2" <!--  make title row span across columns --> | Sample Infobox
|style="text-align: center" <!-- center the text --> colspan="2" <!--  make title row span across columns --> | {{{Name}}}
|-
|-
| style="background:silver; color:arsenic; width:25%" align="right"| '''first value: '''
| style="background:silver; color:arsenic; width:25%" align="right"| '''Class: '''
| {{{firstValue}}} <!-- this accesses the named parameter passed to the template, see https://www.mediawiki.org/wiki/Help:Templates -->
| {{{Class}}} <!-- 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"| '''Heritage: '''
| {{{secondValue}}}
| {{{Heritage}}}
|}
|}

Revision as of 13:10, 30 March 2022

{{{Name}}}
Class: {{{Class}}}
Heritage: {{{Heritage}}}