Template:Notice: Difference between revisions
From Inkipedia, the Splatoon wiki
(File no longer necessary thanks to FunPL) |
m (Preventing an apostrophe from appearing when a header is not specified) |
||
Line 1: | Line 1: | ||
{| align="center" cellpadding="1px" style="border: 3px solid {{{border|rgb({{Sitecolor|Generic}})}}}; width:{{{width|60%}}}; {{roundy}}" | {| align="center" cellpadding="1px" style="border: 3px solid {{{border|rgb({{Sitecolor|Generic}})}}}; width:{{{width|60%}}}; {{roundy}}" | ||
|style="padding:0px 0px 0px 5px; width:{{#if: {{{file|}}} | {{{filesize|60px}}} | 0%; display:none}};"|{{#if: {{{file|}}} | [[File:{{{file|}}}|{{{filesize|60px}}}|link=]]}} | |style="padding:0px 0px 0px 5px; width:{{#if: {{{file|}}} | {{{filesize|60px}}} | 0%; display:none}};"|{{#if: {{{file|}}} | [[File:{{{file|}}}|{{{filesize|60px}}}|link=]]}} | ||
|style="padding:8px 8px 0px 8px;"|<span style="font-size: 12pt;"> | |style="padding:8px 8px 0px 8px;"|<span style="font-size: 12pt; font-weight: bold;">{{{header|}}}</span><br> | ||
<span style="font-size: 10pt;">{{{content|}}}</span> | <span style="font-size: 10pt;">{{{content|}}}</span> | ||
|}<noinclude> | |}<noinclude> |
Revision as of 22:33, 6 January 2021
|
Usage
Syntax: {{notice|border=|width=|file=|filesize=|header=|content=}}
Example: {{notice|file=Example.jpg|filesize=60px|header=Under Construction|content=This article is under construction.}}
Use this template to create other Notice Templates.
width is an optional parameter that defines the width of the notice box. Defaults to 60%.