Difference between revisions of "Template:For"

From PDX.wiki.org
Jump to navigation Jump to search
(Create page. Will customize it later. Based on Fedora infobox.)
 
(Removing contents of abandoned experiment.)
 
Line 1: Line 1:
[[:Template:For]] provides a [[:wikipedia:Wikipedia:Hatnote|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 <code><nowiki>{{PAGENAME}} (disambiguation)</nowiki></code>, 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 <code><nowiki>{{for}}</nowiki></code> which will display the default message and link to a dedicated disambiguation page for that article. To link to the related article directly, insert <code><nowiki>{{for|the article on the number four|four}}</nowiki></code>.
 
 
== Examples ==
 
=== Dedicated page ===
 
This example demonstrates a dedicated disambiguation page.
 
<pre>{{for}}</pre>
 
''Output:''
 
{{for}}
 
=== Direct link ===
 
This example demonstrates a direct link to a related article.
 
<pre>{{for|an article on the number|four}}</pre>
 
''Output:''
 
{{for|an article on the number|four}}
 

Latest revision as of 07:56, 25 June 2011