Difference between revisions of "Template:Box"

From Retro Modding Wiki
Jump to: navigation, search
(Let's give this a whirl)
 
m (whitespace)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
| width="10%" |{{#if:{{{image|}}}|[[{{{image}}}|x50px|link=]]}}
 
| width="10%" |{{#if:{{{image|}}}|[[{{{image}}}|x50px|link=]]}}
 
|{{{text|}}}
 
|{{{text|}}}
|}
+
|}<noinclude>
 +
 
  
<noinclude>
 
 
===Usage===
 
===Usage===
This is a basic template which can be modified to create a variety of simple [[:Category:Notice Templates|Notice Templates]].
+
This is a basic template which can be modified to create a variety of simple [[:Category:Notice Templates|Notice Templates]]. In most cases, it should be used in lieu of wikitext for uniformity.
  
 
<pre>
 
<pre>
Line 21: Line 21:
 
''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.
 +
 +
[[Category:Notice Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:20, 29 January 2015


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
|gradient1=
|gradient2= 
|image=
|text=
}}

gradient1: Starting color for the gradient background. Should be hexadecimal.
gradient2: Ending color for the gradient background. Should be hexadecimal.
image: Filepath for the image, ex: File:ImageName.png
text: Text to be displayed.