Template:BoxGreen: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(6 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 #cef2e0; background:#f5fffa; vertical-align:top; color:#000"| | ||
{| | {|style="width:100%; border-spacing:5px; vertical-align:top; background:#f5fffa;" | ||
! <p style="margin:0; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">{{{title}}}</p> | {{#if: {{{title|}}} | | ||
! style="padding:2px;" {{!}} <p style="margin:0; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; 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>{{BoxGreen|[width=500px]|[height=250px]|[title=Place title here]|text={{:Page_to_include}}}}</nowiki></code> | |||
== Example == | |||
<code><nowiki>{{BoxGreen|width=500px|height=150px|title=This is the title|text=Here comes the text.}}</nowiki></code> | |||
{{BoxGreen|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
{{BoxGreen|[width=500px]|[height=250px]|[title=Place title here]|text={{:Page_to_include}}}}
Example
{{BoxGreen|width=500px|height=150px|title=This is the title|text=Here comes the text.}}
|