Template:For

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Added 'For' template, copied from Wikipedia, for use in disambiguation)
 
(Changed to <onlyinclude> style and added tempdoc)
 
Line 1: Line 1:
<i>For {{#if:{{{1|}}}|{{{1}}}|other uses}}, see [[:{{{2|{{PAGENAME}} (disambiguation)}}}|{{{2|{{PAGENAME}} (disambiguation)}}}]]{{#if:{{{3|}}}|&#32;and [[{{{3}}}]]}}.</i>
+
<onlyinclude><div style="padding-left:2em">''For {{{1|other uses}}}, see [[:{{{2|{{PAGENAME}} (disambiguation)}}}|{{{2|{{PAGENAME}} (disambiguation)}}}]].''</div></onlyinclude>
 +
 
 +
{{tempdoc}}
 +
[[Category:Templates]]

Latest revision as of 03:53, 3 July 2010

For other uses, see For (disambiguation).
Template documentation [edit]
This documentation is transcluded from Template:For/doc. It will not be transcluded on pages that use this template.

Template:For provides a hatnote that provides disambiguation between articles. This is useful in cases of multiple articles sharing a similar name. In the Fedora Project wiki, it is also be used to link between a proposal and its corresponding article. This template is conventionally used at the top of the article or at the beginning of a section.

This template provides disambiguation in one of two ways: a dedicated page, or a direct link. The dedicated page is of the form {{PAGENAME}} (disambiguation), and is useful if the article has a very common name. The direct link should be used if there is only one other related article, as this method is more convenient for readers.

To use this template, insert {{for}} which will display the default message and link to a dedicated disambiguation page for that article. To link to the related article directly, insert {{for|the article on the number four|four}}.

[edit] Examples

[edit] Dedicated page

This example demonstrates a dedicated disambiguation page.

{{for}}

Output:

For other uses, see For (disambiguation).

[edit] Direct link

This example demonstrates a direct link to a related article.

{{for|an article on the number|four}}

Output:

For an article on the number, see four.