Template:EditionsLink: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(Template to replace {{Whatlinkshere}} on an Editor's User page - links to Category:<EditorName> editions)
 
(test with paragraph instead of line break, for compatibility with Whatlinkshere)
Line 1: Line 1:
<includeonly><!-- force newline -->
<includeonly><p>{{CiteCat|{{{1|{{PAGENAME}}}}} editions|'''Works with editions by this editor'''}}</p></includeonly><noinclude>
{{CiteCat|{{{1|{{PAGENAME}}}}} editions|'''Works with editions by this editor'''}}</includeonly><noinclude>
; Usage
; Usage
<pre>{{EditionsLink|<EditorName>}}</pre>
<pre>{{EditionsLink|<EditorName>}}</pre>

Revision as of 05:02, 10 October 2010

Usage
{{EditionsLink|<EditorName>}}

provides a link to the category: <EditorName> editions that appears as

Works with editions provided by this editor

Note: On an editor's User page, this template may be invoked simply by typing

{{EditionsLink}}

because the <EditorName> defaults to {{PAGENAME}}.