Difference between revisions of "Template:TraitAbilityDisplay"

From Holdfast: Nations At War
Jump to navigation Jump to search
 
Line 7: Line 7:
 
<pre>{{TraitAbilityDisplay|enum=AbleSwimmer}}</pre>
 
<pre>{{TraitAbilityDisplay|enum=AbleSwimmer}}</pre>
  
{{TraitAbilityDisplay|AbleSwimmer}}
+
{{TraitAbilityDisplay|enum=AbleSwimmer}}
  
{{TraitAbilityDisplay|ArtilleryOperator}}
+
{{TraitAbilityDisplay|enum=ArtilleryOperator}}
  
 
</noinclude>
 
</noinclude>
 
<includeonly>{| class=wikitable style="margin-bottom:0px;margin-top:0px"
 
<includeonly>{| class=wikitable style="margin-bottom:0px;margin-top:0px"
 
|-
 
|-
| style="width: 100px" | [[File:{{#switch: {{{1}}} | AbleSwimmer | Distinguishable | Resilient | LightFooted | Marksman | Skirmisher | EliteInfantry | MusketSpecialisation | BayonetSpecialisation | PikeSpecialisation | SwordSpecialisation | AxeSpecialisation | ChosenMan | CannonSpecialisation | RocketSpecialisation | RankDiscipline | BlunderbussSpecialisation | PistolSpecialisation | ExplosivesSpecialist = Trait| HighCommandArmy | HighCommandNaval | Medicine | EngineeringSpecialist | ArtilleryOperator | RocketOperator | RankAndFile | Guardsman | Musician | StandardBearer | ExplosivesHandling = Ability| default = Trait}}_{{{1}}}.png]]
+
| style="width: 100px" | [[File:{{#switch: {{{enum}}} | AbleSwimmer | Distinguishable | Resilient | LightFooted | Marksman | Skirmisher | EliteInfantry | MusketSpecialisation | BayonetSpecialisation | PikeSpecialisation | SwordSpecialisation | AxeSpecialisation | ChosenMan | CannonSpecialisation | RocketSpecialisation | RankDiscipline | BlunderbussSpecialisation | PistolSpecialisation | ExplosivesSpecialist = Trait| HighCommandArmy | HighCommandNaval | Medicine | EngineeringSpecialist | ArtilleryOperator | RocketOperator | RankAndFile | Guardsman | Musician | StandardBearer | ExplosivesHandling = Ability| default = Trait}}_{{{enum}}}.png]]
| style="width: 350px" | {{#switch: {{{1}}} | AbleSwimmer = Able Swimmer | Distinguishable = Distinguishable | Resilient = Resilient | LightFooted = Light Footed | Marksman = Marksman | Skirmisher = Skirmisher | EliteInfantry = Elite Infantry | MusketSpecialisation = Musket Specialisation | BayonetSpecialisation = Bayonet Specialisation | PikeSpecialisation = Pike Specialisation | SwordSpecialisation = Sword Specialisation | AxeSpecialisation = Axe Specialisation | ChosenMan = Chosen Man | CannonSpecialisation = Cannon Specialisation | RocketSpecialisation = Rocket Specialisation | RankDiscipline = Rank Discipline | BlunderbussSpecialisation = Blunderbuss Specialisation | PistolSpecialisation = Pistol Specialisation | ExplosivesSpecialist = Explosives Specialist | HighCommandArmy = High Command (Army) | HighCommandNaval = High Command (Naval) | Medicine = Medicine | EngineeringSpecialist = Engineering Specialist | ArtilleryOperator = Artillery Operator | RocketOperator = Rocket Operator | RankAndFile = Rank and File | Guardsman = Guardsman | Musician = Musician | StandardBearer = Standard Bearer | ExplosivesHandling = Explosives Handling | default = Undefined }}
+
| style="width: 350px" | {{#switch: {{{enum}}} | AbleSwimmer = Able Swimmer | Distinguishable = Distinguishable | Resilient = Resilient | LightFooted = Light Footed | Marksman = Marksman | Skirmisher = Skirmisher | EliteInfantry = Elite Infantry | MusketSpecialisation = Musket Specialisation | BayonetSpecialisation = Bayonet Specialisation | PikeSpecialisation = Pike Specialisation | SwordSpecialisation = Sword Specialisation | AxeSpecialisation = Axe Specialisation | ChosenMan = Chosen Man | CannonSpecialisation = Cannon Specialisation | RocketSpecialisation = Rocket Specialisation | RankDiscipline = Rank Discipline | BlunderbussSpecialisation = Blunderbuss Specialisation | PistolSpecialisation = Pistol Specialisation | ExplosivesSpecialist = Explosives Specialist | HighCommandArmy = High Command (Army) | HighCommandNaval = High Command (Naval) | Medicine = Medicine | EngineeringSpecialist = Engineering Specialist | ArtilleryOperator = Artillery Operator | RocketOperator = Rocket Operator | RankAndFile = Rank and File | Guardsman = Guardsman | Musician = Musician | StandardBearer = Standard Bearer | ExplosivesHandling = Explosives Handling | default = Undefined }}
| style="width: 500px" | {{#switch: {{{1}}} | %pattern%=test | AbleSwimmer = Lightly equipped. Your swimming speed is increased by 35%. | Distinguishable = Stand out from the rank and file. You appear differently on the mini-map. | Resilient = A strong sense of duty. Melee damage dealt to you by other players is reduced by 25%. | LightFooted = Fast and nimble. Your running speed is increased by 5% but you deal less damage with melee weapons. | Marksman = Crack-shot. Your accuracy when using firearms is increased by 25% but your reload speed is decreased by 15%. | Skirmisher = Drilled with knowledge on skirmishing tactics. Your accuracy when using firearms while crouching is increased by 10% but you receive more damage when stricken by melee weapons. | EliteInfantry = Heavily trained and experienced. The damage that you deal with melee weapons is increased by 35%. You are guaranteed to end your opponent in a single strike when wielding a bayonetted musket. | MusketSpecialisation = Excels with the use of muskets. Your damage when firing a musket is increased by 15%. You also deal 5% more damage when striking with a bayonet. | BayonetSpecialisation = Excels with the use of bayonets. Your damage when striking with a bayonet is increased by 10%. | PikeSpecialisation = Excels with the use of boarding pikes. Your damage when wielding a pike increased by 10%. | SwordSpecialisation = Excels with the use of swords. Your damage when wielding a sword is increased by 5%. | AxeSpecialisation = Excels with the use of axes. Your damage when wielding an axe is increased by 5%. Your damage is also significantly increased when destroying player-built defences, doors and other military works. | ChosenMan = The prestigious 95th. You're a chosen man! It makes you feel special. | CannonSpecialisation = Excels with the use and firing of cannons and mortars. Your ramming and pushing speed is increased by 0%. | RocketSpecialisation = Excels with the use and firing of rockets. Your loading speed is increased by 15%. | RankDiscipline = Drilled and disciplined in the art of firing whilst in formation. Your accuracy when crouched and shooting with a firearm is increased by 7%. | BlunderbussSpecialisation = Excels with the use of blunderbusses. Your damage when firing a blunderbuss is increased by 5% and accuracy by 10%. | PistolSpecialisation = Excels with the use of pistols. Your damage when firing a pistol is increased by 25% and accuracy by 10%. | ExplosivesSpecialist = Well versed in the handling of explosives. The rate at which you move while carrying explosives is increased by 25%. | HighCommandArmy = Inform the high-command and other gentlemen in the ranks that you’re in dire need of reinforcements. A beacon will be placed on your location. | HighCommandNaval = A captain in command. You have priority over sailing a naval vessel. | Medicine = Well versed in the field of medicine. You are able to heal wounded players. | EngineeringSpecialist = Well versed in the construction of military works. You are able to enact various defensive emplacements and repair cannon. | ArtilleryOperator = Well versed in the operation of various artillery pieces. You have priority over the use of field guns, siege guns and mortars. | RocketOperator = Well versed in the operation of rockets. You have priority over the use of rocket launchers. | RankAndFile = Drills, drills and more drills. Your extensive discipline allows you to receive firearm accuracy and melee damage bonuses from orders given by officers. You also gather benefits from musicians and flag bearers. | Guardsman = Duty bound to guard the high-command. You reduce the damage dealt to nearby allied officers by 17% (Stacks 51 times). | Musician = Pomp and circumstance. You increase firearm accuracy of the rank and file by 7%. Bonus stacks upwards to 10% if another musician plays a tune with you. | StandardBearer = Parade your faction’s colours in the field of battle. You improve the rate at which firearms are reloaded for the rank and file by 10% when your flag is equipped. | ExplosivesHandling = Trained with the use of volatile explosives. You are able to carry explosives. | default = No Description }}
+
| style="width: 500px" | {{#switch: {{{enum}}} | %pattern%=test | AbleSwimmer = Lightly equipped. Your swimming speed is increased by 35%. | Distinguishable = Stand out from the rank and file. You appear differently on the mini-map. | Resilient = A strong sense of duty. Melee damage dealt to you by other players is reduced by 25%. | LightFooted = Fast and nimble. Your running speed is increased by 5% but you deal less damage with melee weapons. | Marksman = Crack-shot. Your accuracy when using firearms is increased by 25% but your reload speed is decreased by 15%. | Skirmisher = Drilled with knowledge on skirmishing tactics. Your accuracy when using firearms while crouching is increased by 10% but you receive more damage when stricken by melee weapons. | EliteInfantry = Heavily trained and experienced. The damage that you deal with melee weapons is increased by 35%. You are guaranteed to end your opponent in a single strike when wielding a bayonetted musket. | MusketSpecialisation = Excels with the use of muskets. Your damage when firing a musket is increased by 15%. You also deal 5% more damage when striking with a bayonet. | BayonetSpecialisation = Excels with the use of bayonets. Your damage when striking with a bayonet is increased by 10%. | PikeSpecialisation = Excels with the use of boarding pikes. Your damage when wielding a pike increased by 10%. | SwordSpecialisation = Excels with the use of swords. Your damage when wielding a sword is increased by 5%. | AxeSpecialisation = Excels with the use of axes. Your damage when wielding an axe is increased by 5%. Your damage is also significantly increased when destroying player-built defences, doors and other military works. | ChosenMan = The prestigious 95th. You're a chosen man! It makes you feel special. | CannonSpecialisation = Excels with the use and firing of cannons and mortars. Your ramming and pushing speed is increased by 0%. | RocketSpecialisation = Excels with the use and firing of rockets. Your loading speed is increased by 15%. | RankDiscipline = Drilled and disciplined in the art of firing whilst in formation. Your accuracy when crouched and shooting with a firearm is increased by 7%. | BlunderbussSpecialisation = Excels with the use of blunderbusses. Your damage when firing a blunderbuss is increased by 5% and accuracy by 10%. | PistolSpecialisation = Excels with the use of pistols. Your damage when firing a pistol is increased by 25% and accuracy by 10%. | ExplosivesSpecialist = Well versed in the handling of explosives. The rate at which you move while carrying explosives is increased by 25%. | HighCommandArmy = Inform the high-command and other gentlemen in the ranks that you’re in dire need of reinforcements. A beacon will be placed on your location. | HighCommandNaval = A captain in command. You have priority over sailing a naval vessel. | Medicine = Well versed in the field of medicine. You are able to heal wounded players. | EngineeringSpecialist = Well versed in the construction of military works. You are able to enact various defensive emplacements and repair cannon. | ArtilleryOperator = Well versed in the operation of various artillery pieces. You have priority over the use of field guns, siege guns and mortars. | RocketOperator = Well versed in the operation of rockets. You have priority over the use of rocket launchers. | RankAndFile = Drills, drills and more drills. Your extensive discipline allows you to receive firearm accuracy and melee damage bonuses from orders given by officers. You also gather benefits from musicians and flag bearers. | Guardsman = Duty bound to guard the high-command. You reduce the damage dealt to nearby allied officers by 17% (Stacks 51 times). | Musician = Pomp and circumstance. You increase firearm accuracy of the rank and file by 7%. Bonus stacks upwards to 10% if another musician plays a tune with you. | StandardBearer = Parade your faction’s colours in the field of battle. You improve the rate at which firearms are reloaded for the rank and file by 10% when your flag is equipped. | ExplosivesHandling = Trained with the use of volatile explosives. You are able to carry explosives. | default = No Description }}
 
|}</includeonly>
 
|}</includeonly>

Latest revision as of 16:59, 17 August 2019

Used to create a single row detailing a trait / ability for display in other pages. Should attach to the data defined through Template:TraitAbility. For now is all hard coded.


Usage:

{{TraitAbilityDisplay|enum=AbleSwimmer}}


Trait AbleSwimmer.png Able Swimmer Lightly equipped. Your swimming speed is increased by 35%.


Ability ArtilleryOperator.png Artillery Operator Well versed in the operation of various artillery pieces. You have priority over the use of field guns, siege guns and mortars.