Template:Otheruses templates: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
(New page: <noinclude><center> {| class="messagebox" style="width:80%; border:1px solid #c0c090; background:#f8eaba; margin:2px 4px 2px 4px;" |- style="vertical-align:top;" |align="center" style="wid...)
 
(fix some broken links)
 
Line 1: Line 1:
<noinclude><center>
<noinclude>See link on Wikipedia: http://en.wikipedia.org/wiki/Template:Other_uses
{| class="messagebox" style="width:80%; border:1px solid #c0c090; background:#f8eaba; margin:2px 4px 2px 4px;"
|- style="vertical-align:top;"
|align="center" style="width:60px; padding:1ex;"| [[Image:Edit-paste.svg|none|40px]]
| '''This is template documentation box for all of the Otheruses templates.'''<br/><hr/>Such templates are not necessarily intended to be viewed directly. If they use [[w:Help:Variable|variable]]s, some links may appear broken. Do not replace these variables with [[w:Hardcoded|hardcoded]] page names or URLs.
|}<br/><hr/>
</center>
</noinclude><!--
----
Note this page is apparently included by a whole list of /doc pages, So this should work through and tag them all properly, asssuming they are formated the same ways.
----
---><div class="messagebox" style="padding:1em;"><div style="float: right; padding: 0 1em;">{{tnavbar|otheruses templates}}</div>
== Otheruses templates ==
To discuss these templates as a whole, please see [[Wikipedia talk:Disambiguation]]  If you wish to discuss general wordings, rather than the wording or formatting of this specific template, don't post here, or else what you say will probably go unnoticed.
 
For a summary page on how to use these templates, see [[Wikipedia:Otheruses templates (example usage)]].
 
=== Generic ===
* <code>{{[[Template:Dablink|Dablink]]|TEXT}}</code>: {{dablink|TEXT}}
::For example, <nowiki>{{dablink|For other senses of this term, see [[etc...]]}}</nowiki>. This template is adaptable, but fails to standardize [[Wikipedia:hatnotes|hatnotes]].
 
=== Otheruses ===
''Note: All of these templates except {{[[Template:Two other uses|Two other uses]]}} are special cases of {{[[Template:Otheruses4|Otheruses4]]}}''
* <code>{{[[Template:Otheruses|otheruses]]}}</code> (disambiguous): {{otheruses}}
* <code>{{[[Template:Otheruses1|otheruses1]]|USE}}</code> (disambiguous): {{otheruses1|USE}}
* <code>{{[[Template:This|This]]|USE|PAGE}}</code>: {{this|USE|PAGE}}
* <code>{{[[Template:Otheruses2|otheruses2]]|PAGE}}</code> (disambiguous): {{otheruses2|PAGE}}
* <code>{{[[Template:Otheruses3|otheruses3]]|PAGE}}</code>: {{otheruses3|PAGE}}
* <code>{{[[Template:Otheruses4|otheruses4]]|USE1}}</code> (disambiguous): {{otheruses4|USE1}}
* <code>{{[[Template:Otheruses4|otheruses4]]|USE1|USE2}}</code>: {{otheruses4|USE1|USE2}}
* <code>{{[[Template:Otheruses4|otheruses4]]|USE1|USE2|PAGE2}}</code>: {{otheruses4|USE1|USE2|PAGE2}}
* <code>{{[[Template:Otheruses5|otheruses5]]}}</code>: {{otheruses5}} (this is for when there are both a singular and plural disambiguation page; only works when the plural is formed simply by adding "s" at the end.)
* <code>{{[[Template:Otheruses6|otheruses6]]|PAGE1|PAGE2}}</code>: {{otheruses6|PAGE1|PAGE2}} (for when there are two disambiguation pages, such as noun and adjective, or singular and irregular plural; there are only two parameters, they are required, and they do not auto-add "(disambiguation)")
* <code>{{[[Template:Two other uses|Two other uses]]|USE1|USE2|PAGE2|USE3|PAGE3}}</code> (fully-specified): {{Two other uses|USE1|USE2|PAGE2|USE3|PAGE3}}
:* <code>{{[[Template:Two other uses|Two other uses]]||USE2|PAGE2||}}</code> (all parameters except second and third are optional; however, omitting both the first and fourth values creates ambiguity, so please avoid):
:: {{Two other uses||USE2|PAGE2||}}
* <code>{{[[Template:Three other uses|Three other uses]]|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4}} </code>
:{{Three other uses|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4}}
::(similar to <nowiki>{{Two other uses}}</nowiki> but displays three alternate uses instead of two)
 
==== Other people ====
* <code>{{[[Template:Otherpersons|otherpersons]]}}</code> (disambiguous): {{Otherpersons}}
* <code>{{[[Template:Otherpersons|otherpersons]]|USE}}</code> (disambiguous): {{Otherpersons|USE}}
* <code>{{[[Template:Otherpersons|otherpersons]]|USE|PAGE}}</code>: {{Otherpersons|USE|PAGE}}
* <code>{{[[Template:Otherpeople2|otherpeople2]]|PAGE}}</code>: {{Otherpeople2|PAGE}}
* <code>{{[[Template:Otherpeople3|otherpeople3]]|USE1|USE2}}</code>: {{Otherpeople3|USE1|USE2}}
* <code>{{[[Template:Otherpeople4|otherpeople4]]|USE1|USE2|PAGE}}</code>: {{Otherpeople4|USE1|USE2|PAGE}}
 
==== Otherhurricaneuses ====
: For articles on [[storm]]s.
* <code>{{[[Template:Otherhurricaneuses|otherhurricaneuses]]}}</code> (disambiguous): {{Otherhurricaneuses}}
* <code>{{[[Template:Otherhurricaneuses|otherhurricaneuses]]|DISAMBIG}}</code>: {{Otherhurricaneuses|DISAMBIG}}
* <code>{{[[Template:Otherhurricaneuses|otherhurricaneuses]]|DISAMBIG|THIS}}</code>: {{Otherhurricaneuses|DISAMBIG|THIS}}
* <code>{{[[Template:Otherhurricaneuses3|otherhurricaneuses3]]|USE1|USE2|MAIN}}</code>: {{Otherhurricaneuses3|USE1|USE2|MAIN}}
 
=== For (other topic) ===
* <code>{{[[Template:For|For]]}}</code> (disambiguous): {{for}}
* <code>{{[[Template:For|For]]|OTHER TOPIC}}</code> (disambiguous): {{for|OTHER TOPIC}}
* <code>{{[[Template:For|For]]|OTHER TOPIC|PAGE}}</code>: {{for|OTHER TOPIC|PAGE}}
* <code>{{[[Template:For|For]]|OTHER TOPIC|PAGE1|PAGE2}}</code>: {{for|OTHER TOPIC|PAGE1|PAGE2}}
* <code>{{[[Template:For2|For2]]|OTHER TOPIC|<nowiki>LINK TO [[PAGE1]] AND [[PAGE2]]</nowiki>}}</code>: {{for2|OTHER TOPIC|LINK TO [[PAGE1]] AND [[PAGE2]]}}
 
==== Otherusesof (topic) ====
* <code>{{[[Template:Otherusesof|otherusesof]]}} (disambiguous)</code>: {{otherusesof}}
* <code>{{[[Template:Otherusesof|otherusesof]]|TOPIC}}</code>: {{otherusesof|TOPIC}}
* <code>{{[[Template:Otherusesof|otherusesof]]|TOPIC|PAGE}}</code>: {{otherusesof|TOPIC|PAGE}}
 
=== Redirect ===
* <code>{{[[Template:Redirect|Redirect]]|REDIRECT}}</code> (disambiguous): {{Redirect|REDIRECT}}
* <code>{{[[Template:Redirect|Redirect]]|REDIRECT||PAGE}}</code>: {{Redirect|REDIRECT||PAGE}}
* <code>{{[[Template:Redirect|Redirect]]|REDIRECT|USE|PAGE}}</code>: {{Redirect|REDIRECT|USE|PAGE}}
* <code>{{[[Template:Redirect2|Redirect2]]|REDIRECT1|REDIRECT2}}</code> (disambiguous): {{Redirect2|REDIRECT1|REDIRECT2}}
* <code>{{[[Template:Redirect3|Redirect3]]|REDIRECT|TEXT|ITALICS}}</code>: {{Redirect3|REDIRECT|TEXT|ITALICS}}
* <code>{{[[Template:Redirect4|Redirect4]]|REDIRECT1|REDIRECT2}}</code> (disambiguous): {{Redirect4|REDIRECT1|REDIRECT2}}
* <code>{{[[Template:Redirect6|Redirect6]]|REDIRECT|USE1|PAGE1|USE2|PAGE2}}</code>: {{Redirect6|REDIRECT|USE1|PAGE1|USE2|PAGE2}}
:* <code>{{[[Template:Redirect6|Redirect6]]|REDIRECT|USE1|PAGE1||}}</code> (See note for <nowiki>{{Two other uses}}</nowiki> above)
:: {{Redirect6|REDIRECT|USE1|PAGE1||}}
 
=== "Not to be confused with"... ===
* <code>{{[[Template:Distinguish|Distinguish]]|PAGE}}</code>: {{Distinguish|PAGE}}
* <code>{{[[Template:Distinguish2|Distinguish2]]|TEXT}}</code>: {{Distinguish2|TEXT}}
 
=== Notes ===
'''Do not use [[Wikipedia:Template substitution|subst:]] with these templates''', as that will prevent:
#propagating changes as the template is modified; and
#the ''[[Special:Whatlinkshere/{{NAMESPACE}}:{{PAGENAME}}|What links here]]'' (WLH) listing.
 
 
'''DO NOT EDIT THESE TEMPLATES UNLESS YOU KNOW WHAT YOU ARE DOING'''
 
These templates may be used in thousands of articles, and changing the syntax could therefore break thousands of articles.  If you wish to edit a disambiguation template first ask yourself:
# Is there already another template that will do this job?  We have lots of disambiguation templates already, see [[:Category:Disambiguation and redirection templates]].
# Do I really need a template for this?  Will it ever get used on any other articles, or should I just use {{tl|dablink}} instead?
# Do I know what will happen if I change the parameters around?  Will it break existing uses of the template, and if so, can I fix them all?
<div style="text-align: right"><small>(This box appears in [[Special:Whatlinkshere/Template:Otheruses templates|several articles in Template talk and Wikipedia namespaces]].)</small></div>
</div><includeonly></includeonly><noinclude>
<!-- Only transcluded documentation belongs here. -->
{{clear}}{{{{FULLPAGENAME}}/doc}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 23:40, 5 May 2013