Template:BoxBlue: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{|style="border-spacing:8px;margin:0px -8px" | {|style="{{#if:{{{width|}}}|width:{{{width}}}; }} {{#if:{{{height|}}}|height:{{{height}}}; }} border-spacing:8px; margin:0px -8px" | ||
|class="MainPageBG" style=" | |class="MainPageBG" style="border:1px solid #cedff2; background:#f5faff; vertical-align:top; color:#000"| | ||
{| | {|style="width:100%; border-spacing:5px; vertical-align:top; background:#f5faff;" | ||
! <p style="margin:0; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">{{{title}}}</p> | {{#if: {{{title|}}} | | ||
! style="padding:2px;" {{!}} <p style="margin:0; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">{{{title}}}</p> | |||
| | |||
}} | |||
|- | |- | ||
|style="color:#000"|{{{text}}} | |style="color:#000"|{{{text}}} | ||
|- | |- | ||
|} | |} | ||
|} | |}<noinclude> | ||
<noinclude> | == Usage == | ||
Usage | |||
<code><nowiki>{{BoxBlue|[width=500px]|[height=250px]|[title=Place title here]|text={{:Page_to_include}}}}</nowiki></code> | |||
== Example == | |||
<code><nowiki>{{BoxBlue|width=500px|height=150px|title=This is the title|text=Here comes the text.}}</nowiki></code> | |||
{{BoxBlue|width=500px|height=150px|title=This is the title|text=Here comes the text.}} | |||
</noinclude> | </noinclude> |
Latest revision as of 15:43, 28 February 2018
|
Usage
{{BoxBlue|[width=500px]|[height=250px]|[title=Place title here]|text={{:Page_to_include}}}}
Example
{{BoxBlue|width=500px|height=150px|title=This is the title|text=Here comes the text.}}
|