Template:PortalBox

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(force text align left for content)
(finish doc and pretty print)
Line 1: Line 1:
<div style="background:#fcfffc; border:solid thin #cc9999; margin:0px 0px 5px 0px; padding:0.2em">
+
<div id="outer box" style="
<div style="border:solid thin #996666; color:#600000; background-color:#dfd9d9; font-weight:bold; font-size:normal; text-align:center">{{{title|&nbsp;}}}</div>
+
background:#fcfffc;
<div style="padding:0.5em; text-align:left">{{{content|&nbsp;}}}</div></div><noinclude>
+
border:solid thin #cc9999;
 +
margin:0px 0px 5px 0px;
 +
padding:0.2em">
 +
<div id="title box" style="
 +
border:solid thin #996666;
 +
color:#600000;
 +
background-color:#dfd9d9;
 +
font-weight:bold;
 +
font-size:normal;
 +
text-align:center">{{{title|&nbsp;}}}
 +
</div>
 +
<div id="content box" style="
 +
padding:0.5em;
 +
text-align:left">{{{content|&nbsp;}}}
 +
</div>
 +
</div><noinclude>
  
 
==Usage==
 
==Usage==
  
 
'''<nowiki>{{PortalBox|title= |content= }}</nowiki>'''
 
'''<nowiki>{{PortalBox|title= |content= }}</nowiki>'''
 +
 +
"title" is the text that should appear in the upper portion.
 +
 +
"content" is the text that should appear in the lower portion. Wiki codes are OK.
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 05:39, 19 January 2008

 
 

Usage

{{PortalBox|title= |content= }}

"title" is the text that should appear in the upper portion.

"content" is the text that should appear in the lower portion. Wiki codes are OK.

Personal tools