Template

Difference between revisions of "Textbox"

 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<div style="text-align:center; border-bottom: 1px solid #cccccc; padding: 0.5em; background-color: {{{titlecolor|#ddddff}}};">'''{{{title|{{{1}}}}}}'''</div>
 
<div style="text-align:center; border-bottom: 1px solid #cccccc; padding: 0.5em; background-color: {{{titlecolor|#ddddff}}};">'''{{{title|{{{1}}}}}}'''</div>
  
<div style="padding: 0.5em;text-align:left;">
+
</div><noinclude>
{{{body|{{{2}}}}}}</div></div><noinclude>
 
  
Typical usage: <nowiki>{{textbox|TITLE|TEXT GOES HERE}}</nowiki>
+
Typical usage: <nowiki>{{Textbox | TEXT GOES HERE}}</nowiki>
  
 
produces
 
produces
  
{{textbox|TITLE|TEXT GOES HERE}}
+
{{Textbox | TEXT GOES HERE}}
  
 
Additional named parameters and their default values:
 
Additional named parameters and their default values:
 
* titlecolor=#ddddff (background color)
 
* titlecolor=#ddddff (background color)
* bodycolor=inherit (background color)
 
 
* width=100%
 
* width=100%
 
See the [[Template_talk:Textbox|talk page]] for further details and examples.
 
  
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:17, 10 August 2012

{{{1}}}

Typical usage: {{Textbox | TEXT GOES HERE}}

produces

TEXT GOES HERE

Additional named parameters and their default values:

  • titlecolor=#ddddff (background color)
  • width=100%