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
Created page with "{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #C6CDD4; border-radius: 20px; background-color: (#{{{color|}}}); →‎Standard syntax: " ! width="55%" | width="10%" |{{#if:{{{image|}}}|[[{{{image}}}|x50px|link=]]}} |{{{text|}}} |}<noinclude> ===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...."
 
No edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| cellpadding="5" cellspacing="3" align="center" style="border:2px solid #C6CDD4; border-radius: 20px; background-color: (#{{{color|}}}); /* Standard syntax */" ! width="55%"
{| cellpadding="5" cellspacing="3" class="research" align="center" style="border:4px solid #4D4D4D; border-radius: 40px; /* Standard syntax */" ! width="65%"  
| width="10%" |{{#if:{{{image|}}}|[[{{{image}}}|x50px|link=]]}}
| style="width: 10%; padding-left: 20px;" |{{#if:{{{image|}}}|[[{{{image}}}|x40px|link=]]}}
|{{{text|}}}
|{{{text|}}}
|}<noinclude>
|}<noinclude>
Line 10: Line 10:
<pre>
<pre>
{{Box
{{Box
|color=
|image=
|image=
|text=
|text=
Line 16: Line 15:
</pre>
</pre>


''color:'' Color for the background. Should be hexadecimal.<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.

Latest revision as of 01:35, 27 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
|image=
|text=
}}

image: Filepath for the image, ex: File:ImageName.png
text: Text to be displayed.

Contents