Difference between revisions of "User:Void Singer/Template:boxit"
Jump to navigation
Jump to search
Void Singer (talk | contribs) m (sandbox test of user template) |
Void Singer (talk | contribs) m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><div id="box"> | ||
<div id="box"> | == {{#if:{{{title|}}} | {{{title}}} | {{PAGENAME}} }} == | ||
== {{ | {{#if:{{{content|}}} | <div style="padding: 0.5em">{{{content}}}</div> }} | ||
{{#if:{{{content|}}} | <div style="padding: 0.5em"> | </div></includeonly><noinclude> | ||
{{{content}}} | |||
</div> }}</div> | |||
</includeonly> | |||
<noinclude> | |||
=== you type: === | === you type: === | ||
<pre>{{boxit | <pre>{{boxit | ||
Line 15: | Line 10: | ||
=== you get: === | === you get: === | ||
{{User:Void_Singer/Template:boxit | |||
|title=bob | |||
|content=stuff, stuff, & more stuff | |||
}} | |||
<div id="box"> | <div id="box"> | ||
== bob == | == bob == | ||
<div style="padding: 0.5em">stuff, stuff, & more stuff | <div style="padding: 0.5em">stuff, stuff, & more stuff</div></div> | ||
</div></div> | |||
{{User:Void_Singer/Template:boxit | |||
|title=bob | |||
|content=stuff, stuff, & more stuff | |||
}} | |||
</noinclude> | </noinclude> |
Latest revision as of 09:21, 19 May 2009
you type:
{{boxit |title=bob |content=stuff, stuff, & more stuff }}
you get:
bob
stuff, stuff, & more stuff
bob
stuff, stuff, & more stuff
bob
stuff, stuff, & more stuff