Difference between revisions of "Template:ToolBox"

From GTAMods Wiki
Jump to navigation Jump to search
m (testing to fix problem)
m (testing)
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"><caption style="font-size: 125%; font-weight: bold;">{{{name|{{PAGENAME}}}}}</caption>
 
<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"><caption style="font-size: 125%; font-weight: bold;">{{{name|{{PAGENAME}}}}}</caption>
{{#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:{{{author|}}}|<tr><th>Developed by:</th><td>{{{author}}}</td></tr>}}{{#if:{{{game|}}}|<tr><th>Supported games:</th><td>{{{game}}}</td></tr>}}{{#if:{{{genre|}}}|<tr><th>Type:</th><td>{{{genre}}}</td></tr>}}{{#if:{{{site|}}}|<tr><th>Website:</th><td>{{{site}}}</td></tr>}}</table>[[Category:Tools]]
+
{{#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:{{{author|}}}|<tr><th>Developed by:</th><td>{{{author}}}</td></tr>}}{{#if:{{{game|}}}|<tr><th>Supported games:</th><td>{{{game}}}</td></tr>[[Category:{{{game}}}]]}}{{#if:{{{genre|}}}|<tr><th>Type:</th><td>{{{genre}}}</td></tr>}}{{#if:{{{site|}}}|<tr><th>Website:</th><td>{{{site}}}</td></tr>}}</table>[[Category:Tools]]
 
<noinclude>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.
 
<noinclude>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.
  

Revision as of 02:39, 12 January 2009

ToolBox

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>]]
}}