Template:BoxGrey: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|class="MainPageBG" style="border:1px solid #ddd; background:#f9f9f9; vertical-align:top; color:#000"| | |class="MainPageBG" style="border:1px solid #ddd; background:#f9f9f9; vertical-align:top; color:#000"| | ||
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#f9f9f9;" | {|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#f9f9f9;" | ||
{{#if: {{{title|}}} | | |||
! <p style="margin:0; background:#eee; font-size:120%; font-weight:bold; border:1px solid #afa3bf; text-align:left; color:#000; padding:0.2em 0.4em;">{{{title}}}</p> | ! <p style="margin:0; background:#eee; font-size:120%; font-weight:bold; border:1px solid #afa3bf; text-align:left; color:#000; padding:0.2em 0.4em;">{{{title}}}</p> | ||
| | |||
}} | |||
|- | |- | ||
|style="color:#000"|{{{text}}} | |style="color:#000"|{{{text}}} | ||
Line 9: | Line 12: | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
Usage | == Usage == | ||
<code><nowiki>{{BoxGrey|[width=500px]|[height=250px]|[title=Place title here]|text={{:Page_to_include}}}}</nowiki></code> | |||
== Example == | |||
<code><nowiki>{{BoxGrey|width=500px|height=150px|title=This is the title|text=Here comes the text.}}</nowiki></code> | |||
{{BoxGrey|width=500px|height=150px|title=This is the title|text=Here comes the text.}} | |||
</noinclude> | </noinclude> |
Revision as of 15:25, 17 October 2017
|
Usage
{{BoxGrey|[width=500px]|[height=250px]|[title=Place title here]|text={{:Page_to_include}}}}
Example
{{BoxGrey|width=500px|height=150px|title=This is the title|text=Here comes the text.}}
|