Template:Related: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
m (minor tweaks)
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 (after the 'pipe' – <tt>|</tt>), the string from this parameter will be used for both the displayed name as well as the target [[Special:Categories|category]] it links to — <code><nowiki>{{related|category}}</nowiki></code>.
*With one parameter (after the 'pipe' – <tt>|</tt>), the string from this parameter will be used for both the displayed name as well as the target [[Special:Categories|category]] it links to — <code><nowiki>{{related|category}}</nowiki></code>.
*You may specify a second parameter (after a second pipe) for a <u>displayed name</u> that is different than the link target — <code><nowiki>{{related|category|displayed link name}}</nowiki></code>.
*You may specify a second parameter (after a second pipe) for a <u>displayed name</u> that is different than the link target — <code><nowiki>{{related|category|displayed link name}}</nowiki></code>.


[[Category:Templates]]</noinclude>
[[Category:Templates]]
[[Category:Browse| ]]</noinclude>

Revision as of 11:26, 16 September 2012

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


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