Template:Banner: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
imported>Wekhter
mNo edit summary
Line 1: Line 1:
{| cellspacing="5" cellpadding="0" class="banner {{#switch:{{{2}}}|blue=blue|red=red|purple=purple}} pixelfont" style="width:{{#switch:{{{3}}}|small=30%|medium=60%|big=90%}};font-size:{{#switch:{{{4}}}|small=16px|medium=20px|large=24px |custom={{{fontsize}}}|#default=20px}}"
<div class="banner {{#switch:{{{2}}}|blue=blue|red=red|purple=purple}} pixelfont" style="width:{{#switch:{{{3}}}|small=30%|medium=60%|big=90%}};font-size:{{#switch:{{{4}}}|small=16px|medium=20px|large=24px |custom={{{fontsize}}}|#default=20px}}"><div class="banner-inner">{{{1}}}</div></div><noinclude><pre>
| {{{1}}}
|}<noinclude><pre>
{{Banner|<text>|<color blue/red/purple>|<width small/medium/big>|<font small/medium/big/custom|fontsize=<fontsize if font set to custom>}}
{{Banner|<text>|<color blue/red/purple>|<width small/medium/big>|<font small/medium/big/custom|fontsize=<fontsize if font set to custom>}}
</pre></noinclude>
</pre></noinclude>

Revision as of 18:04, 17 November 2021

{{Banner|<text>|<color blue/red/purple>|<width small/medium/big>|<font small/medium/big/custom|fontsize=<fontsize if font set to custom>}}