Template:Otheruses templates
From Dark Omen Wiki
notice |
This is a template documentation box for all of the Otheruses templates. Such templates are not necessarily intended to be viewed directly. If they use variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs. |
Contents |
Otheruses templates
To discuss these templates as a whole, please see Project 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 Project:Otheruses templates (example usage).
Generic
-
{{dablink|TEXT}}
:TEXT
- For example, {{dablink|For other senses of this term, see [[etc...]]}}. This template is adaptable, but fails to standardize hatnotes.
{{selfref|TEXT}}
: Template:Selfref
- (Similar to dablink, but used for messages that wouldn't make sense on printed copies or (localized) mirrors of this wiki, such as a link in the main article namespace that links to one in the Dark Omen Wiki Namespaces. See Project:Avoid self-references for more details.)
Otheruses
Note: All of these templates are special cases of {{Otheruses4}}
-
{{otheruses}}
(disambiguous): Template:Otheruses -
{{otheruses1|USE}}
(disambiguous): Template:Otheruses1 -
{{This|USE|PAGE}}
: Template:This -
{{otheruses2|PAGE}}
(disambiguous): Template:Otheruses2 -
{{otheruses3|PAGE}}
: Template:Otheruses3 -
{{otheruses4|USE1}}
(disambiguous):This article is about USE1. For other uses, see Otheruses templates (disambiguation). -
{{otheruses4|USE1|USE2}}
:This article is about USE1. For USE2, see Otheruses templates (disambiguation). -
{{otheruses4|USE1|USE2|PAGE2}}
:This article is about USE1. For USE2, see PAGE2. -
{{About||USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}
(alias and empty first param):
-
{{otheruses4|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}
(fully specified):
- When there are as many other uses as in the last example, it would be more appropriate to create a disambiguation page. Like all templates, it works with or without an initial capital letter; in addition, the word 'otheruses4' can be also replaced by 'about'.
-
{{This|PAGE1}}
(disambiguous): Template:This -
{{This|PAGE1|PAGE2}}
(disambiguous): Template:This -
{{otheruses5}}
: Template: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.) -
{{otheruses6|PAGE1|PAGE2}}
: Template:Otheruses6 (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)")
For (other topic)
Note: {{otheruses4}} ({{about}} is a convenient redirect) can often be used instead of {{for}}; you just have to add an empty first parameter (e.g. {{For|OTHER TOPIC|PAGE}}
becomes {{About||OTHER TOPIC|PAGE}}
-
{{For}}
(disambiguous):For {{{1}}}, see Otheruses templates (disambiguation). -
{{For|OTHER TOPIC}}
(disambiguous):For OTHER TOPIC, see Otheruses templates (disambiguation). -
{{For|OTHER TOPIC|PAGE}}
:For OTHER TOPIC, see PAGE. -
{{For|OTHER TOPIC|PAGE1|PAGE2}}
: -
{{For2|OTHER TOPIC|LINK TO [[PAGE1]] AND [[PAGE2]]}}
: Template:For2
Otherusesof (topic)
-
{{otherusesof}} (disambiguous)
: Template:Otherusesof -
{{otherusesof|TOPIC}}
: Template:Otherusesof -
{{otherusesof|TOPIC|PAGE}}
: Template:Otherusesof
Redirect
Some examples:
-
{{Redirect|REDIRECT}}
(disambiguous):REDIRECT redirects here. For other uses, see REDIRECT (disambiguation). -
{{Redirect|REDIRECT||PAGE}}
:REDIRECT redirects here. For other uses, see PAGE. -
{{Redirect|REDIRECT|USE|PAGE}}
:REDIRECT redirects here. For USE, see PAGE. -
{{Redirect2|REDIRECT1|REDIRECT2}}
(disambiguous): Template:Redirect2 -
{{Redirect3|REDIRECT|TEXT}}
: Template:Redirect3 -
{{Redirect4|REDIRECT1|REDIRECT2}}
(disambiguous): Template:Redirect4 -
{{Redirect6|REDIRECT|USE1|PAGE1|USE2|PAGE2}}
: Template:Redirect6 -
{{Redirect6|REDIRECT|USE1|PAGE1||}}
: Template:Redirect6
"Not to be confused with"...
-
{{Distinguish|PAGE}}
:Not to be confused with PAGE. -
{{Distinguish2|TEXT}}
:Not to be confused with TEXT.
Notes
Do not use subst: with these templates, as that will prevent:
- propagating changes as the template is modified; and
- the What links here 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 {{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?
CSS
drop in MediaWiki:common.css or MediaWiki:monobook.css
table.ambox { width: 80%; margin: 0 auto; border-collapse: collapse; background: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #1e90ff; /* Default "notice" blue */ } table.ambox th, table.ambox td { /* The message body cell(s) */ padding: 0.25em 0.5em; /* 0.5em left/right */ } table.ambox td.ambox-image { /* The left image cell */ width: 52px; padding: 2px 0px 2px 0.5em; /* 0.5em left, 0px right */ text-align: center; } table.ambox td.ambox-imageright { /* The right image cell */ width: 52px; padding: 2px 4px 2px 0px; /* 0px left, 4px right */ text-align: center; } table.ambox-notice { border-left: 10px solid #1e90ff; /* Blue */ /* border-right: 10px solid #1e90ff; */ /* If you want two blue bars */ } table.ambox-serious { border-left: 10px solid #b22222; /* Red */ } table.ambox-content { border-left: 10px solid #f28500; /* Orange */ } table.ambox-style { border-left: 10px solid #f4c430; /* Yellow */ } table.ambox-merge { border-left: 10px solid #9932cc; /* Purple */ } table.ambox-growth { border-left: 10px solid #228b22; /* Green */ } table.ambox-protection { border-left: 10px solid #bba; /* Gray */ } table.ambox.ambox-mini { /* small floating box variant */ float: right; clear: right; margin: 0 0 0 1em; width: 25%; }
Otheruses templates is based on: Wikipedia:Otheruses templates