Difference between revisions of "Help:Templates"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (→‎Userpage Templates: Added table entry)
sc4e>JoeST
m (→‎Infobox Templates: added tables for the infoboxes (except the view themselves, and infobox TGI which needs editing to get the correct <noinclude> structure anyway :))
Line 44: Line 44:
 
*Infobox lot
 
*Infobox lot
 
*Infobox plop
 
*Infobox plop
 +
{| border="1" cellspacing="0" cellpadding="5"
 +
! style="background:#A0C0F0;"| Template Name
 +
! style="background:#A0C0F0;"| What you type
 +
! style="background:#A0C0F0;"| What you see
 +
! style="background:#A0C0F0;"| Variables
 +
|-
 +
| [[Template:infobox TGI|Infobox TGI]]
 +
| Syntax
 +
|
 +
Include wiki code here
 +
| *'''option1''' - info on option
 +
|-
 +
| [[Template:infobox file|Infobox file]]
 +
| <nowiki>{{infobox lot|type =|image1 =|image2 =|desc =|credits =|support =|download-site =|download-id =}}</nowiki>
 +
|
 +
Include wiki code here
 +
|Currently redirects to [[Template:Infobox lot]]
 +
|-
 +
| [[Template:infobox grow|Infobox grow]]
 +
| <nowiki>{{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 =}}</nowiki>
 +
|
 +
Include wiki code here
 +
|
 +
[[See [[Template:Infobox_grow#Syntax]] for details
 +
|-
 +
| [[Template:infobox lot|Infobox lot]]
 +
| <nowiki>{{infobox lot|type =|image1 =|image2 =|desc =|credits =|support =|download-site =|download-id =}}</nowiki>
 +
|
 +
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
 +
|-
 +
| [[Template:infobox plop|Infobox plop]]
 +
| <nowiki>{{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 =}}</nowiki>
 +
|
 +
Include wiki code here
 +
|
 +
[[See [[Template:Infobox_plop#Syntax]] for details
 +
|}
  
 
==Request/Marking Templates==
 
==Request/Marking Templates==

Revision as of 05:31, 30 July 2008

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

Blank Table

{| border="1" cellspacing="0" cellpadding="5"
! style="background:#A0C0F0;"| Template Name
! style="background:#A0C0F0;"| What you type
! style="background:#A0C0F0;"| What you see
! style="background:#A0C0F0;"| Variables
ADD ROWS HERE
|}

Blank Row

|-
| [[Template:|Template name]]
| Syntax
| 
Include wiki code here
| *'''option1''' - info on option

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"

Infobox Templates

  • Infobox TGI
  • Infobox file
  • Infobox grow
  • Infobox lot
  • Infobox plop
Template Name What you type What you see Variables
Infobox TGI Syntax

Include wiki code here

*option1 - info on option
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