More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{| cellpadding="5" cellspacing="3" align="center" style="border:4px solid #4D4D4D; border-radius: 40px; background-color: | {| cellpadding="5" cellspacing="3" align="center" style="border:4px solid #4D4D4D; border-radius: 40px; background-color: {{{color}}}; /* Standard syntax */" ! width="65%" | ||
| style="width: 10%; padding-left: 20px;" |{{#if:{{{image|}}}|[[{{{image}}}|x40px|link=]]}} | | style="width: 10%; padding-left: 20px;" |{{#if:{{{image|}}}|[[{{{image}}}|x40px|link=]]}} | ||
|{{{text|}}} | |{{{text|}}} | ||
Line 16: | Line 16: | ||
</pre> | </pre> | ||
''color:'' Color for the background. Should be hexadecimal.<br/> | ''color:'' Color for the background. Should be hexadecimal with #, variable is accepted.<br/> | ||
''image:'' Filepath for the image, ex: File:ImageName.png<br/> | ''image:'' Filepath for the image, ex: File:ImageName.png<br/> | ||
''text:'' Text to be displayed. | ''text:'' Text to be displayed. |
Revision as of 12:29, 13 September 2022
Usage
This is a basic template which can be modified to create a variety of simple Notice Templates. In most cases, it should be used in lieu of wikitext for uniformity.
{{Box |color= |image= |text= }}
color: Color for the background. Should be hexadecimal with #, variable is accepted.
image: Filepath for the image, ex: File:ImageName.png
text: Text to be displayed.