Difference between revisions of "Template:Alt"

From Battlestar Wiki, the free, open content Battlestar Galactica encyclopedia and episode guide
(initial work)
 
m (Protected "Template:Alt": Sensitive Page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{dis|{{{1}}}|{{#if:{{{2|}}}|({{{2|}}} alternate)|(alternate)}}|{{{3|}}}}}}}</includeonly><noinclude>This template creates a link to a disambiguated title that features an alternate article, for instance:
+
<includeonly>{{#if:{{{1|}}}|{{dis|{{{1}}}|{{#if:{{{2|}}}|{{{2|}}} alternate {{#if:{{{4|}}}|{{{4}}}|{{void}}}}|alternate}}|{{{3|}}}}}}}</includeonly><noinclude>This template creates a link to a disambiguated title that features an alternate article, for instance:
  
 
* <nowiki>{{alt|Galactica}}</nowiki> creates {{alt|Galactica}}
 
* <nowiki>{{alt|Galactica}}</nowiki> creates {{alt|Galactica}}
 
* <nowiki>{{alt|Galactica|TOS}}</nowiki> creates {{alt|Galactica|TOS}}
 
* <nowiki>{{alt|Galactica|TOS}}</nowiki> creates {{alt|Galactica|TOS}}
 
* <nowiki>{{alt|Galactica|RDM}}</nowiki> creates {{alt|Galactica|RDM}}
 
* <nowiki>{{alt|Galactica|RDM}}</nowiki> creates {{alt|Galactica|RDM}}
 +
* <nowiki>{{alt|Galactica|TOS||reality}}</nowiki> creates {{alt|Galactica|TOS||reality}}
 +
  
 
[[Category:Battlestar Wiki disambiguation templates|alt]]</noinclude>
 
[[Category:Battlestar Wiki disambiguation templates|alt]]</noinclude>

Latest revision as of 06:12, 22 April 2020

This template creates a link to a disambiguated title that features an alternate article, for instance: