Difference between revisions of "Template:ToolBox"

From GTAMods Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
{{#if:{{{nextversion|}}}|<tr><th>Next version:</th><td>{{{nextversion}}}</td></tr>}}
 
{{#if:{{{nextversion|}}}|<tr><th>Next version:</th><td>{{{nextversion}}}</td></tr>}}
{{#if:{{{initialrelease|}}}|<tr><th>Initial release:</th><td>{{initialrelease}}}</td></tr>}}
+
{{#if:{{{initialrelease|}}}|<tr><th>Initial release:</th><td>{{{initialrelease}}}</td></tr>}}
 
{{#if:{{{devstatus|}}}|<tr><th>Development status:</th><td>{{{devstatus}}}</td></tr>}}
 
{{#if:{{{devstatus|}}}|<tr><th>Development status:</th><td>{{{devstatus}}}</td></tr>}}
 
{{#if:{{{languages|}}}|<tr><th>Languages:</th><td>{{{languages}}}</td></tr>}}
 
{{#if:{{{languages|}}}|<tr><th>Languages:</th><td>{{{languages}}}</td></tr>}}
Line 18: Line 18:
 
| genre  = <what type is it>
 
| genre  = <what type is it>
 
| site    = <link to official website>
 
| site    = <link to official website>
| image  = [[Image:<image>|150px|<description>]]
+
| image  = [[Image:<image>|250px|<description>]]
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 19:57, 17 February 2017

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. You can paste the template into an article by clicking Button Toolbox.png button on the edit toolbar.

{{ToolBox
| name    = <name of the tool; if not present then it uses a page name>
| version = <its latest public version>
| patrol  = special flag (values: yes/no)*
| date    = <its latest release date>
| 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>]]
}}
  • When the patrol flag is set (i.e. set to yes) and the article is not updated for 3 months, the red exclamation mark will appear warning that a new version has probably been released. Set this parameter to no to disable patrolling (useful for the tools that aren't updated anymore) (by default it's enabled).