The Sims Wiki:Templates: Difference between revisions

m
2 revisions imported
imported>A morris
m (2 revisions imported)
 
(25 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 thea template'sdoc talk pagesubpage.'''
 
== [[: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|Infobox 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|Infobox Sim4|...}}
*Add this to articles about Sims.
**For Sims appearing in ''[[The Sims]]'' (a.k.a. "The Sims 1") or its expansions, use {{t|Infobox Sim1}}
**For Sims appearing in ''[[The Sims 2]]'' or its expansions, or in [[The Sims Stories]], use {{t|Infobox Sim2}}
**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}}
**For Sims appearing in ''[[The Urbz: Sims in the City]]'' (for any platform), use {{t|Infobox Urb}}
**For Sims appearing in ''[[The Sims Medieval]]'' or its expansion, use {{t|Infobox medsim}}
 
=== Pet articles ===
{{T|Infobox pet|...}}
* Add this to articles of premade pets.
 
=== Objects ===
{{T|Infobox object|...}}
* Add this to an article about an in-game object.
 
=== Neighborhood and world articles ===
{{T|Infobox neighborhood|...}}
*Add this to an article about a [[neighborhood]].
 
{{T|Infobox world|...}}
*Add this to an article about a [[world]].
 
=== Family articles ===
{{T|Infobox family1|...}}, {{T|Infobox family2|...}}, {{T|Infobox family3|...}}, or {{T|Infobox family4|...}}
*Add this to an article about a 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]] ==
=== Nominate an article for deletion ===
Only [[The Sims Wiki:Administrators|administrator]]s can delete pages. Other users may nominate articles for deletion.
 
{{t|delete|reason}}
* 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 ===
{{t|merge|mergepage}}
{{t|merge|mergepage|reason}}
* Add this to an article to nominate it for deletion after its content has been added to an existing page. It will add the article to [[:Category:Articles for merging]].
* If an article is a stub or a the information is part of a larger topic it may benefit by merging its contents to an existing page. It will add the article to [[:Category:Articles for merging]].
 
{{t|Split|reason}}
* If you think a large article would benefit being split use this template. It can also be used when information about two unrelated things that have a similar name have been added to the same article.
 
=== Moving articles ===
Although anyone can move an article, you may want to get consensus from the community before moving an article. To do this you can tag it with the {{t|Move}} template.
 
=== Disambiguation articles ===
{{t|disambig}}
* If you have several articles that have similar or identical names, you may wish to create a "disambiguation" page at the main article name, with the articles taking an extra phrase in brackets afterwardsafterward. For example:
: '''[[The Prince]]''' <-- disambiguation page, with links to:
:: [[The Prince (frog)]]
Line 33 ⟶ 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}}
* Expand can be used to indicate a section that requires expanding.
 
=== Missing info ===
{{t|Missing-info}}
* Add this to a page if theirthere is missing information fromabout a Sim'sspecific biotitle or topic. This adds the article to a sub-category of [[:Category:MissingArticles needing infoimprovement]] depending on what info is missing.
 
{{t|Missing-Sim-info}}
* Add this to a page if there is missing information from a Sim's bio. This adds the article to a sub-category of [[:Category:Missing info]] depending on what info is missing.
 
{{t|Needs-infobox}}
*Add this to a page if it is missing an infobox. This will add the article to [[:Category:Needs infobox]].
 
{{t|Needs-image}}
* Add this to a page if it is missing an image of the subject. It will add the article to [[:Category:Articles requiring images]].
 
{{t|Needs-headshot}}
* Add this to a page if it is missing an image of a Sim. It will add the article to [[:Category:Needs head shot]].
 
=== Articles needing improvement ===
{{t|Cleanup|reason}}
* A general template
 
{{T|Clarify}}
* Placed after a word or statement needing to be clarified possibly because of a misspelling or awkward grammar.
 
{{T|Confirm}}
* Statements that are tagged with this template do not need to be cited by an outside source but should be confirmed by a trustworthy player or consensus.
 
{{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 52 ⟶ 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 60 ⟶ 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 90 ⟶ 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:Policies and guidelines|{{PAGENAME}}]]