Template:WorksListBox: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (Protected "Template:WorksListBox": High traffic page ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
mNo edit summary
 
Line 1: Line 1:
<div style="margin: 0 0 .5em 0; border: 1px solid #ddbb99; background: #ffffcc; padding: .5em .5em .6em .5em">
<div style="margin: 0 0 .5em 0; border: 1px solid #ddbb99; background: #ffffcc; padding: .5em .5em .6em .5em">
{{{1|* For works at CPDL sorted '''alphabetically''' by title, see <includeonly>{{CiteCat|{{PAGENAME}} compositions}}</includeonly><noinclude><font color=blue><ComposerName> compositions</font></noinclude>}}}
{{{1|* For works at '''{{CPDL}}''' sorted '''alphabetically''' by title, see <includeonly>{{CiteCat|{{PAGENAME}} compositions}}</includeonly><noinclude><font color=blue><ComposerName> compositions</font></noinclude>}}}
</div><noinclude>
</div><noinclude>
{{prot-temp}}
{{prot-temp}}
Line 11: Line 11:
</pre>
</pre>
on the [[Johann Sebastian Bach]] page would produce
on the [[Johann Sebastian Bach]] page would produce
{{WorksListBox|* For works at CPDL sorted '''alphabetically''' by title, see {{CiteCat|Johann Sebastian Bach compositions}}}}
{{WorksListBox|* For works at '''{{CPDL}}''' sorted '''alphabetically''' by title, see {{CiteCat|Johann Sebastian Bach compositions}}}}


Behavior with optional parameter:
Behavior with optional parameter:

Latest revision as of 13:08, 6 June 2011

  • For works at CPDL sorted alphabetically by title, see <ComposerName> compositions

Usage Default behavior:

{{WorksListBox}}

on the Johann Sebastian Bach page would produce

Behavior with optional parameter:

{{WorksListBox|
For Brahms works
* sorted by '''opus number,''' see [[Johannes Brahms - list of choral works]].
* sorted '''alphabetically''' by title, see {{CiteCat|Johannes Brahms compositions}}.
}}

(on any page) would produce

For Brahms works