The Sims Wiki:Templates: Difference between revisions

m
2 revisions imported
imported>A morris
mNo edit summary
m (2 revisions imported)
 
(18 intermediate revisions by 7 users not shown)
Line 7:
Wiki templates provide a means to insert the same content over and over in different (or the same) pages. This saves editors the hassle of duplicating the same text again and again, and also helps ensure consistency.
 
Templates are generally shown with the format required to use the template ''(e.g. <code>{{t|stub}}</code>).'' Clicking the template name takes you to the template's page, where you can see what it looks like and how it is used.
 
'''Detailed instructions on the usage of each template should exist on either the template page itself (inside "noinclude" tags) or a doc subpage.'''
 
== [[:Category:Infobox templates|Infoboxes]] ==
These infoboxes can be used on both canon and fanon articles. These templates automatically add categories to a page based on the information entered into them. These templates automatically apply either canon or fanon categories, depending on where they are used.
 
=== Game articles ===
{{T|GameInfobox game|...}}
* Add this to an article describing a game.
 
=== [[:Category:Bio templates|Sim articles]] ===
{{T|Infobox Sim1|...}}, {{T|Infobox Sim2|...}}, {{T|Infobox Sim3|...}}, or {{T|Sim3Infobox Sim4|...}}
*Add this to articles of premadeabout Sims. that only appear in a single game.
**For Sims appearing in ''[[The Sims]]'' (a.k.a. "The Sims 1") or its expansions, use {{t|Infobox Sim1}}
{{T|Unisim|...}}
**For Sims appearing in ''[[The Sims 2]]'' or its expansions, or in [[The Sims Stories]], use {{t|Infobox Sim2}}
*Add this to articles of premade Young Adult Sims from ''The Sims 2: University''
**For Sims appearing in ''[[The Sims 3]]'' or its expansions or downloadable content, use {{t|Infobox Sim3}}
 
**For Sims appearing in ''[[The Sims 4]]'' or any of its [[content pack]]s, use {{t|Infobox Sim4}}
All other premade Sims should have the following two templates:
**For Sims appearing in ''[[The Urbz: Sims in the City]]'' (for any platform), use {{t|Infobox Urb}}
{{T|Simbio-start|...}} and {{T|Simbio-end}}
**For Sims appearing in ''[[The Sims Medieval]]'' or its expansion, use {{t|Infobox medsim}}
 
Between those two templates may be any or all of the following depending on which game the Sim appears:
{{T|Simbio1|...}}, {{T|Simbio2|...}} , and {{T|Simbio3|...}}
 
For console versions add the "game" parameter with the name of the game. Ex. <nowiki>{{Simbio1|game=Bustin' Out|...}}</nowiki>
 
=== Pet articles ===
{{T|PetInfobox pet|...}}
* Add this to articles of premade pets.
 
=== Objects ===
{{T|ObjectInfobox object|...}}
* Add this to an article about an in-game object.
 
=== Neighborhood and world articles ===
{{T|NeighborhoodInfoboxInfobox neighborhood|...}}
*Add this to an article about a [[neighborhood]].
 
{{T|UnisimInfobox world|...}}
*Add this to an article about a [[world]].
 
=== Family articles ===
{{T|Infobox family1|...}}, {{T|Infobox family2|...}}, {{T|Infobox family3|...}}, or {{T|Infobox family4|...}}
{{T|Family|...}}
*Add this to an article about a premade family or household.
**For families or households appearing in ''[[The Sims]]'' (a.k.a. "The Sims 1") or its expansions, use {{T|Infobox family1}}
**For families or households appearing in ''[[The Sims 2]]'' or its expansions, or in [[The Sims Stories]], use {{t|Infobox family2}}
**For families or households appearing in ''[[The Sims 3]]'' or its expansions or downloadable content, use {{t|Infobox family3}}
**For families or households appearing in ''[[The Sims 4]]'' or any of its [[content pack]]s, use {{t|Infobox family4}}
 
== [[:Category:Article management templates|Article management templates]] ==
Line 53 ⟶ 58:
* Add this to an article to nominate it for deletion. It will add the article to [[:Category:Candidates for deletion]].
{{t|speedydelete|reason}}
* Add this to an article for pages that qualify for [[{{ns:project}}:CandidatesCriteria for speedy deletion|speedy deletion]].
 
=== Merging or splitting ===
Line 77 ⟶ 82:
{{t|stub}}
* When a page has little or no useful information, then it is likely a stub. This template will include them in [[:Category:Stubs]], and is used to list which articles need expanding.
 
You can find more specific stubs in the [[:Category:Stubs|stubs category]].
 
Articles that are blank or contain no useful information will be deleted.
 
{{t|expand}}
Line 103 ⟶ 112:
{{T|Clarify}}
* Placed after a word or statement needing to be clarified possibly because of a misspelling or awkward grammar.
 
{{T|Integrate}}
* For articles that need reorganizing.
 
{{T|Confirm}}
Line 112 ⟶ 118:
{{T|Fact}}
* The <code>{{T|Fact}}</code> template indicates that reference or verification is needed that the statement is true. If the statement is true give an outside source (using <code>{{T|cite web}}</code> where possible) or describe or provide a screenshot when or where it occurs in-game. If the statement is false, '''remove it completely'''. Do not use a strikethrough.
 
{{T|Integrate}}
* For articles that need reorganizing.
 
{{T|Supposition}}
* Statements tagged with this template are common conjecture, based off supposed evidence from canon sources - the statements themselves may or may not be true, but are included because they are generally believed to be true or have some basis in canon. A link to the article's talk page is included, for discussion of particularly dubious suppositions which may warrant being removed from the article altogether.
 
== Message templates ==
 
===Unreleased and newly released ===
If an article contains information about an unreleased or newly released product, the under development template should be used. To tag an article, add <code>{{t|under development|release type|game code}}</code>.
 
== User notification templates ==
{{Main|The Sims Wiki:Templates/usernotifications}}
 
User notification templates are a series of templates for use on user [[Help:talk page|talk page]]s to remind users of {{SITENAME}} policies and guidelines.
 
== [[:Category:Category templates|Category templates]] ==
Line 121 ⟶ 143:
{{t|templatecategory}}
* This should be added to any template-related categories, to list template-specific categorising details, which differ from those of normal pages.
 
=== Image category template ===
{{t|Imagecategory}}
* This should be added to image-related categories, to list instructions on uploading and including images in articles.
 
== [[:Category:General wiki templates|General wiki templates]] ==
Line 129 ⟶ 155:
* You can also use {{t|clrl}} or {{t|clrr}} to clear only left or right floats.
 
=== ForDisambiguation ===
{{t|fordistinguish|article name|link}}
* Use atto thelink topto ofanother articlesarticle asof a simple "for x see y"similar templatename.
 
{{t|for|other topic|article name}}
* Use link to another article of a similar name but a different topic. Produces ''For x see y.''
 
<nowiki>{{</nowiki>[[template:for|for]]|<span style="color:grey;">''<other topic>''</span>|<span style="color:grey;">''<article name>''</span>|<span style="color:grey;">redirect=''<same topic>''</span><nowiki>}}</nowiki>
* Use to indicate a topic that is redirected but also has different meanings. Produces ''"x" redirects here. For other meanings, see x (disambiguation).''
 
=== Main article ===
Line 159 ⟶ 191:
* Wikipedia-related templates. Use {{t|wikipedia}} for articles taken directly from Wikipedia, and {{t|wikipedia-deleted}} for articles deleted from Wikipedia.
 
[[Category:The Sims Wiki|{{PAGENAME}}]]
[[Category:Templates| ]]
[[Category:ThePolicies Simsand Wikiguidelines|{{PAGENAME}}]]