Template:BoxYellow: 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 #F8E47A; background:#FFFFF5; vertical-align:top; color:#000"|
|class="MainPageBG" style="border:1px solid #F8E47A; background:#FFFFF5; vertical-align:top; color:#000"|
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#FFFFF5;"
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#FFFFF5;"
{{#if: {{{title|}}} |
! <p style="margin:0; background:#FFFFCC; 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:#FFFFCC; 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>{{BoxYellow|[width=500px]|[height=250px]|title=Place title here|text={{:Page_to_include}}}}</nowiki>
== Usage ==
 
<code><nowiki>{{BoxYellow|[width=500px]|[height=250px]|[title=Place title here]|text={{:Page_to_include}}}}</nowiki></code>
 
== Example ==
 
<code><nowiki>{{BoxYellow|width=500px|height=150px|title=This is the title|text=Here comes the text.}}</nowiki></code>
 
{{BoxYellow|width=500px|height=150px|title=This is the title|text=Here comes the text.}}
</noinclude>
</noinclude>

Revision as of 15:23, 17 October 2017

{{{text}}}

Usage

{{BoxYellow|[width=500px]|[height=250px]|[title=Place title here]|text={{:Page_to_include}}}}

Example

{{BoxYellow|width=500px|height=150px|title=This is the title|text=Here comes the text.}}

This is the title

Here comes the text.