Template:PortalBox

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(add template to cat)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|width="100%" style="border:solid thin #000060;margin-bottom:5px;"
+
<div id="outer box" style="
|-
+
background:#ffffff;
|align="center" style="background:#000060; color:#ffffff; font-weight:bold; border:medium #cccc00; border-style:solid none solid none"| {{{title|&nbsp;}}}
+
border:solid thin #c0c0c0;  
|-
+
margin:auto;  
| style="padding:0 0.5em 0 0.5em; background:#eeeeee"|
+
padding:0em;
{{{content|&nbsp;}}}
+
width:100%">
|}
+
<div id="title box" style="
<noinclude>[[Category:Templates]]</noinclude>
+
color:#600000;  
 +
background-color:#cfcff3;  
 +
font-weight:bold;  
 +
font-size:large;  
 +
font-family:serif;
 +
text-align:center;
 +
padding:0.3em 0 0.3em 0">{{{title|title}}}
 +
</div><div id="content box" style="
 +
padding:0.5em;  
 +
text-align:left">
 +
{{{content|&nbsp;}}}</div>
 +
</div><noinclude>
 +
 
 +
 
 +
 
 +
==Usage==
 +
 
 +
'''<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>

Latest revision as of 22:13, 8 January 2011

title
 


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