Help:Templates

From SC4D Encyclopaedia
Revision as of 07:48, 31 July 2008 by sc4e>Freedo50 (→‎Userpage Templates)
Jump to navigation Jump to search

A list of templates and reasons why you would use them, including appropriate locations, etc...

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 Languages:

English • Dutch (Nederlands) • French (français) • Japanese (日本語)


Curent Templates

here is a list of current templates in sections of their useage

Userpage Templates

Template Name What you type What you see Variables
SiteProfile {{SiteProfile| site = | id = | name = }} Include wiki code here
  • site - The name of the site.
  • id - Your user ID
  • name - (optional) can be added if you want your name to replace "My"
Userbox {{Userbox| site = | id = | name = }}
id info
For details of the userbox syntax, see the template decription page.

Infobox Templates

Template Name What you type What you see Variables
Infobox TGI {{Infobox TGI| name = | format =| type =| group =| instance =| comments = }}

Include wiki code here

  • name - The name of the TGI.
  • format -
  • type - The Type ID of the object, defines what file type the file is (?)
  • group - The Group ID of the object
  • instance - The Instance ID of the object
  • comments (optional) - Any comments on the TGI.
Infobox file {{infobox lot|type =|image1 =|image2 =|desc =|credits =|support =|download-site =|download-id =}}

Include wiki code here

Currently redirects to Template:Infobox lot
Infobox grow {{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 =}}

Include wiki code here

[[See Template:Infobox_grow#Syntax for details

Infobox lot {{infobox lot|type =|image1 =|image2 =|desc =|credits =|support =|download-site =|download-id =}}

Include wiki code here

  • type - the type of lot it is (either plop or grow).
  • image1 - an example image.
  • image2 - another example image.
  • desc - the lot description (readme)
  • credits - any credits
  • supports - any supporting acts
  • download-site - the download site
  • download-id - the download lot id
Infobox plop {{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 =}}

Include wiki code here

[[See Template:Infobox_plop#Syntax for details

Request/Marking Templates

Main article: Help:Marking Articles
  • Check
  • Cleanup
  • Complete
  • Expand
  • Inappropriate tone
  • Remove
  • Rename
  • Wikify

Language Templates

  • Languages
  • Languages/Lang
Template Name What you type What you see Variables
Language Bar {{languages|lang|lang|lang}} *lang (nultiple, optional) - the 2 character code of the language that there is a page for

Other Templates

  • Download
  • Main

How to Make a Template