Template:WorksListBox: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (tweaks)
(establish default version (pointing to the Composer compositions category))
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|''Provide bulleted list of links to other listings of this composer's works here.''}}}
{{{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}}
[[Category:Templates]]
[[Category:Templates]]
{{DisplayBox|text=
{{DisplayBox|text='''Usage
;Usage:
'''
Default behavior:
<pre>
{{WorksListBox}}
</pre>
on the [[Johann Sebastian Bach]] page would produce
{{WorksListBox|* For works at CPDL sorted '''alphabetically''' by title, see {{CiteCat|Johann Sebastian Bach compositions}}}}
 
Behavior with optional parameter:
<pre>{{WorksListBox|
<pre>{{WorksListBox|
For Brahms works
For Brahms works
Line 11: Line 19:
* sorted '''alphabetically''' by title, see {{CiteCat|Johannes Brahms compositions}}.
* sorted '''alphabetically''' by title, see {{CiteCat|Johannes Brahms compositions}}.
}}</pre>
}}</pre>
Produces:
(on any page) would produce
 
{{WorksListBox|
{{WorksListBox|
For Brahms works
For Brahms works

Revision as of 01:01, 9 October 2010

  • 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