Template:Disambiguation: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<pagesidebar>
:<div class="noexcerpt">For other entries with a {{{2|similar name}}, see: [[{{{1|}}}]].</div>
* Disambiguation
</includeonly><noinclude>= Description =
** {{{1}}}|Other articles with the same name
</pagesidebar></includeonly><noinclude>= Description =


This template is used to set a default format for page sidebars that link ''to'' disambiguation pages (e.g. [[Baltar (TOS)]], [[Galactica (TOS)]], [[Adama (TOS)]])  '''''from''''' an article linked to the said disambiguation page (e.g.  [[Baltar]], ''[[Galactica]]'', [[Adama]]).
This template is used to set a default format for initial page notices that link ''to'' disambiguation pages (e.g. [[Baltar (TOS)]], [[Galactica (TOS)]], [[Adama (TOS)]])  '''''from''''' an article linked to the said disambiguation page (e.g.  [[Baltar]], ''[[Galactica]]'', [[Adama]]).


Using this template will add a page sidebar, as seen on this page for Medic [[Hudson]].
Using this template will add a line to the page, noting that a disambiguation page is available.  


'''Usage note:''' Because this template will break under normal circumstances, this template must always be employed using template substitution, as the following instructions indicate.
== Usage ==


{{TemplateSubst}}
<pre>{{disambiguation|Adama}}</pre>


== Usage ==
This will produce:


<pre>{{subst:disambiguation|disambiguation page}}</pre>
{{disambiguation|Adama}}


[[Category: Sidebar Templates|Disambiguation]]</noinclude>
[[Category: Sidebar Templates|Disambiguation]]</noinclude>

Revision as of 04:38, 29 January 2020

Description

This template is used to set a default format for initial page notices that link to disambiguation pages (e.g. Baltar (TOS), Galactica (TOS), Adama (TOS)) from an article linked to the said disambiguation page (e.g. Baltar, Galactica, Adama).

Using this template will add a line to the page, noting that a disambiguation page is available.

Usage

{{disambiguation|Adama}}

This will produce:


For other entries with a {Template:2, see: Adama.