Difference between revisions of "Template:ToolBox"

From GTAMods Wiki
Jump to navigation Jump to search
m (talk fix)
(Date field added)
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>}}<tr><td colspan="2" align=right>
+
{{#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:{{{date|}}}|<tr><th>Released on:</th><td>{{{date}}}</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>}}<tr><td colspan="2" align=right>
 
----
 
----
 
<span style="font-size:80%;" title="View this template">[[Template:ToolBox|view]]</span>&nbsp;&middot;&nbsp;<span style="font-size:80%;" title="Discussion about this template">[[Template talk:ToolBox|talk]]</span>&nbsp;&middot;&nbsp;<span style="font-size:80%;" class="plainlinks" title="Edit this template">[{{fullurl:{{ns:10}}:ToolBox|action=edit}} edit]</span></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.
 
<span style="font-size:80%;" title="View this template">[[Template:ToolBox|view]]</span>&nbsp;&middot;&nbsp;<span style="font-size:80%;" title="Discussion about this template">[[Template talk:ToolBox|talk]]</span>&nbsp;&middot;&nbsp;<span style="font-size:80%;" class="plainlinks" title="Edit this template">[{{fullurl:{{ns:10}}:ToolBox|action=edit}} edit]</span></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.
Line 8: Line 8:
 
| name    = <name of the tool; if not present then it uses a page name>
 
| name    = <name of the tool; if not present then it uses a page name>
 
| version = <its latest public version>
 
| version = <its latest public version>
 +
| date    = <its latest release date>
 
| author  = <who made this tool>
 
| author  = <who made this tool>
 
| game    = <what game is it used for>
 
| game    = <what game is it used for>

Revision as of 07:24, 25 January 2009

ToolBox

view · talk · edit

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