Template:SampleInfobox: Difference between revisions
Jump to navigation
Jump to search
Ttenbergen (talk | contribs) mNo edit summary |
Ttenbergen (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 22: | Line 22: | ||
</noinclude> | </noinclude><!-- this is just a mediawiki table, see https://www.mediawiki.org/wiki/Help:Tables for more --> | ||
|colspan="2" <!-- | {| 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="background:silver; color:arsenic; width:25%" align="right"| '''first value: ''' | | style="background:silver; color:arsenic; width:25%" align="right"| '''first value: ''' |
Latest revision as of 21:56, 2020 July 29
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}}} |