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

Template:StatusBadges: Difference between revisions

Template page
[checked revision][checked revision]
mNo edit summary
Rename CriminalGroups to Groups; update category paths
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1}}}
{{#switch:{{{1}}}
| Active = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #4CAF50; background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 50%, #CDDC39 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(76,175,80,0.3), inset 0 1px 0 rgba(255,255,255,0.2); transition: all 0.3s ease; cursor: default; letter-spacing: 0.5px;">🟢 ACTIVE</span>[[Category:Players/Active]]
| PlayerActive = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #4CAF50; background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 50%, #CDDC39 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(76,175,80,0.3), inset 0 1px 0 rgba(255,255,255,0.2); transition: all 0.3s ease; cursor: default; letter-spacing: 0.5px;">🟢 ACTIVE</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Players/Active]]</includeonly>|}}
| Retired = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #F44336; background: linear-gradient(135deg, #F44336 0%, #E91E63 50%, #9C27B0 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(244,67,54,0.3), inset 0 1px 0 rgba(255,255,255,0.2); transition: all 0.3s ease; cursor: default; letter-spacing: 0.5px;">⏸️ RETIRED</span>[[Category:Players/Retired]]
| PlayerRetired = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #F44336; background: linear-gradient(135deg, #F44336 0%, #E91E63 50%, #9C27B0 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(244,67,54,0.3), inset 0 1px 0 rgba(255,255,255,0.2); transition: all 0.3s ease; cursor: default; letter-spacing: 0.5px;">⏸️ RETIRED</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Players/Retired]]</includeonly>|}}
| #default = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #F44336; background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(244,67,54,0.3); cursor: default; letter-spacing: 0.5px;">❌ SYNTAX ERROR</span>[[Category:Pages with syntax errors]]
 
}}</includeonly>
| CharacterPresent = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #4CAF50; background: linear-gradient(135deg, #388E3C 0%, #66BB6A 50%, #C8E6C9 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(56,142,60,0.3); cursor: default; letter-spacing: 0.5px;">🟢 PRESENT</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Characters/Present]]</includeonly>|}}
| CharacterAway = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #03A9F4; background: linear-gradient(135deg, #0288D1 0%, #29B6F6 50%, #B3E5FC 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(3,169,244,0.3); cursor: default; letter-spacing: 0.5px;">🌍 AWAY</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Characters/Away]]</includeonly>|}}
| CharacterDeceased = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #212121; background: linear-gradient(135deg, #424242 0%, #616161 50%, #9E9E9E 100%); border-radius: 25px; color: #FFEB3B; font-weight: bold; font-size: 14px; text-shadow: 0 1px 3px rgba(0,0,0,0.6); box-shadow: 0 4px 8px rgba(0,0,0,0.4); cursor: default; letter-spacing: 0.5px;">⚰️ DECEASED</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Characters/Deceased]]</includeonly>|}}
| CharacterImprisoned = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #FF9800; background: linear-gradient(135deg, #EF6C00 0%, #FF9800 50%, #FFE0B2 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(255,152,0,0.4); cursor: default; letter-spacing: 0.5px;">🚔 IMPRISONED</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Characters/Imprisoned]]</includeonly>|}}
| CharacterMissing = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #9C27B0; background: linear-gradient(135deg, #6A1B9A 0%, #AB47BC 50%, #E1BEE7 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.4); box-shadow: 0 4px 8px rgba(156,39,176,0.3); cursor: default; letter-spacing: 0.5px;">❓ MISSING</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Characters/Missing]]</includeonly>|}}
 
| GroupActive = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #4CAF50; background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 50%, #CDDC39 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(76,175,80,0.3), inset 0 1px 0 rgba(255,255,255,0.2); transition: all 0.3s ease; cursor: default; letter-spacing: 0.5px;">🟢 ACTIVE</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Groups/Active]]</includeonly>|}}
| GroupDisbanded = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #9E9E9E; background: linear-gradient(135deg, #9E9E9E 0%, #BDBDBD 50%, #E0E0E0 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.4); box-shadow: 0 4px 8px rgba(158,158,158,0.3); cursor: default; letter-spacing: 0.5px;">⚪ DISBANDED</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Groups/Disbanded]]</includeonly>|}}
| GroupMerged = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #9C27B0; background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 50%, #E1BEE7 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(156,39,176,0.3); cursor: default; letter-spacing: 0.5px;">🔗 MERGED</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Groups/Merged]]</includeonly>|}}
| GroupDestroyed = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #000000; background: linear-gradient(135deg, #212121 0%, #424242 50%, #616161 100%); border-radius: 25px; color: #FFEB3B; font-weight: bold; font-size: 14px; text-shadow: 0 1px 3px rgba(0,0,0,0.6); box-shadow: 0 4px 8px rgba(0,0,0,0.5); cursor: default; letter-spacing: 0.5px;">💀 DESTROYED</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Groups/Destroyed]]</includeonly>|}}
| GroupDismantled = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #2196F3; background: linear-gradient(135deg, #2196F3 0%, #1976D2 50%, #0D47A1 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(33,150,243,0.3); cursor: default; letter-spacing: 0.5px;">🚓 DISMANTLED</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Groups/Dismantled]]</includeonly>|}}
 
| EnterpriseActive = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #4CAF50; background: linear-gradient(135deg, #4CAF50 0%, #81C784 50%, #C8E6C9 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(76,175,80,0.3); cursor: default; letter-spacing: 0.5px;">🟢 ACTIVE</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Businesses/Active]]</includeonly>|}}
| EnterpriseClosed = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #F44336; background: linear-gradient(135deg, #F44336 0%, #E57373 50%, #FFCDD2 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(244,67,54,0.3); cursor: default; letter-spacing: 0.5px;">🔴 CLOSED</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Businesses/Closed]]</includeonly>|}}
| EnterpriseTempClosed = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #FFEB3B; background: linear-gradient(135deg, #FBC02D 0%, #FFD54F 50%, #FFF9C4 100%); border-radius: 25px; color: black; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(255,255,255,0.6); box-shadow: 0 4px 8px rgba(251,192,45,0.4); cursor: default; letter-spacing: 0.5px;">🟡 TEMPORARILY CLOSED</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Businesses/Temporarily_Closed]]</includeonly>|}}
 
| PartyActive = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #4CAF50; background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 50%, #CDDC39 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(76,175,80,0.3), inset 0 1px 0 rgba(255,255,255,0.2); transition: all 0.3s ease; cursor: default; letter-spacing: 0.5px;">🟢 ACTIVE</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Political_Parties/Active]]</includeonly>|}}
| PartyDissolved = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #F44336; background: linear-gradient(135deg, #B71C1C 0%, #F44336 50%, #FFCDD2 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(244,67,54,0.3); cursor: default; letter-spacing: 0.5px;">❌ DISSOLVED</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Political_Parties/Dissolved]]</includeonly>|}}
| PartyMerged = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #9C27B0; background: linear-gradient(135deg, #6A1B9A 0%, #AB47BC 50%, #E1BEE7 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(156,39,176,0.3); cursor: default; letter-spacing: 0.5px;">🔗 MERGED</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Political_Parties/Merged]]</includeonly>|}}
| PartyBanned = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #000000; background: linear-gradient(135deg, #212121 0%, #424242 50%, #9E9E9E 100%); border-radius: 25px; color: #FFEB3B; font-weight: bold; font-size: 14px; text-shadow: 0 1px 3px rgba(0,0,0,0.6); box-shadow: 0 4px 8px rgba(0,0,0,0.5); cursor: default; letter-spacing: 0.5px;">🚫 BANNED</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Political_Parties/Banned]]</includeonly>|}}
| PartyDormant = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #FFEB3B; background: linear-gradient(135deg, #F9A825 0%, #FFD54F 50%, #FFF9C4 100%); border-radius: 25px; color: black; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(255,255,255,0.6); box-shadow: 0 4px 8px rgba(255,235,59,0.4); cursor: default; letter-spacing: 0.5px;">🟡 DORMANT</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Political_Parties/Dormant]]</includeonly>|}}
 
| #default = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #F44336; background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%); border-radius: 25px; color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); box-shadow: 0 4px 8px rgba(244,67,54,0.3); cursor: default; letter-spacing: 0.5px;">❌ SYNTAX ERROR</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Pages with syntax errors]]</includeonly>|}}
}}
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 10: Line 33:
"1": {
"1": {
"required": true,
"required": true,
"description": "Player status: Active, Retired, etc."
"description": "Status key. See examples below for all valid values."
},
"categorize": {
"required": false,
"description": "Whether to add the page to the appropriate category. Defaults to 'true'. Set to 'false' to display badge without categorization.",
"default": "true"
}
}
},
},
"description": "Template for stylish player status badges with enhanced 3D effects, deeper shadows, and premium button styling.",
"description": "Renders a stylised status badge and optionally categorises the page.",
"format": "inline"
"format": "inline"
}
}
Line 19: Line 47:


== Examples ==
== Examples ==
{{PlayerStatus|Active}} → Stylish Active badge
=== Players ===
{{StatusBadges|PlayerActive|categorize=false}}
{{StatusBadges|PlayerRetired|categorize=false}}
 
=== Characters ===
{{StatusBadges|CharacterPresent|categorize=false}}
{{StatusBadges|CharacterAway|categorize=false}}
{{StatusBadges|CharacterDeceased|categorize=false}}
{{StatusBadges|CharacterImprisoned|categorize=false}}
{{StatusBadges|CharacterMissing|categorize=false}}
 
=== Groups ===
{{StatusBadges|GroupActive|categorize=false}}
{{StatusBadges|GroupDisbanded|categorize=false}}
{{StatusBadges|GroupMerged|categorize=false}}
{{StatusBadges|GroupDestroyed|categorize=false}}
{{StatusBadges|GroupDismantled|categorize=false}}
 
=== Businesses ===
{{StatusBadges|EnterpriseActive|categorize=false}}
{{StatusBadges|EnterpriseClosed|categorize=false}}
{{StatusBadges|EnterpriseTempClosed|categorize=false}}


{{PlayerStatus|Retired}} → Stylish Retired badge
=== Political Parties ===
{{StatusBadges|PartyActive|categorize=false}}
{{StatusBadges|PartyDissolved|categorize=false}}
{{StatusBadges|PartyMerged|categorize=false}}
{{StatusBadges|PartyBanned|categorize=false}}
{{StatusBadges|PartyDormant|categorize=false}}
</noinclude>
</noinclude>

Latest revision as of 07:40, 11 June 2026

❌ SYNTAX ERROR

Renders a stylised status badge and optionally categorises the page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Status key. See examples below for all valid values.

Unknownrequired
categorizecategorize

Whether to add the page to the appropriate category. Defaults to 'true'. Set to 'false' to display badge without categorization.

Default
true
Unknownoptional

Examples

Players

🟢 ACTIVE

⏸️ RETIRED


Characters

🟢 PRESENT

🌍 AWAY

⚰️ DECEASED

🚔 IMPRISONED

❓ MISSING


Groups

🟢 ACTIVE

⚪ DISBANDED

🔗 MERGED

💀 DESTROYED

🚓 DISMANTLED


Businesses

🟢 ACTIVE

🔴 CLOSED

🟡 TEMPORARILY CLOSED


Political Parties

🟢 ACTIVE

❌ DISSOLVED

🔗 MERGED

🚫 BANNED

🟡 DORMANT