Difference between revisions of "Template:Infobox"

From Heathen's Gap Wiki
m (OceanDatrel moved page Template:Character infobox to Template:Infobox: more accurate naming)
Line 17: Line 17:
</pre>
</pre>


[[Category:External Sample]]
---- <!-- this draws a line to show where the template description ends and the template itself starts. The template would work without it. -->
---- <!-- this draws a line to show where the template description ends and the template itself starts. The template would work without it. -->



Revision as of 12:38, 30 March 2022


Look at this in source or edit view to really see how it is set up. See page SampleInfoboxUser for an example of how to use it.

This template just demonstrates a really simple infobox that will show up at the right top of where the template is used. It is really just a mediawiki template that generates a right floating mediawiki table.

Template Use

To use this template, put the following text on a page, replacing the values as instructed.

{{SampleInfobox
| firstValue = replace this with first value
| secondValue = replace this with second value
}}



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