Template:BoxBlue: Difference between revisions

From evermeet.cx Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
|class="MainPageBG" style="border:1px solid #cedff2; background:#f5faff; vertical-align:top; color:#000"|
|class="MainPageBG" style="border:1px solid #cedff2; background:#f5faff; vertical-align:top; color:#000"|
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#f5faff;"
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#f5faff;"
{{#if: {{{title|}}} |
! <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>
! <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}}}
Line 9: Line 12:
|}
|}
<noinclude>
<noinclude>
Usage: <nowiki>{{BoxBlue|[width=500px]|[height=250px]|title=Place title here|text={{:Page_to_include}}}}</nowiki>
== 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>

Revision as of 15:19, 17 October 2017

{{{text}}}

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

This is the title

Here comes the text.