Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Box: Difference between revisions

Template page
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: #{{{color}}}; /* Standard syntax */" ! width="55%"  
{| cellpadding="5" cellspacing="3" align="center" style="border:4px solid #4D4D4D; border-radius: 40px; background-color: #{{{color}}}; /* Standard syntax */" ! width="55%"  
|width="10%" |{{#if:{{{image|}}}|[[{{{image}}}|x70px|link=]]}}
|width="10%" |{{#if:{{{image|}}}|[[{{{image}}}|x40px|link=]]}}
|{{{text|}}}
|{{{text|}}}
|}<noinclude>
|}<noinclude>
Line 11: Line 11:
{{Box
{{Box
|color=
|color=
|image=
|text=
|text=
}}
}}

Revision as of 18:08, 12 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.
image: Filepath for the image, ex: File:ImageName.png
text: Text to be displayed.

Contents