A Wiki in the Desert
Log in

Difference between revisions of "Template:Box"

From A Wiki in the Desert
m (Pluralizing the "Template" category. Categories should be plural)
Line 26: Line 26:
 
<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><noinclude>
 
|}</includeonly><noinclude>
[[Category: Template]] {{DEFAULTSORT:{{SUBPAGENAME}}}}
+
[[Category:Templates]] {{DEFAULTSORT:{{SUBPAGENAME}}}}
 
</noinclude>
 
</noinclude>

Revision as of 09:25, 7 August 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