Difference between revisions of "Template:ToolBox"
Jump to navigation
Jump to search
(another try) |
(yay, auto-categories for games) |
||
Line 4: | Line 4: | ||
{{#if:{{{version|}}}|<tr><th>Current version:</th><td>{{{version}}}</td></tr>}} | {{#if:{{{version|}}}|<tr><th>Current version:</th><td>{{{version}}}</td></tr>}} | ||
{{#if:{{{author|}}}|<tr><th>Developed by:</th><td>{{{author}}}</td></tr>}} | {{#if:{{{author|}}}|<tr><th>Developed by:</th><td>{{{author}}}</td></tr>}} | ||
− | {{#if:{{{game|}}}|<tr><th>Supported games:</th><td>[[:Category:{{{game}}}]]</td></tr>}} | + | {{#if:{{{game|}}}|<tr><th>Supported games:</th><td>[[:Category:{{{game}}}|{{{game}}}]]</td></tr>}} |
{{#if:{{{genre|}}}|<tr><th>Type:</th><td>{{{genre}}}</td></tr>}} | {{#if:{{{genre|}}}|<tr><th>Type:</th><td>{{{genre}}}</td></tr>}} | ||
{{#if:{{{site|}}}|<tr><th>Website:</th><td>{{{site}}}</td></tr>}} | {{#if:{{{site|}}}|<tr><th>Website:</th><td>{{{site}}}</td></tr>}} | ||
Line 16: | Line 16: | ||
| version = <its latest public version> | | version = <its latest public version> | ||
| author = <who made this tool> | | author = <who made this tool> | ||
− | | game = <what game is it used for> | + | | game = <what game is it used for *1> |
| genre = <what type is it> | | genre = <what type is it> | ||
| site = <link to official website> | | site = <link to official website> | ||
Line 22: | Line 22: | ||
}} | }} | ||
</pre> | </pre> | ||
+ | <nowiki>*1</nowiki>: due to auto-categorization use only values of GTA 1, GTA 2, GTA 3, GTA VC, GTA SA, GTA LCS, GTA VCS, GTA 4 | ||
</noinclude> | </noinclude> |
Revision as of 03:14, 31 December 2008
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 *1> | genre = <what type is it> | site = <link to official website> | image = [[Image:<image>|250px|<description>]] }}
*1: due to auto-categorization use only values of GTA 1, GTA 2, GTA 3, GTA VC, GTA SA, GTA LCS, GTA VCS, GTA 4