Template:Disambiguation: Difference between revisions

Template page
No edit summary
m (tweak)
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<pagesidebar>
:<span class="noexcerpt">''{{{3|}}} For other entries {{{2|with a similar name}}}, see: [[{{{1|}}}]].''</span>
* 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 ==
 
<pre>{{disambiguation|Adama}}</pre>
 
This will produce:
 
{{disambiguation|Adama}}
 
=== Alternate Usage ===
 
<pre>{{disambiguation|Galactica|on ships sharing this name}}</pre>


{{TemplateSubst}}
This will produce:


== Usage ==
{{disambiguation|Galactica|on ships sharing this name}}
 
=== Alternate Usage #2 ===
 
<pre>{{disambiguation|Galactica|on ships sharing this name|This article discusses the ship from the [[Re-imagined Series]].}}</pre>
 
This will produce:


<pre>{{subst:disambiguation|disambiguation page}}</pre>
{{disambiguation|Galactica|on ships sharing this name|This article discusses the ship from the [[Re-imagined Series]].}}


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

Revision as of 04:42, 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 similar name, see: Adama.


Alternate Usage

{{disambiguation|Galactica|on ships sharing this name}}

This will produce:


For other entries on ships sharing this name, see: Galactica.


Alternate Usage #2

{{disambiguation|Galactica|on ships sharing this name|This article discusses the ship from the [[Re-imagined Series]].}}

This will produce:


This article discusses the ship from the Re-imagined Series. For other entries on ships sharing this name, see: Galactica.