Template:Related: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
No edit summary
m (fix category display order)
Line 1: Line 1:
[[:Category:{{{1}}}|<span title="{{{1}}} is a related topic to {{PAGENAME}}">{{{2|{{{1}}}}}}</span>]]<noinclude>
[[:Category:{{{1}}}|<span title="{{{1}}} is a related topic to {{PAGENAME}}">{{{2|{{{1}}}}}}</span>]]<noinclude>


== Usage ==
==Usage==
* With one parameter the string from this parameter will be used for both the displayed name as well as the target category it links to. (<code><nowiki>{{related|name}}</nowiki></code>)
*With one parameter, the string from this parameter will be used for both the displayed name as well as the target category it links to. (<code><nowiki>{{related|name}}</nowiki></code>)
* You may specify a second parameter for a displayed name that is different than the link target. (<code><nowiki>{{related|name of category|displayed link name</nowiki></code>)
*You may specify a second parameter for a displayed name that is different than the link target. (<code><nowiki>{{related|name of category|displayed link name</nowiki></code>)


 
[[Category:Templates|Related]]
[[category:templates]]
</noinclude>
</noinclude>

Revision as of 11:38, 23 June 2011

[[:Category:{{{1}}}|{{{1}}}]]

Usage

  • With one parameter, the string from this parameter will be used for both the displayed name as well as the target category it links to. ({{related|name}})
  • You may specify a second parameter for a displayed name that is different than the link target. ({{related|name of category|displayed link name)