Template:BoxYellow: Difference between revisions

From evermeet.cx Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{|style="width:{{{width}}};height:{{{height}}};border-spacing:8px;margin:0px -8px"
{|style="{{#if:{{{width|}}}|width:{{{width}}}; }} {{#if:{{{height|}}}|height:{{{height}}}; }} border-spacing:8px; margin:0px -8px"
|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;"
{|style="width:100%; border-spacing:5px; vertical-align:top; background:#FFFFF5;"
{{#if: {{{title|}}} |
{{#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>
! style="padding:2px;" {{!}} <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>
|
|
}}
}}

Latest revision as of 15:43, 28 February 2018

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