Difference between revisions of "Template:Disambiguation"
m |
(that was uncalled for and not at all funny.) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{indent|lines=1.6|''{{#if:{{{1|}}}|This is for {{{1}}}.}} For {{#if:{{{3|}}}|{{{2}}}|other uses}}, see [[{{{3|{{{2|{{FULLPAGENAME}} (disambiguation)}}}}}}]].''}}<noinclude> | + | {{indent|lines=1.6|''{{#if:{{{1|}}}|{{#ifeq:{{{redirect}}}|true|{{{1}}} redirects here.|This is for {{{1}}}.}}}} For {{#if:{{{3|}}}|{{{2}}}|other uses}}, see [[{{{3|{{{2|{{FULLPAGENAME}} (disambiguation)}}}}}}]].''}}<noinclude> |
| − | |||
| − | |||
Usage example: | Usage example: | ||
| Line 8: | Line 6: | ||
* <code><nowiki>{{disambiguation|<current subject>|<link>}}</nowiki></code> provides the context and a link to a specific disambiguation page. You do not need to make the link in wikitext; this is done for you. | * <code><nowiki>{{disambiguation|<current subject>|<link>}}</nowiki></code> provides the context and a link to a specific disambiguation page. You do not need to make the link in wikitext; this is done for you. | ||
* <code><nowiki>{{disambiguation|<current subject>|<alternative subject>|<link>}}</nowiki></code> provides the context, an alternative context and the link to the relevant page. Like before, the link is generated for you. | * <code><nowiki>{{disambiguation|<current subject>|<alternative subject>|<link>}}</nowiki></code> provides the context, an alternative context and the link to the relevant page. Like before, the link is generated for you. | ||
| + | |||
| + | If you add <code>redirect=true</code>, the phrasing will change slightly and the first argument will be used to indicate where the redirection was from. | ||
</noinclude> | </noinclude> | ||
Latest revision as of 03:47, 20 June 2016
For other uses, see Template:Disambiguation (disambiguation).
Usage example:
{{disambiguation}}provides a link to a generic disambiguation page.{{disambiguation|<current subject>}}explains which context this page applies to while providing a generic disambiguation page.{{disambiguation|<current subject>|<link>}}provides the context and a link to a specific disambiguation page. You do not need to make the link in wikitext; this is done for you.{{disambiguation|<current subject>|<alternative subject>|<link>}}provides the context, an alternative context and the link to the relevant page. Like before, the link is generated for you.
If you add redirect=true, the phrasing will change slightly and the first argument will be used to indicate where the redirection was from.