Template:Sandbox: Difference between revisions
From Crazy-Fools.co.uk Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<!-- Text starting with lt!-- and ending with --gt is a comment that will be not show. | <!-- | ||
Text starting with lt!-- and ending with --gt is a comment that will be not show. | |||
Text between the noinclude tags is the documentation for your template and will not be transcluded with your template. | |||
--> | |||
Look at this in source or edit view to really see how it is set up. | Look at this in source or edit view to really see how it is set up. | ||
Line 9: | Line 11: | ||
==Template Use== | ==Template Use== | ||
To use this template, put the following text on a page, replacing the values as instructed. | To use this template, put the following text on a page, replacing the values as instructed. | ||
<pre> | |||
{{SampleInfobox | |||
| firstValue = replace this with first value | | firstValue = replace this with first value | ||
| secondValue = replace this with second value | | secondValue = replace this with second value | ||
Line 17: | Line 19: | ||
</pre> | </pre> | ||
<!-- | |||
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 20:13, 31 May 2024
Look at this in source or edit view to really see how it is set up.
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 }}
A Sample Infobox | |
First Value: | {{{firstValue}}} |
Second Value: | {{{secondValue}}} |