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
Line 62: Line 62:
</table>
</table>


{{#if:{{{Image|}}}||[[Category:No Band Logo]]}}
<!-- Categories for logo -->
{{#if:{{{Image|}}}| |[[Category:No Band Logo]]}}
[[Category:Bands]]
[[Category:Bands]]


<!-- Active / Inactive -->
<!-- Active / Inactive -->
{{#if:{{{Active Years|}}}
{{#if:{{{Active Years|}}}
   | {{#ifeq:{{#pos:{{lc:{{{Active Years}}}}}|present}}||[[Category:Inactive bands]]|[[Category:Active bands]]}}
   | {{#ifeq:{{lc:{{{Active Years}}}}}|present|[[Category:Active bands]]|[[Category:Inactive bands]]}}
   | [[Category:Information needed]]
   | [[Category:Information needed]]
}}
}}
Line 73: Line 74:
<!-- Location / Country / US State -->
<!-- Location / Country / US State -->
{{#if:{{{Location|}}}
{{#if:{{{Location|}}}
    | {{#switch:{{uc:{{#trim:{{{Location}}}}}}}
  | {{#switch:{{uc:{{#trim:{{{Location}}}}}}}
     | ALABAMA=[[Category:Bands from Alabama (US)]][[Category:Bands from USA]]
     | ALABAMA=[[Category:Bands from Alabama (US)]][[Category:Bands from USA]]
     | ALASKA=[[Category:Bands from Alaska (US)]][[Category:Bands from USA]]
     | ALASKA=[[Category:Bands from Alaska (US)]][[Category:Bands from USA]]
Line 179: Line 180:
     | SOUTH AFRICA=[[Category:Bands from South Africa]]
     | SOUTH AFRICA=[[Category:Bands from South Africa]]
     | EGYPT=[[Category:Bands from Egypt]]
     | EGYPT=[[Category:Bands from Egypt]]
     | #default=[[Category:Bands from {{#trim:{{{x|}}}}}]]
     | #default=[[Category:Bands from {{#trim:{{{Location|}}}}}]]
    }}
  }}
  }}
  | [[Category:Information needed]]
| [[Category:Information needed]]
}}
}}
</includeonly>
</includeonly>

Revision as of 07:51, 1 April 2026