From Thunder Bay Bandwiki
(ugly way to clean up autowhitespacing issues, but it seems to work) |
(only display template if there are some items present) |
||
Line 32: | Line 32: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
+ | {{#if:{{alt_names}}{{years_active}}{{location}}{{main_songwriter}}{{genres}}{{associated_bands}}{{associated_venues}}{{see_also}}{{known_for}}{{notable_for}}{{status}}{{website}}| | ||
<table class="wikitable" align="right" style="border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; vertical-align: top;" width="250"> | <table class="wikitable" align="right" style="border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; vertical-align: top;" width="250"> | ||
<tr><th bgcolor="#e7dcc3" colspan="2">{{PAGENAME}}</th></tr><nowiki> | <tr><th bgcolor="#e7dcc3" colspan="2">{{PAGENAME}}</th></tr><nowiki> | ||
Line 45: | Line 46: | ||
</nowiki>{{#if:{{{notable_for|}}}|<tr><td bgcolor="#e7dcc3">Notable for</td><td>{{{notable_for|}}}{{#set:notable_for={{{notable_for}}}}}</td></tr>}}<nowiki> | </nowiki>{{#if:{{{notable_for|}}}|<tr><td bgcolor="#e7dcc3">Notable for</td><td>{{{notable_for|}}}{{#set:notable_for={{{notable_for}}}}}</td></tr>}}<nowiki> | ||
</nowiki>{{#if:{{{website|}}}|<tr><td bgcolor="#e7dcc3">Website</td><td>{{{website|}}}{{#set:website={{{website}}}}}</td></tr>}}<nowiki> | </nowiki>{{#if:{{{website|}}}|<tr><td bgcolor="#e7dcc3">Website</td><td>{{{website|}}}{{#set:website={{{website}}}}}</td></tr>}}<nowiki> | ||
− | </nowiki>{{#if:{{{status|}}}|<tr><td bgcolor="#e7dcc3">Current status</td><td>{{{status|}}}{{#set:status={{{status}}}}}</td></tr>}}</table> | + | </nowiki>{{#if:{{{status|}}}|<tr><td bgcolor="#e7dcc3">Current status</td><td>{{{status|}}}{{#set:status={{{status}}}}}</td></tr>}}</table>}} |
{{DEFAULTSORT:{{#multireplace:{{PAGENAME}}|/^[Tt]he /=|/s*$/=|0=Zero|1=One|2=Two|3=Three|4=Four|5=Five|6=Six|7=Seven|8=Eight|9=Nine}}}} | {{DEFAULTSORT:{{#multireplace:{{PAGENAME}}|/^[Tt]he /=|/s*$/=|0=Zero|1=One|2=Two|3=Three|4=Four|5=Five|6=Six|7=Seven|8=Eight|9=Nine}}}} | ||
[[Category:Bands]] | [[Category:Bands]] |
Revision as of 19:34, 1 April 2010
Use this template for bands. It will automatically add the page to the 'Bands' category and the 'Notable Bands' category, if appropriate. You can add the following fields:
- alt_names: Other names this band has gone by
- years_active: When the band was active
- location: If this band was ever based somewhere other than Thunder Bay, mention it here.
- main_songwriter: If there was one person who did most of the songwriting, you can add it here
- genres: Which genres the band did mostly
- associated_bands: Other bands they worked with, shared members with, etc
- associated_venues: Venues they played a lot at, etc
- see_also: Anything else
- known_for: Why this band was important
- notable_for: Use this in place of known_for to automatically add the band to 'Notable Bands'.
- status: Is the band currently active, on hiatus, broken up, etc
- website: The band's main website. List others in the 'External Links' section.
Here's an example of what you'd stick into a band's page to put them in a template:
{{Band |alt_names=[[The Free Beers]], [[Free Beer and the Beers]], [[The Beers]] |genres=[[Hardcore Punk|Punk]], [[Easy Listening]], [[Grindcore]] |years_active=1995-2002 |main_songwriter=Dave |notable_for=Last band in town to release an 8-track tape |website=[http://www.geocities.com/thebeerpage|http://www.geocities.com/thebeerpage] |status=Broken up }}
If you have any other ideas for fields, email Tjernobyl.