Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:BandInfo: Difference between revisions

Template page
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 10: Line 10:
<tr>
<tr>
<td colspan="2" style="text-align:center; padding:10px; border-bottom:1px solid #280000;">
<td colspan="2" style="text-align:center; padding:10px; border-bottom:1px solid #280000;">
[[File:{{{Image}}}|{{{Image size|center}}}|link=|alt={{{Caption|}}}]]
[[File:{{{Image}}}|{{{Image size|220px}}}|link=|alt={{{Caption|}}}]]
{{#if:{{{Caption|}}}|<div style="font-size:90%; padding-top:5px; color:#ccc;">{{{Caption}}}</div>}}
{{#if:{{{Caption|}}}|<div style="font-size:90%; padding-top:5px; color:#ccc;">{{{Caption}}}</div>}}
</td>
</td>
Line 23: Line 23:
}}
}}


{{#if:{{{Active Years|}}}|
<tr>
<tr>
<th scope="row" style="text-align:left; padding:5px;">Active Years</th>
<th scope="row" style="text-align:left; padding:5px;">Active Years</th>
<td style="padding:5px;">{{{Active Years}}}</td>
<td style="padding:5px;">{{#if:{{{Active Years|}}}|{{{Active Years}}}|<span style="color:#ff4444;">Information needed</span>[[Category:Information needed]]}}</td>
</tr>
</tr>
}}


{{#if:{{{Location|}}}|
<tr>
<tr>
<th scope="row" style="text-align:left; padding:5px;">Origin</th>
<th scope="row" style="text-align:left; padding:5px;">Origin</th>
<td style="padding:5px;" class="location">{{{Location}}}</td>
<td style="padding:5px;" class="location">{{#if:{{{Location|}}}|{{{Location}}}|<span style="color:#ff4444;">Information needed</span>[[Category:Information needed]]}}</td>
</tr>
}}
 
{{#if:{{{Members|}}}|
<tr>
<th colspan="2" style="text-align:left; background:#222; padding:4px 8px; border-top:1px solid #280000; border-bottom:1px solid #280000;">Members</th>
</tr>
<tr>
<td colspan="2" style="padding:8px; line-height:1.4em;">{{{Members}}}</td>
</tr>
</tr>
}}


{{#if:{{{Related Bands|}}}|
{{#if:{{{Related Bands|}}}|
Line 59: Line 46:
</tr>
</tr>
}}
}}
</table>
</table>


{{#if:{{{Image|}}}||[[Category:No Band Logo]]}}
[[Category:Bands]]
[[Category:Bands]]


<!-- Active / Inactive -->
{{#if:{{{Status|}}}|{{#switch:{{lc:{{{Status}}}}}
{{#if:{{{Active Years|}}}
| active = [[Category:Active bands]]
  | {{#ifeq:{{#pos:{{lc:{{{Active Years}}}}}|present}}||[[Category:Inactive bands]]|[[Category:Active bands]]}}
| inactive = [[Category:Inactive bands]]
  | [[Category:Information needed]]
| unknown = [[Category:Information needed]]
}}
| #default = [[Category:Information needed]]
}}|[[Category:Information needed]]}}
 
{{#if:{{{State|}}}|{{#switch:{{lc:{{{Country}}}}}
| us
| usa
| united states = [[Category:Bands from {{{State}}} (US)]]
| #default = [[Category:Bands from {{{State}}}]]
}}}}
{{#if:{{{Country|}}}|[[Category:Bands from {{{Country}}}]]}}


<!-- Location / Country / US State -->
{{#if:{{{Location|}}}
    | {{#switch:{{uc:{{#trim:{{{Location}}}}}}}
    | ALABAMA=[[Category:Bands from Alabama (US)]][[Category:Bands from USA]]
    | ALASKA=[[Category:Bands from Alaska (US)]][[Category:Bands from USA]]
    | ARIZONA=[[Category:Bands from Arizona (US)]][[Category:Bands from USA]]
    | ARKANSAS=[[Category:Bands from Arkansas (US)]][[Category:Bands from USA]]
    | CALIFORNIA=[[Category:Bands from California (US)]][[Category:Bands from USA]]
    | COLORADO=[[Category:Bands from Colorado (US)]][[Category:Bands from USA]]
    | CONNECTICUT=[[Category:Bands from Connecticut (US)]][[Category:Bands from USA]]
    | DELAWARE=[[Category:Bands from Delaware (US)]][[Category:Bands from USA]]
    | FLORIDA=[[Category:Bands from Florida (US)]][[Category:Bands from USA]]
    | GEORGIA=[[Category:Bands from Georgia (US)]][[Category:Bands from USA]]
    | HAWAII=[[Category:Bands from Hawaii (US)]][[Category:Bands from USA]]
    | IDAHO=[[Category:Bands from Idaho (US)]][[Category:Bands from USA]]
    | ILLINOIS=[[Category:Bands from Illinois (US)]][[Category:Bands from USA]]
    | INDIANA=[[Category:Bands from Indiana (US)]][[Category:Bands from USA]]
    | IOWA=[[Category:Bands from Iowa (US)]][[Category:Bands from USA]]
    | KANSAS=[[Category:Bands from Kansas (US)]][[Category:Bands from USA]]
    | KENTUCKY=[[Category:Bands from Kentucky (US)]][[Category:Bands from USA]]
    | LOUISIANA=[[Category:Bands from Louisiana (US)]][[Category:Bands from USA]]
    | MAINE=[[Category:Bands from Maine (US)]][[Category:Bands from USA]]
    | MARYLAND=[[Category:Bands from Maryland (US)]][[Category:Bands from USA]]
    | MASSACHUSETTS=[[Category:Bands from Massachusetts (US)]][[Category:Bands from USA]]
    | MICHIGAN=[[Category:Bands from Michigan (US)]][[Category:Bands from USA]]
    | MINNESOTA=[[Category:Bands from Minnesota (US)]][[Category:Bands from USA]]
    | MISSISSIPPI=[[Category:Bands from Mississippi (US)]][[Category:Bands from USA]]
    | MISSOURI=[[Category:Bands from Missouri (US)]][[Category:Bands from USA]]
    | MONTANA=[[Category:Bands from Montana (US)]][[Category:Bands from USA]]
    | NEBRASKA=[[Category:Bands from Nebraska (US)]][[Category:Bands from USA]]
    | NEVADA=[[Category:Bands from Nevada (US)]][[Category:Bands from USA]]
    | NEW HAMPSHIRE=[[Category:Bands from New Hampshire (US)]][[Category:Bands from USA]]
    | NEW JERSEY=[[Category:Bands from New Jersey (US)]][[Category:Bands from USA]]
    | NEW MEXICO=[[Category:Bands from New Mexico (US)]][[Category:Bands from USA]]
    | NEW YORK=[[Category:Bands from New York (US)]][[Category:Bands from USA]]
    | NORTH CAROLINA=[[Category:Bands from North Carolina (US)]][[Category:Bands from USA]]
    | NORTH DAKOTA=[[Category:Bands from North Dakota (US)]][[Category:Bands from USA]]
    | OHIO=[[Category:Bands from Ohio (US)]][[Category:Bands from USA]]
    | OKLAHOMA=[[Category:Bands from Oklahoma (US)]][[Category:Bands from USA]]
    | OREGON=[[Category:Bands from Oregon (US)]][[Category:Bands from USA]]
    | PENNSYLVANIA=[[Category:Bands from Pennsylvania (US)]][[Category:Bands from USA]]
    | RHODE ISLAND=[[Category:Bands from Rhode Island (US)]][[Category:Bands from USA]]
    | SOUTH CAROLINA=[[Category:Bands from South Carolina (US)]][[Category:Bands from USA]]
    | SOUTH DAKOTA=[[Category:Bands from South Dakota (US)]][[Category:Bands from USA]]
    | TENNESSEE=[[Category:Bands from Tennessee (US)]][[Category:Bands from USA]]
    | TEXAS=[[Category:Bands from Texas (US)]][[Category:Bands from USA]]
    | UTAH=[[Category:Bands from Utah (US)]][[Category:Bands from USA]]
    | VERMONT=[[Category:Bands from Vermont (US)]][[Category:Bands from USA]]
    | VIRGINIA=[[Category:Bands from Virginia (US)]][[Category:Bands from USA]]
    | WASHINGTON=[[Category:Bands from Washington (US)]][[Category:Bands from USA]]
    | WEST VIRGINIA=[[Category:Bands from West Virginia (US)]][[Category:Bands from USA]]
    | WISCONSIN=[[Category:Bands from Wisconsin (US)]][[Category:Bands from USA]]
    | WYOMING=[[Category:Bands from Wyoming (US)]][[Category:Bands from USA]]
    | USA=[[Category:Bands from USA]]
    | US=[[Category:Bands from USA]]
    | UNITED STATES=[[Category:Bands from USA]]
    | UK=[[Category:Bands from UK]]
    | UNITED KINGDOM=[[Category:Bands from UK]]
    | ENGLAND=[[Category:Bands from England]][[Category:Bands from UK]]
    | SCOTLAND=[[Category:Bands from Scotland]][[Category:Bands from UK]]
    | WALES=[[Category:Bands from Wales]][[Category:Bands from UK]]
    | NORTHERN IRELAND=[[Category:Bands from Northern Ireland]][[Category:Bands from UK]]
    | CANADA=[[Category:Bands from Canada]]
    | AUSTRALIA=[[Category:Bands from Australia]]
    | NEW ZEALAND=[[Category:Bands from New Zealand]]
    | GERMANY=[[Category:Bands from Germany]]
    | FRANCE=[[Category:Bands from France]]
    | ITALY=[[Category:Bands from Italy]]
    | SPAIN=[[Category:Bands from Spain]]
    | PORTUGAL=[[Category:Bands from Portugal]]
    | NETHERLANDS=[[Category:Bands from Netherlands]]
    | BELGIUM=[[Category:Bands from Belgium]]
    | SWITZERLAND=[[Category:Bands from Switzerland]]
    | AUSTRIA=[[Category:Bands from Austria]]
    | SWEDEN=[[Category:Bands from Sweden]]
    | NORWAY=[[Category:Bands from Norway]]
    | DENMARK=[[Category:Bands from Denmark]]
    | FINLAND=[[Category:Bands from Finland]]
    | POLAND=[[Category:Bands from Poland]]
    | CZECH REPUBLIC=[[Category:Bands from Czech Republic]]
    | HUNGARY=[[Category:Bands from Hungary]]
    | ROMANIA=[[Category:Bands from Romania]]
    | GREECE=[[Category:Bands from Greece]]
    | IRELAND=[[Category:Bands from Ireland]]
    | RUSSIA=[[Category:Bands from Russia]]
    | UKRAINE=[[Category:Bands from Ukraine]]
    | JAPAN=[[Category:Bands from Japan]]
    | CHINA=[[Category:Bands from China]]
    | SOUTH KOREA=[[Category:Bands from South Korea]]
    | TAIWAN=[[Category:Bands from Taiwan]]
    | INDIA=[[Category:Bands from India]]
    | THAILAND=[[Category:Bands from Thailand]]
    | SINGAPORE=[[Category:Bands from Singapore]]
    | MALAYSIA=[[Category:Bands from Malaysia]]
    | INDONESIA=[[Category:Bands from Indonesia]]
    | PHILIPPINES=[[Category:Bands from Philippines]]
    | VIETNAM=[[Category:Bands from Vietnam]]
    | BRAZIL=[[Category:Bands from Brazil]]
    | MEXICO=[[Category:Bands from Mexico]]
    | ARGENTINA=[[Category:Bands from Argentina]]
    | CHILE=[[Category:Bands from Chile]]
    | COLOMBIA=[[Category:Bands from Colombia]]
    | PERU=[[Category:Bands from Peru]]
    | VENEZUELA=[[Category:Bands from Venezuela]]
    | ISRAEL=[[Category:Bands from Israel]]
    | TURKEY=[[Category:Bands from Turkey]]
    | SOUTH AFRICA=[[Category:Bands from South Africa]]
    | EGYPT=[[Category:Bands from Egypt]]
    | #default=[[Category:Bands from {{#trim:{{{x|}}}}}]]
    }}
  }}
| [[Category:Information needed]]
}}
</includeonly>
</includeonly>

Latest revision as of 21:48, 2 April 2026