Difference between revisions of "Template:Resource tgi"
From SimsWiki
(Added note for "ep") |
(Added option to change template title (defaults to article name) and some rewording) |
||
Line 1: | Line 1: | ||
− | <table class="infobox" style="width: 0%; font-size: 95%; text-align: left;" cellpadding="2"> | + | <noinclude><!--</noinclude><table class="infobox" style="width: 0%; font-size: 95%; text-align: left;" cellpadding="2"> |
<tr> | <tr> | ||
− | <th colspan="2" style="background-color: #ddddee; text-align: center; font-size: 120%;">{{FULLPAGENAME}}</th> | + | <th colspan="2" style="background-color: #ddddee; text-align: center; font-size: 120%;">{{{hex code|{{FULLPAGENAME}}}}}</th> |
</tr>{{if|test={{{ep|}}}|then=<tr> | </tr>{{if|test={{{ep|}}}|then=<tr> | ||
<th style="background-color: #eeeeee;">[[Expansion Pack|Introduced]]:</th><td>{{{ep}}}</td> | <th style="background-color: #eeeeee;">[[Expansion Pack|Introduced]]:</th><td>{{{ep}}}</td> | ||
Line 11: | Line 11: | ||
<td>{{{long|''none''}}}</td> | <td>{{{long|''none''}}}</td> | ||
</tr> | </tr> | ||
− | </table> | + | </table><noinclude>--> |
− | <noinclude> | + | {{{{FULLPAGENAME}} |
+ | |hex code = ''hex code'' | ||
+ | |ep = ''ep'' | ||
+ | |short = ''short'' | ||
+ | |long = ''long'' | ||
+ | }} | ||
== Usage == | == Usage == | ||
Line 18: | Line 23: | ||
<pre> | <pre> | ||
{{Resource tgi | {{Resource tgi | ||
+ | |hex code = | ||
|ep = | |ep = | ||
|short = | |short = | ||
Line 26: | Line 32: | ||
All options are optional. Below is a summary of the options: | All options are optional. Below is a summary of the options: | ||
+ | ;hex code | ||
+ | :Used to change the box's title from the article's name to something else. | ||
;ep | ;ep | ||
− | :Expansion pack (etc) this resource type was first introduced in. Do not include if it was | + | :Expansion pack (etc) this resource type was first introduced in. Do not include if it was included in the base game. |
;short | ;short | ||
:Short name for resource. Usually no more than 4 characters. | :Short name for resource. Usually no more than 4 characters. | ||
;long | ;long | ||
− | :Long name of resource. Descriptive, but not a | + | :Long name of resource. Descriptive, but not a sentence. |
</noinclude> | </noinclude> |
Revision as of 19:29, 3 August 2006
hex code | |
---|---|
Short name: | short |
Long name: | long |
Usage
{{Resource tgi |hex code = |ep = |short = |long = }}
All options are optional. Below is a summary of the options:
- hex code
- Used to change the box's title from the article's name to something else.
- ep
- Expansion pack (etc) this resource type was first introduced in. Do not include if it was included in the base game.
- short
- Short name for resource. Usually no more than 4 characters.
- long
- Long name of resource. Descriptive, but not a sentence.