From Thunder Bay Bandwiki
(only display template if there are some items present) |
(string types) |
||
Line 35: | Line 35: | ||
<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> | ||
− | </nowiki>{{#if:{{{alt_names|}}}|<tr><td bgcolor="#e7dcc3">Alternative names</td><td>{{{alt_names|}}}{{#set:alt_names={{{alt_names}}}}}</td></tr>}}<nowiki> | + | </nowiki>{{#if:{{{alt_names|}}}|<tr><td bgcolor="#e7dcc3">Alternative names</td><td>{{{alt_names|}}}{{#set:String::alt_names={{{alt_names}}}}}</td></tr>}}<nowiki> |
− | </nowiki>{{#if:{{{years_active}}}|<tr><td bgcolor="#e7dcc3">Years active</td><td>{{{years_active|}}}{{#set:years_active={{{years_active}}}}}</td></tr>}}<nowiki> | + | </nowiki>{{#if:{{{years_active}}}|<tr><td bgcolor="#e7dcc3">Years active</td><td>{{{years_active|}}}{{#set:String::years_active={{{years_active}}}}}</td></tr>}}<nowiki> |
− | </nowiki>{{#if:{{{location|}}}|<tr><td bgcolor="#e7dcc3">Location</td><td>{{{location|}}}{{#set:location={{{location}}}}}</td></tr>|{{#set:location=Thunder Bay}}}}<nowiki> | + | </nowiki>{{#if:{{{location|}}}|<tr><td bgcolor="#e7dcc3">Location</td><td>{{{location|}}}{{#set:String::location={{{location}}}}}</td></tr>|{{#set:location=Thunder Bay}}}}<nowiki> |
− | </nowiki>{{#if:{{{genres|}}}|<tr><td bgcolor="#e7dcc3">Genres</td><td>{{{genres|}}}{{#set:genres={{{genres}}}}}</td></tr>}}<nowiki> | + | </nowiki>{{#if:{{{genres|}}}|<tr><td bgcolor="#e7dcc3">Genres</td><td>{{{genres|}}}{{#set:String::genres={{{genres}}}}}</td></tr>}}<nowiki> |
− | </nowiki>{{#if:{{{main_songwriter|}}}|<tr><td bgcolor="#e7dcc3">Main songwriter</td><td>{{{main_songwriter|}}}{{#set:main_songwriter={{{main_songwriter}}}}}</td></tr>}}<nowiki> | + | </nowiki>{{#if:{{{main_songwriter|}}}|<tr><td bgcolor="#e7dcc3">Main songwriter</td><td>{{{main_songwriter|}}}{{#set:String::main_songwriter={{{main_songwriter}}}}}</td></tr>}}<nowiki> |
− | </nowiki>{{#if:{{{associated_bands|}}}|<tr><td bgcolor="#e7dcc3">Associated bands</td><td>{{{associated_bands|}}}{{#set:associated_bands={{{associated_bands}}}}}</td></tr>}}<nowiki> | + | </nowiki>{{#if:{{{associated_bands|}}}|<tr><td bgcolor="#e7dcc3">Associated bands</td><td>{{{associated_bands|}}}{{#set:String::associated_bands={{{associated_bands}}}}}</td></tr>}}<nowiki> |
− | </nowiki>{{#if:{{{associated_venues|}}}|<tr><td bgcolor="#e7dcc3">Associated venues</td><td>{{{associated_venues|}}}{{#set:associated_venues={{{associated_venues}}}}}</td></tr>}}<nowiki> | + | </nowiki>{{#if:{{{associated_venues|}}}|<tr><td bgcolor="#e7dcc3">Associated venues</td><td>{{{associated_venues|}}}{{#set:String::associated_venues={{{associated_venues}}}}}</td></tr>}}<nowiki> |
− | </nowiki>{{#if:{{{see_also|}}}|<tr><td bgcolor="#e7dcc3">See also</td><td>{{{see_also|}}}{{#set:see_also={{{see_also}}}}}</td></tr>}}<nowiki> | + | </nowiki>{{#if:{{{see_also|}}}|<tr><td bgcolor="#e7dcc3">See also</td><td>{{{see_also|}}}{{#set:String::see_also={{{see_also}}}}}</td></tr>}}<nowiki> |
− | </nowiki>{{#if:{{{known_for|}}}|<tr><td bgcolor="#e7dcc3">Known for</td><td>{{{knownfor|}}}{{#set:knownfor={{{knownfor}}}}}</td></tr>}}<nowiki> | + | </nowiki>{{#if:{{{known_for|}}}|<tr><td bgcolor="#e7dcc3">Known for</td><td>{{{knownfor|}}}{{#set:String::knownfor={{{knownfor}}}}}</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:{{{notable_for|}}}|<tr><td bgcolor="#e7dcc3">Notable for</td><td>{{{notable_for|}}}{{#set:String::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:String::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:String::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:48, 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.