Screamer Wiki:Templates: Difference between revisions
imported>Screamer Nerd m (1 revision) |
mNo edit summary |
||
Line 1: | Line 1: | ||
There are many '''templates''' in use in {{SITENAME}}; these are only a subset, representing some of the most important and commonly used ones. If you feel that a template belongs on this page, do not hesitate to add it. | There are many '''templates''' in use in {{SITENAME}}; these are only a subset, representing some of the most important and commonly used ones. If you feel that a template belongs on this page, do not hesitate to add it. | ||
* [[:Category:Templates]] should cover all templates in the wiki | * [[:Category:Templates]] should cover all templates in the wiki. | ||
* The Template namespace (found from [[Special: | * The Template namespace (found from [[Special:AllPages]]) always has all templates in the wiki, sorted alphanumerically. | ||
== What are templates? == | == What are templates? == | ||
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. | 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| | Templates are generally shown with the format required to use the template (e.g. <code>{{t|delete}}</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: | '''Detailed instructions on the usage of each template should exist on:''' | ||
# '''a subpage using {{t|documentation}}'''; or | # '''a subpage using {{t|documentation}}'''; or | ||
# the template page itself (inside "noinclude" tags); or | # the template page itself (inside "noinclude" tags); or | ||
Line 16: | Line 15: | ||
For more information on templates, see [[Help:Templates]]. | For more information on templates, see [[Help:Templates]]. | ||
== | == Article management templates == | ||
=== Nominate an article for deletion === | === Nominate an article for deletion === | ||
{{t|delete}} | {{t|delete}} | ||
* Add this to an article to nominate it for deletion. It will add the article to [[:Category:Candidates for deletion]]. | * Add this to an article to nominate it for deletion. It will add the article to [[:Category:Candidates for deletion]]. | ||
=== Disambiguation articles === | === Disambiguation articles === | ||
{{t|disambig}} | {{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 afterwards. For example: | * 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 afterwards. For example: | ||
: '''The Prince''' | : '''The Prince''' <-- disambiguation page, with links to: | ||
:: The Prince (frog) | :: The Prince (frog) | ||
:: The Prince (human) | :: The Prince (human) | ||
Line 32: | Line 29: | ||
* For more information, see [[Help:Disambiguation]]. | * For more information, see [[Help:Disambiguation]]. | ||
== | == General wiki templates == | ||
=== T is for template === | === T is for template === | ||
Line 73: | Line 35: | ||
* This template allows you to show example template code (with a link to the templates) without using the template itself. It is used extensively on this page. | * This template allows you to show example template code (with a link to the templates) without using the template itself. It is used extensively on this page. | ||
== | == Where you may find more templates == | ||
* [[w:c:templates|Templates Wiki]] | |||
* | * Wikipedia; may be copied with the proper acknowledgment, but some need tweaking to work properly on Wikia, so use a Wikia version if possible. | ||
[[Category:Templates| ]] | [[Category:Templates| ]] | ||
Revision as of 23:45, 8 May 2018
There are many templates in use in Screamer Wiki; these are only a subset, representing some of the most important and commonly used ones. If you feel that a template belongs on this page, do not hesitate to add it.
- Category:Templates should cover all templates in the wiki.
- The Template namespace (found from Special:AllPages) always has all templates in the wiki, sorted alphanumerically.
What are templates?
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. {{delete}}
). 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:
- a subpage using {{documentation}}; or
- the template page itself (inside "noinclude" tags); or
- the template's talk page.
For more information on templates, see Help:Templates.
Article management templates
Nominate an article for deletion
{{delete}}
- Add this to an article to nominate it for deletion. It will add the article to Category:Candidates for deletion.
Disambiguation articles
{{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 afterwards. For example:
- The Prince <-- disambiguation page, with links to:
- The Prince (frog)
- The Prince (human)
- Using {{disambig}} marks an article as a disambiguation page by adding a banner to the article and categorizing it under Category:Disambiguations. Add links to the various articles under the banner.
- For more information, see Help:Disambiguation.
General wiki templates
T is for template
{{t}}
- This template allows you to show example template code (with a link to the templates) without using the template itself. It is used extensively on this page.
Where you may find more templates
- Templates Wiki
- Wikipedia; may be copied with the proper acknowledgment, but some need tweaking to work properly on Wikia, so use a Wikia version if possible.