A Wiki in the Desert
Log in

Difference between revisions of "Template:Box"

From A Wiki in the Desert
(Created page with "<noinclude>''Creates a box suitable for warnings and notices at the top centre of the page'' Usage: '''<NOWIKI>{{Box|Title|Content|Width}}</NOWIKI>''' Example: <NOWIKI>{{Box...")
 
Line 25: Line 25:
 
| colspan='3' style = 'padding: 0' |
 
| colspan='3' style = 'padding: 0' |
 
<div style='overflow: hidden; width: {{{3|40}}}.5em; white-space: nowrap; line-height: 9px; height: 10px; margin-top: -1px'><div style='width: 0px'>[[Image:Horizontal_bar.png|link=]]</div></div>
 
<div style='overflow: hidden; width: {{{3|40}}}.5em; white-space: nowrap; line-height: 9px; height: 10px; margin-top: -1px'><div style='width: 0px'>[[Image:Horizontal_bar.png|link=]]</div></div>
|}</includeonly>
+
|}</includeonly><noinclude>
 +
[[Category: Template]] {{DEFAULTSORT:{{SUBPAGENAME}}}}
 +
</noinclude>

Revision as of 21:33, 30 January 2018

Creates a box suitable for warnings and notices at the top centre of the page

Usage: {{Box|Title|Content|Width}}

Example: {{Box|This is the Title|This is the content}} produces

Horizontal bar.png
This is the Title

This is the content

Horizontal bar.png