Template:New composer: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(added tutorial)
(changed so that template content may be included by "subst:" instead of just by copy/paste)
Line 1: Line 1:
To create a new composer page, copy all text below the horizontal line to the new page and replace portions <font color="red">in red</font> with the correct information, as indicated:
<noinclude>{{DisplayBox|bgcolor=g|text=
This template is used to easily place the relevant code for a page for a new composer. It must be '''substituted''' as explained below.


*<tt><nowiki>Image:</nowiki></tt> — if you have uploaded an image, uncomment this line (by removing <tt><nowiki><!--</nowiki></tt> and <tt><nowiki>--></nowiki></tt>) and replace text in red by the name of the image file.
;Usage: <tt><nowiki>{{subst:ChoralWiki:Composer template}}</nowiki></tt>
*<tt><nowiki>Born:</nowiki></tt> — remove text in red if birth date/year is unknown.
*<tt><nowiki>Died:</nowiki></tt> — remove text in red if death date/year is unknown; remove the whole line if composer is still alive.
*<tt><nowiki>Biography</nowiki></tt> — if you don't have any biographical data to add, then just remove text in red.
*<tt><nowiki>External links</nowiki></tt> — add related links (one per line, preceded by an asterisk *), or just remove text in red.
*<tt>yyyy births</tt> — replace "yyyy" by the actual birth year, or by the word <tt>Unknown</tt>.
*<tt>yyyy deaths</tt> — replace "yyyy" by the actual death year, or by the word <tt>Unknown</tt>.
*<tt>Era composers</tt> — replace "Era" by one of these: <tt>Medieval&bull;Baroque&bull;Classical&bull;Romantic&bull;Early&nbsp;20th&nbsp;century&bull;Modern</tt>
*<tt>Nationality composers</tt> — replace "Nationality" by the corresponding one, or by the word <tt>Unknown</tt>.
*<tt><nowiki>DEFAULTSORT:</nowiki></tt> — composer's last name first, then first name (or names), exactly as they appear in page title.


==Composer template (copy text below)==
The page must be saved once the above code has been placed on it. Then one may edit the page once again and the relevant code will be written out in full. Substitute the texts in red with valid information, as indicated below:
<tt><nowiki><!-- Composer template, this is a comment line and will not appear --></nowiki><br>
 
*<tt>'''Image:'''</tt> if you have uploaded an image, uncomment this line (by removing <tt><nowiki><!--</nowiki></tt> and <tt><nowiki>--></nowiki></tt>) and replace text in red with the name of the image file.
*<tt>'''Aliases:'''</tt> if the composer name has any variant spellings, uncomment this line and add them here.
*<tt>'''Born:'''</tt> remove text in red if birth date/year is unknown.
*<tt>'''Died:'''</tt> remove text in red if death date/year is unknown; remove the whole line if composer is still alive.
*<tt>'''Biography:'''</tt> if you don't have any biographical data to add, just remove text in red.
*<tt>'''External links:'''</tt> add related links (one per line, preceded by an asterisk *), or just remove text in red.
*<tt>'''DEFAULTSORT:'''</tt> composer's last name first, then first name (or names), with no diacriticals (i.e., "<tt>Dvorak,&nbsp;Antonin</tt>" instead of "<tt>Dvořák,&nbsp;Antonín</tt>").
*<tt>'''yyyy births:'''</tt> replace "yyyy" by the actual birth year, or by the word "<tt>Unknown</tt>".
*<tt>'''yyyy deaths:'''</tt> replace "yyyy" by the actual death year, or by the word "<tt>Unknown</tt>"; remove the whole line if composer is still alive.
*<tt>'''Era:'''</tt> replace "Era" by one of these: "<tt>Medieval/Baroque/Classical/Romantic/Early&nbsp;20th&nbsp;century/Modern</tt>"
*<tt>'''Nationality:'''</tt> replace "Nationality" by the corresponding one, or by the word "<tt>Unknown</tt>".
}}
==Inserted text==
<tt>
<nowiki><!-- Composer template, this is a comment line and will not appear --></nowiki><br>
<nowiki><!-- optional items such as 'picture' and 'aliases' are commented out unless required --></nowiki><br>
<nowiki><!-- optional items such as 'picture' and 'aliases' are commented out unless required --></nowiki><br>
<nowiki><!-- [[Image:</nowiki><font color="red">John_Doe.jpg</font>|thumb|<font color="red">John Doe</font><nowiki>]] --><!-- image must be uploaded previously, check image options in Help section --></nowiki><br>
<nowiki><!-- [[Image:</nowiki><font color="red">John_Doe.jpg</font>|thumb|<font color="red">John Doe</font>]] --><nowiki><!-- image must be uploaded previously --></nowiki><br>
<nowiki><!-- '''Aliases:''' --></nowiki><br>
<nowiki><!-- '''Aliases:''' --></nowiki><br>
<nowiki>==Life==</nowiki><br>
<nowiki>==Life==</nowiki><br>
Line 24: Line 31:
<nowiki>'''Biography'''<br></nowiki><br>
<nowiki>'''Biography'''<br></nowiki><br>
<font color="red"><nowiki>''add biographical data here''</nowiki></font>
<font color="red"><nowiki>''add biographical data here''</nowiki></font>


<nowiki>{{WikipediaLink}}</nowiki>
<nowiki>{{WikipediaLink}}</nowiki>
Line 38: Line 46:
<nowiki>==External links==</nowiki><br>
<nowiki>==External links==</nowiki><br>
<font color="red"><nowiki>''add web links here''</nowiki></font>
<font color="red"><nowiki>''add web links here''</nowiki></font>
<nowiki>{{DEFAULTSORT:</nowiki><font color="red">Last_Name</font>, <font color="red">First_Name(s)</font>}}<br>
[[Category:<font color="red">yyyy</font> births]]<br>
[[Category:<font color="red">yyyy</font> deaths]]<br>
<nowiki>[[Category:Composers]]</nowiki><br>
[[Category:<font color="red">Era</font> composers]]<br>
[[Category:<font color="red">Nationality</font> composers]]<br>
<nowiki>__NOTOC__</nowiki>
</tt>
</noinclude><includeonly><!-- [[Image:John_Doe.jpg|thumb|John Doe]] --><!-- image must be uploaded previously -->
<!-- '''Aliases:''' -->
==Life==
'''Born:''' dd Month yyyy
'''Died:''' dd Month yyyy
'''Biography'''<br>
''add biographical data here''




<nowiki>[[Category:</nowiki><font color="red">yyyy</font> births]]<br>
{{WikipediaLink}}
<nowiki>[[Category:</nowiki><font color="red">yyyy</font> deaths]]<br>
 
<nowiki>[[Category:Composers]]</nowiki><br>
==List of choral works==
<nowiki>[[Category:</nowiki><font color="red">Era</font> composers]]<br>
{{Legend}}
<nowiki>[[Category:</nowiki><font color="red">Nationality</font> composers]]<br>
 
<nowiki>__NOTOC__</nowiki><br>
 
<nowiki>{{DEFAULTSORT:</nowiki><font color="red">Last_Name</font>, <font color="red">First_Name(s)</font>}}</tt>
{{Whatlinkshere}}
 
==Publications==
 
 
==External links==
''add web links here''
 
{{DEFAULTSORT:Last_Name, First_Name(s)}}
[[Category:yyyy births]]
[[Category:yyyy deaths]]
[[Category:Composers]]
[[Category:Era composers]]
[[Category:Nationality composers]]
__NOTOC__ </includeonly>

Revision as of 01:29, 1 December 2008

This template is used to easily place the relevant code for a page for a new composer. It must be substituted as explained below.

Usage
{{subst:ChoralWiki:Composer template}}

The page must be saved once the above code has been placed on it. Then one may edit the page once again and the relevant code will be written out in full. Substitute the texts in red with valid information, as indicated below:

  • Image: if you have uploaded an image, uncomment this line (by removing <!-- and -->) and replace text in red with the name of the image file.
  • Aliases: if the composer name has any variant spellings, uncomment this line and add them here.
  • Born: remove text in red if birth date/year is unknown.
  • Died: remove text in red if death date/year is unknown; remove the whole line if composer is still alive.
  • Biography: if you don't have any biographical data to add, just remove text in red.
  • External links: add related links (one per line, preceded by an asterisk *), or just remove text in red.
  • DEFAULTSORT: composer's last name first, then first name (or names), with no diacriticals (i.e., "Dvorak, Antonin" instead of "Dvořák, Antonín").
  • yyyy births: replace "yyyy" by the actual birth year, or by the word "Unknown".
  • yyyy deaths: replace "yyyy" by the actual death year, or by the word "Unknown"; remove the whole line if composer is still alive.
  • Era: replace "Era" by one of these: "Medieval/Baroque/Classical/Romantic/Early 20th century/Modern"
  • Nationality: replace "Nationality" by the corresponding one, or by the word "Unknown".

Inserted text

<!-- Composer template, this is a comment line and will not appear -->
<!-- optional items such as 'picture' and 'aliases' are commented out unless required -->
<!-- [[Image:John_Doe.jpg|thumb|John Doe]] --><!-- image must be uploaded previously -->
<!-- '''Aliases:''' -->
==Life==
'''Born:''' dd Month yyyy

'''Died:''' dd Month yyyy

'''Biography'''<br>
''add biographical data here''


{{WikipediaLink}}

==List of choral works==
{{Legend}}


{{Whatlinkshere}}

==Publications==


==External links==
''add web links here''

{{DEFAULTSORT:Last_Name, First_Name(s)}}
[[Category:yyyy births]]
[[Category:yyyy deaths]]
[[Category:Composers]]
[[Category:Era composers]]
[[Category:Nationality composers]]
__NOTOC__