Template:EditionsLink: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(add count of editions)
mNo edit summary
Line 1: Line 1:
<includeonly><p>{{CiteCat|{{{1|{{PAGENAME}}}}} editions|'''Works with editions by this editor'''}} ({{#dpl:category={{{1|{{PAGENAME}}}}} editions|namespace=|mode=userformat|resultsheader=%TOTALPAGES%}} works pages)</p></includeonly><noinclude>
<includeonly><p>{{CiteCat|{{{1|{{PAGENAME}}}}} editions|'''Works with editions by this editor'''}} ({{#dpl:category={{{1|{{PAGENAME}}}}} editions|namespace=|mode=userformat|resultsheader=%TOTALPAGES%}})</p></includeonly><noinclude>
; Usage
; Usage
<pre>{{EditionsLink|<EditorName>}}</pre>
<pre>{{EditionsLink|<EditorName>}}</pre>
provides a link to the category: <font color=blue><EditorName> editions</font> that appears as
provides a link to the category: <font color=blue><EditorName> editions</font> that appears as


<font color=blue>'''Works with editions provided by this editor'''</font> (''n'' works pages)
<font color=blue>'''Works with editions provided by this editor'''</font> (''n'')


where ''n'' is the number of works pages that contain editions by <EditorName>.
where ''n'' is the number of works pages that contain editions by <EditorName>.

Revision as of 03:56, 30 November 2010

Usage
{{EditionsLink|<EditorName>}}

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

Works with editions provided by this editor (n)

where n is the number of works pages that contain editions by <EditorName>.

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

{{EditionsLink}}

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