Template:PortalBox
From NovaRoma
(Difference between revisions)
(force text align left for content) |
|||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <div style="background:# | + | <div id="outer box" style=" |
− | <div style=" | + | background:#ffffff; |
− | <div style="padding:0.5em; text-align:left">{{{content| }}}</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| }}}</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.