Template:StatusBadges: Difference between revisions
Template page
More actions
| [checked revision] | [checked revision] |
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{#switch:{{{1}}} | {{#switch:{{{1}}} | ||
| | | 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>|}} | ||
| | | 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>|}} | ||
| | | 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>|}} | ||
| | | CriminalActive = <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:Criminal_Groups/Active]]</includeonly>|}} | ||
| | | CriminalDisbanded = <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:Criminal_Groups/Disbanded]]</includeonly>|}} | ||
| | | CriminalMerged = <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:Criminal_Groups/Merged]]</includeonly>|}} | ||
| | | CriminalDestroyed = <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:Criminal_Groups/Destroyed]]</includeonly>|}} | ||
| | | CriminalDismantled = <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:Criminal_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: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: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: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: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: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>|}} | | #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>|}} | ||
| Line 48: | Line 48: | ||
== Examples == | == Examples == | ||
=== Players === | === Players === | ||
{{StatusBadges| | {{StatusBadges|PlayerActive|categorize=false}} | ||
{{StatusBadges| | {{StatusBadges|PlayerRetired|categorize=false}} | ||
=== Characters === | === Characters === | ||
{{StatusBadges| | {{StatusBadges|CharacterPresent|categorize=false}} | ||
{{StatusBadges| | {{StatusBadges|CharacterAway|categorize=false}} | ||
{{StatusBadges| | {{StatusBadges|CharacterDeceased|categorize=false}} | ||
{{StatusBadges| | {{StatusBadges|CharacterImprisoned|categorize=false}} | ||
{{StatusBadges| | {{StatusBadges|CharacterMissing|categorize=false}} | ||
=== Criminal Groups === | === Criminal Groups === | ||
{{StatusBadges| | {{StatusBadges|CriminalActive|categorize=false}} | ||
{{StatusBadges| | {{StatusBadges|CriminalDisbanded|categorize=false}} | ||
{{StatusBadges| | {{StatusBadges|CriminalMerged|categorize=false}} | ||
{{StatusBadges| | {{StatusBadges|CriminalDestroyed|categorize=false}} | ||
{{StatusBadges| | {{StatusBadges|CriminalDismantled|categorize=false}} | ||
=== Businesses === | === Businesses === | ||
{{StatusBadges| | {{StatusBadges|EnterpriseActive|categorize=false}} | ||
{{StatusBadges| | {{StatusBadges|EnterpriseClosed|categorize=false}} | ||
{{StatusBadges| | {{StatusBadges|EnterpriseTempClosed|categorize=false}} | ||
=== Political Parties === | === Political Parties === | ||
{{StatusBadges| | {{StatusBadges|PartyActive|categorize=false}} | ||
{{StatusBadges| | {{StatusBadges|PartyDissolved|categorize=false}} | ||
{{StatusBadges| | {{StatusBadges|PartyMerged|categorize=false}} | ||
{{StatusBadges| | {{StatusBadges|PartyBanned|categorize=false}} | ||
{{StatusBadges| | {{StatusBadges|PartyDormant|categorize=false}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 20:11, 4 September 2025
❌ SYNTAX ERROR
Template for stylish status badges (players or criminal groups) with enhanced 3D effects and premium styling.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | Status: Active, Retired, Disbanded, Merged, Destroyed, Arrested, etc. | Unknown | required |
| categorize | categorize | Whether to add the page to the appropriate category. Defaults to 'true'. Set to 'false' to display badge without categorization.
| Unknown | optional |
Examples
Players
🟢 ACTIVE
⏸️ RETIRED
Characters
🟢 PRESENT
🌍 AWAY
⚰️ DECEASED
🚔 IMPRISONED
❓ MISSING
Criminal Groups
🟢 ACTIVE
⚪ DISBANDED
🔗 MERGED
💀 DESTROYED
🚓 DISMANTLED
Businesses
🟢 ACTIVE
🔴 CLOSED
🟡 TEMPORARILY CLOSED
Political Parties
🟢 ACTIVE
❌ DISSOLVED
🔗 MERGED
🚫 BANNED
🟡 DORMANT