Template:PortalBox

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(force text align left for content)
 
(19 intermediate revisions by 2 users not shown)
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:#ffffff;  
<div style="padding:0.5em; text-align:left">{{{content|&nbsp;}}}</div></div><noinclude>
+
border:solid thin #c0c0c0;  
 +
margin:auto;  
 +
padding:0em;
 +
width:100%">
 +
<div id="title box" style="
 +
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==
 
==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>

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