Difference between revisions of "Template:ToolBox"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<table cellspacing="4" cellpadding="2" style="border: 1px solid #cedff2; background-color: #F9F9F9; clear: right; float: right; width: 25em; text-align: left; font-size: 88%; line-height: 1.5em; margin: .5em 0 .5em 1em">
 
<table cellspacing="4" cellpadding="2" style="border: 1px solid #cedff2; background-color: #F9F9F9; clear: right; float: right; width: 25em; text-align: left; font-size: 88%; line-height: 1.5em; margin: .5em 0 .5em 1em">
{{#if:{{{name|}}}|<caption style="font-size: 125%; font-weight: bold;">{{{name}}}</caption>}}
+
{{#if:{{{name|{{PAGENAME}}}}}|<caption style="font-size: 125%; font-weight: bold;">{{{name}}}</caption>}}
 
{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center">{{{image}}}</td></tr>}}
 
{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center">{{{image}}}</td></tr>}}
 
{{#if:{{{version|}}}|<tr><th>Current version:</th><td>{{{version}}}</td></tr>}}
 
{{#if:{{{version|}}}|<tr><th>Current version:</th><td>{{{version}}}</td></tr>}}
Line 13: Line 13:
 
<pre>
 
<pre>
 
{{ToolBox
 
{{ToolBox
| name    = <name of the tool>
+
| name    = <name of the tool; if not present then it uses a page name>
 
| version = <its latest public version>
 
| version = <its latest public version>
 
| author  = <who made this tool>
 
| author  = <who made this tool>

Revision as of 02:37, 31 December 2008

{{{name}}}

The ToolBox template is used to list informative facts about a tool in a box at the top right of its wiki page. To include it in an article, insert the following code at the beginning and fill in the <missing values>, without the angle brackets. All of them are optional, so you can delete the lines you have no data for.

{{ToolBox
| name    = <name of the tool; if not present then it uses a page name>
| version = <its latest public version>
| author  = <who made this tool>
| game    = <what game is it used for>
| genre   = <what type is it>
| site    = <link to official website>
| image   = [[Image:<image>|250px|<description>]]
}}