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
 
(3 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>
</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>
}}


{{#if:{{{Related Bands|}}}|
{{#if:{{{Related Bands|}}}|
Line 63: Line 50:
[[Category:Bands]]
[[Category:Bands]]


{{#if:{{{Status|}}}
{{#if:{{{Status|}}}|{{#switch:{{lc:{{{Status}}}}}
  | {{#ifeq:{{lc:{{{Status}}}}}|active|[[Category:Active bands]]|[[Category:Inactive bands]]}}
| active = [[Category:Active bands]]
  | [[Category:Information needed]]
| inactive = [[Category:Inactive bands]]
}}
| unknown = [[Category:Information needed]]
| #default = [[Category:Information needed]]
}}|[[Category:Information needed]]}}


{{#if:{{{State|}}}|[[Category:Bands from {{{State}}} (US)]]}}
{{#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}}}]]}}
{{#if:{{{Country|}}}|[[Category:Bands from {{{Country}}}]]}}


</includeonly>
</includeonly>

Latest revision as of 21:48, 2 April 2026