Template:Disambiguation: Difference between revisions

From Space Station 14 Wiki
defaultloadout-wikigg>Karmaworks
No edit summary
defaultloadout-wikigg>Karmaworks
No edit summary
Line 1: Line 1:
<includeonly>{{Hatnote|<!--
<includeonly>{{Hatnote|<!--
  -->{{#vardefine:topic|<!-- start vd
      -->{{#if:{{{topic|}}} | {{{2}}} | {{PAGENAME}} }}<!-- end if
  -->}}<!-- end vd
 
   -->{{#vardefine:disambig|<!-- start vd
   -->{{#vardefine:disambig|<!-- start vd
    
    
       -->{{#if:{{{2|}}}<!-- start custom disambig if
       -->{{#if:{{{1|}}}<!-- start custom disambig if
        
        
         -->|{{{2}}}<!-- start label if -->{{#if:{{{3|}}} | {{!}}{{{3}}} }}<!-- end label if
         -->|{{{1}}}<!-- start label if -->{{#if:{{{2|}}} | {{!}}{{{2}}} }}<!-- end label if
          
          
         -->|{{{1|}}} (disambiguation)<!-- else; use regular disambig
         -->|{{#var:topic}} (disambiguation)<!-- else; use regular disambig
          
          
       -->}}<!-- end custom disambig if
       -->}}<!-- end custom disambig if
Line 12: Line 16:
   -->}}<!-- end vd
   -->}}<!-- end vd


   -->This page is about {{{1|}}}. For other uses, see [[{{#var:disambig}}]].<!--  
   -->This page is about {{#var:topic}}. For other uses, see [[{{#var:disambig}}]].<!--  
    
    
-->}}<!--  
-->}}<!--  

Revision as of 17:44, 12 April 2024

Template documentation
view or edit this documentation about template documentation

Examples

Code Result
{{Disambiguation}}
This page is about {{{2}}}. For other uses, see [[{{{2}}} (disambiguation)]].
{{Disambiguation|Special:Random|topic=Example}}
This page is about {{{2}}}. For other uses, see Special:Random.
{{Disambiguation|Special:Random|Page Label|topic=this particular topic}}
This page is about Page Label. For other uses, see Page Label.