A Wiki in the Desert
Log in

Difference between revisions of "Template:Box"

From A Wiki in the Desert
m
 
(3 intermediate revisions by the same user not shown)
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>
 +
{{Documentation}}
 +
[[Category:Content templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:36, 17 May 2021

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




Template documentation (for the above template, sometimes hidden or invisible)
Information icon.png

Legacy Template
This template is old and should probably be replaced. In the meantime, please avoid using it on new pages if possible.


Visit Template:Box/doc to edit this text! (How does this work?)