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}}} | ||
| 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><includeonly>[[Category:Players/Active]]</includeonly> | | 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>{{#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><includeonly>[[Category:Players/Retired]]</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>{{#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><includeonly>[[Category:Pages with syntax errors]]</includeonly> | |||
| Disbanded = <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:Gangs/Disbanded]]</includeonly>|}} | |||
| Merged = <span style="display:inline-block; padding: 2px 16px; border: 2px solid #3F51B5; background: linear-gradient(135deg, #3F51B5 0%, #2196F3 50%, #03A9F4 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(63,81,181,0.3); cursor: default; letter-spacing: 0.5px;">🔗 MERGED</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Gangs/Merged]]</includeonly>|}} | |||
| Destroyed = <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:Gangs/Destroyed]]</includeonly>|}} | |||
| Arrested = <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;">🚓 ARRESTED</span>{{#ifeq:{{{categorize|true}}}|true|<includeonly>[[Category:Gangs/Arrested]]</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> | ||
| Line 10: | Line 16: | ||
"1": { | "1": { | ||
"required": true, | "required": true, | ||
"description": " | "description": "Status: Active, Retired, Disbanded, Merged, Destroyed, Arrested, etc." | ||
}, | |||
"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 | "description": "Template for stylish status badges (players or criminal groups) with enhanced 3D effects and premium styling.", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
| Line 19: | Line 30: | ||
== Examples == | == Examples == | ||
=== Normal usage (with categorization) === | |||
{{StatusBadges|Active}} - Adds page to Category:Players/Active | |||
{{StatusBadges|Retired}} - Adds page to Category:Players/Retired | |||
{{StatusBadges|Disbanded}} - Adds page to Category:Gangs/Disbanded | |||
{{StatusBadges|Merged}} - Adds page to Category:Gangs/Merged | |||
{{StatusBadges|Destroyed}} - Adds page to Category:Gangs/Destroyed | |||
{{StatusBadges|Arrested}} - Adds page to Category:Gangs/Arrested | |||
</noinclude> | </noinclude> | ||
Revision as of 19:24, 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
Normal usage (with categorization)
🟢 ACTIVE
- Adds page to Category:Players/Active
⏸️ RETIRED
- Adds page to Category:Players/Retired
⚪ DISBANDED
- Adds page to Category:Gangs/Disbanded
🔗 MERGED
- Adds page to Category:Gangs/Merged
💀 DESTROYED
- Adds page to Category:Gangs/Destroyed
🚓 ARRESTED
- Adds page to Category:Gangs/Arrested