Difference between revisions of "Classes: Command"
Jump to navigation
Jump to search
(removed HorsebackRiding perk from officer) |
|||
| Line 1: | Line 1: | ||
| − | + | <noinclude> | |
| + | [[Category:Templates]] | ||
| + | This is the modern Class Infobox template. | ||
| + | </noinclude> | ||
| + | <includeonly> | ||
| + | {{{h|=}}}{{{name}}}{{{h|=}}} | ||
| − | + | <div style="float: right; width: 350px; margin-left: 20px; border: 1px solid #d1d1d1; background-color: #fcfcfc; font-family: 'Segoe UI', Roboto, sans-serif; box-shadow: 0 4px 10px rgba(0,0,0,0.1); border-radius: 4px; overflow: hidden;"> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{ | + | <div style="background: linear-gradient(to right, #333, #444); color: white; padding: 15px; display: flex; align-items: center; gap: 15px;"> |
| − | |enum= | + | <div style="width: 70px; height: 70px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; background: #222; flex-shrink: 0;"> |
| − | | | + | {{#invoke: ApplyPattern | apply |{{{factions}}}| {{ClassPortrait|%pattern%|{{{enum}}}}} }} |
| − | + | </div> | |
| − | | | + | <div> |
| − | | | + | <div style="font-size: 1.2em; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px;">{{{name}}}</div> |
| − | | | + | <div style="font-size: 0.8em; opacity: 0.8;">"{{#invoke: ApplyPattern | applyTemplate | {{{factions}}} | Faction/FactionName | 1 |, | test}}"</div> |
| − | + | </div> | |
| − | + | </div> | |
| − | + | ||
| − | | | + | <div style="padding: 15px; border-bottom: 1px solid #eee;"> |
| − | | | + | <div style="font-size: 1em; font-weight: bold; color: #444; margin-bottom: 10px; border-bottom: 2px solid #555; display: inline-block;">Class Statistics</div> |
| − | + | ||
| − | |equipment= | + | <div style="display: flex; justify-content: space-between; align-items: center;"> |
| − | | | + | <div style="flex: 1;"> |
| − | | | + | <table style="width: 100%; font-size: 0.9em; border-collapse: collapse;"> |
| + | <tr> | ||
| + | <td style="padding: 5px 0; color: #666;">Health</td> | ||
| + | <td style="text-align: right;">{{StatBar|max=125|value={{{healthbase}}}|bonus={{{healthbonus}}}|width=80}}</td> | ||
| + | </tr> | ||
| + | <tr> | ||
| + | <td style="padding: 5px 0; color: #666;">Agility</td> | ||
| + | <td style="text-align: right;"><b>{{{agilitybase}}}</b> <small style="color: green;">(+{{{agilitybonus}}})</small></td> | ||
| + | </tr> | ||
| + | <tr> | ||
| + | <td style="padding: 5px 0; color: #666;">Swimming</td> | ||
| + | <td style="text-align: right;"><b>{{{swimmingbase}}}</b></td> | ||
| + | </tr> | ||
| + | </table> | ||
| + | </div> | ||
| + | |||
| + | <div style="width: 140px; height: 140px; background: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-left: 10px; border: 1px solid #ccc;"> | ||
| + | {{#invoke: ApplyPattern | apply |{{{factions}}}| {{ClassFull|%pattern%|{{{enum}}}}} }} | ||
| + | </div> | ||
| + | </div> | ||
| + | </div> | ||
| + | |||
| + | <div style="padding: 15px; background: #fff;"> | ||
| + | <div style="font-size: 0.95em; font-weight: bold; margin-bottom: 8px;">Weapons</div> | ||
| + | <div style="background: #2a2e33; color: white; padding: 5px 10px; font-size: 0.85em; font-weight: bold; border-radius: 3px 3px 0 0;"> | ||
| + | British | ||
| + | </div> | ||
| + | <div style="border: 1px solid #ddd; border-top: none; padding: 10px; font-size: 0.9em;"> | ||
| + | {{#invoke: ApplyPattern | applyTemplate | {{{weapon_british}}} | WeaponDisplay | enum}} | ||
| + | </div> | ||
| + | </div> | ||
| + | |||
| + | <div style="padding: 15px; background: #f9f9f9; border-top: 1px solid #eee;"> | ||
| + | <div style="font-size: 0.95em; font-weight: bold; margin-bottom: 5px;">Other Equipment</div> | ||
| + | <div style="background: #fff; border: 1px solid #ddd; padding: 10px; border-radius: 4px; display: flex; align-items: center; gap: 10px; font-size: 0.9em;"> | ||
| + | {{#invoke: ApplyPattern | applyTemplate |{{{equipment|}}}| Equipment | enum}} | ||
| + | </div> | ||
| + | </div> | ||
| + | |||
| + | </div> | ||
| + | |||
| + | <div style="margin-right: 370px;"> | ||
| + | {{{description}}} | ||
| + | |||
| + | {{{h|=}}} Traits and Abilities {{{h|=}}} | ||
| + | {{#ifeq: {{{traits|}}}||| '''Traits:''' {{#invoke: ApplyPattern | applyTemplate | {{{traits}}} | TraitAbility | enum}} }} | ||
| + | {{#ifeq: {{{abilities|}}}||| '''Abilities:''' {{#invoke: ApplyPattern | applyTemplate | {{{abilities}}} | TraitAbility | enum}} }} | ||
| + | </div> | ||
| + | |||
| + | <div style="clear: both;"></div> | ||
| + | </includeonly> | ||
Revision as of 02:40, 24 January 2026
This is the modern Class Infobox template.