Template:Disambiguation: Difference between revisions

From HorizonXI Wiki
No edit summary
 
(Reworks Disambiguation template for actual use)
 
Line 1: Line 1:
{{MessageBox
<includeonly><div align="center">
| header = Disambiguation page for {{PAGENAME}}
----
| type = disambiguation
''Were you looking for {{#if: {{{1|}}} | [[{{{1}}}]] | to define a disambiguation}}{{#if: {{{2|}}} | &nbsp;or [[{{{2}}}]]}}{{#if: {{{3|}}} | &nbsp;or [[{{{3}}}]]}}{{#if: {{{4|}}} | &nbsp;or [[{{{4}}}]]}}{{#if: {{{5|}}} | &nbsp;or [[{{{5}}}]]}}{{#if: {{{6|}}} | &nbsp;or [[{{{6}}}]]}}{{#if: {{{7|}}} | &nbsp;or [[{{{7}}}]]}}{{#if: {{{8|}}} | &nbsp;or [[{{{8}}}]]}}{{#if: {{{9|}}} | &nbsp;or [[{{{9}}}]]}}{{#if: {{{10|}}} | &nbsp;or [[{{{10}}}]]}}?''
| text = The following is a list of links to pages that might share the same title.
----</div>[[Category:Disambiguation]]</includeonly>
| comment = Please follow one of the disambiguation links below or [[Special:Search|search]] to find the page you were looking for if it is not listed. If an [[Special:Whatlinkshere/{{FULLPAGENAME}}|internal link]] led you here, you may wish to change the link to point directly to the intended article.
<noinclude>[[Category:Templates/Headers|{{PAGENAME}}]]
| class = notice hidden
==Usage/Example==
| id = disambiguation}}
This template is designed to take upto 10 parameters to redirect the user to their intended page based on similar page names.
<includeonly>__DISAMBIG__[[Category:Disambiguations]]</includeonly><noinclude>
{| align="right" width="70%"
{{documentation}}</noinclude>
|{{Disambiguation|Page1}}
|}
{| align="left"
|<pre>{{Disambiguation|Page1}}</pre>
|}
<div style="clear: both;"></div>
{| align="right" width="70%"
|{{Disambiguation|Page1|Page 2|Page 3|Page 4}}
|}
{| align="left"
|<pre>{{Disambiguation|Page1|Page 2|Page 3|Page 4}}</pre>
|}
<div style="clear: both;"></div></noinclude>

Latest revision as of 13:09, 5 May 2023

Usage/Example

This template is designed to take upto 10 parameters to redirect the user to their intended page based on similar page names.


Were you looking for Page1?


{{Disambiguation|Page1}}

Were you looking for Page1 or Page 2 or Page 3 or Page 4?


{{Disambiguation|Page1|Page 2|Page 3|Page 4}}