Difference between revisions of "Template:Help:Templates"
sc4e>Freedo50 (Added userbox template parameter description) |
sc4e>Freedo50 (Added siteprofile example) |
||
Line 20: | Line 20: | ||
| {{tll|SiteProfile}} | | {{tll|SiteProfile}} | ||
| <nowiki>{{SiteProfile| site = | id = | name = }}</nowiki> | | <nowiki>{{SiteProfile| site = | id = | name = }}</nowiki> | ||
− | | | + | | {{Userbox |float=right |border-c=#000000 |border-s=1 |id-c={{#switch: {{lc:sc4d}} |
+ | | sc4d = #000 | ||
+ | | lex = #000 | ||
+ | | #fff}} |id-s=12 |id-fc=#000 |info-c=#FFFF99 |info-s=8 |info-fc=#000000 |id=[[Image:{{#switch: {{lc:sc4d}} | ||
+ | | sc4d = SC4D_logo_box.png | ||
+ | | st = ST_logo_box.png | ||
+ | | stex = ST_logo_box.png | ||
+ | | lex = SC4D_logo_box.png | ||
+ | | peg = PEG_logo.png | ||
+ | | tpp = Tpp_logo.png | ||
+ | | tppex = Tpp_logo.png}}|35px]]|info={{#switch: {{lc:sc4d}} | ||
+ | | sc4d = [http://sc4devotion.com/forums/index.php?action=profile;u=11 {{#if: Freedo50|Freedo50's|My}} SC4D Profile] | ||
+ | | st = [http://www.simtropolis.com/forum/tombstone.cfm?ProfileID=11 {{#if: Freedo50|Freedo50's|My}} ST profile] | ||
+ | | stex = [http://www.simtropolis.com/stex/index.cfm?page=1&Keyword=11&view=all {{#if: Freedo50|Freedo50's|My}} STEX Downloads] | ||
+ | | lex = [http://www.sc4devotion.com/csxlex/lex_search_00.php?pNO=1&sSTATEMENT=USRID='11' {{#if: Freedo50|Freedo50's|My}} LEX Downloads] | ||
+ | | peg = [http://simpeg.com/forum/index.php?action=profile;u=11 {{#if: Freedo50|Freedo50's|My}} SimPeg Profile] | ||
+ | | tpp = [http://www.theplanningpages.com/community/member.php?u=11 {{#if: Freedo50|Freedo50's|My}} TPP Profile] | ||
+ | | [[User:11| {{#if: Freedo50|Freedo50's|My}} Wiki Profile]]}}}} | ||
| | | | ||
*'''site''' - The name of the site | *'''site''' - The name of the site |
Revision as of 14:53, 22 August 2008
A list of templates and reasons why you would use them, including appropriate locations, etc...
Contents
How to Use a Template
To use a template in a document just include the code in the What you type column in the tables below. Or use the info under the Syntax heading on the template page itself. Remember to fill in all the parameters associated with the template, or it wont display properly.
For example, to include the Language template (on a page with Dutch, French and Japanese translations):
{{Languages|nl|fr|ja}}
will look like this:
Languages: |
English • Dutch (Nederlands) • French (français) • Japanese (日本語)
|
Curent Templates
The the sections below show all of the templates currently available on the wiki.
Userpage Templates
Template Name | What you type | What you see | Variables | ||
---|---|---|---|---|---|
{{SiteProfile| site = | id = | name = }} |
| ||||
{{Userbox | border-c = | border-s = | id-c = | id-s = | id-fc = | id-fs = | id-p = | id-lh = | info-c = | info-s = | info-fc = | info-fs = | info-p = | info-lh = | id = | info = }} |
|
|
Infobox Templates
Template Name | What you type | What you see | Variables |
---|---|---|---|
{{Infobox TGI | name = | format = | type = | group = | instance = | comments = }} |
See the template description for details |
| |
{{infobox lot |type = |image1 = |image2 = |desc = |credits = |support = |download-site = |download-id = }} |
See the template description for details |
| |
{{infobox grow |download-site = |download-id = |image1 = |image2 = |desc = |credits = |support = |size = |style = |type = |stage = |occupants = |worth = |bulldoze-cost = |construction-time = |fire = |power = |water = |air-mag = |air-spr = |water-mag = |water-spr = |garbage-mag = |garbage-spr = |depend = }} |
See the template description for details |
| |
{{infobox plop |download-site = |download-id = |image1 = |image2 = |desc = |credits = |support = |size = |menu = |jobs = |plop-cost = |monthly-cost = |bulldoze-cost = |park-mag = |park-spr = |landmark-mag = |landmark-spr = |fire = |power = |water = |air-mag = |air-spr = |water-mag = |water-spr = |garbage-mag = |garbage-spr = |depend = }} |
See the template description for details |
|
Request/Marking Templates
Template Name | What you type | What you see | Variables | ||
---|---|---|---|---|---|
{{current}} |
|
N/A | |||
{{review}} |
|
N/A | |||
{{expand}} |
|
N/A | |||
{{stub|extracontent}} |
|
extracontent: any information relating to what particular information is required. | |||
{{sectstub|extracontent}} | extracontent: any information relating to what particular information is required. | ||||
{{inappropriate tone}} |
|
N/A | |||
{{wikify}} |
|
N/A | |||
{{external}} |
|
N/A | |||
{{globalize}} |
|
N/A | |||
{{cleanup}} |
|
N/A | |||
{{rename|newname|reason}} |
|
rename: your suggestion for the new name of the article
| |||
{{remove|reason}} |
|
reason: why you think the article is no longer necessary |
Language Templates
Template Name | What you type | What you see | Variables | |||
---|---|---|---|---|---|---|
{{languages |lang1 |lang2 |lang3 |lang4 ... |lang19 }} |
|
*lang (multiple, optional) - the 2 character code of the languages where a translation of this page is available. The code for English (en) does not need to be inlcuded, its presence is assumed by the template. |