Template:BoxGrey: Difference between revisions

From evermeet.cx Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|style="border-spacing:8px;margin:0px -8px"
{|style="width:{{{width}}};height:{{{height}}};border-spacing:8px;margin:0px -8px"
|class="MainPageBG" style="width:{{{width}}}; height:{{{height}}}; 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}}}
|-
|-
|}
|}
|}
|}<noinclude>
<noinclude>
== Usage ==
Usage: <nowiki>{{BoxGrey|[width=500px]|[height=250px]|title=Place title here|text={{:Page_to_include}}}}</nowiki>
 
<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>

Latest revision as of 13:09, 19 October 2017

{{{text}}}

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.}}

This is the title

Here comes the text.