Template:Ew-char
An attempt to create a right-floating template to list relevant attributes of Earth Wars characters. The information is collapsed so as to not create excessive whitespace in the text around it.
Contains the following parameters:
- name= The character's name. Can be left blank, but probably helpful for characters who are represented twice and can be listed separately, like G1 Optimus Prime/Orion Pax.
- image= Image to be inserted using regular syntax. Upright=1.66 and centered works best. Optional, in the event of no available image.
- vertical= Experimental parameter for images that are thinner than they are tall. Relocates the information boxes to the left of the image. Probably best deprecated.
- link= For adding an external link to the bottom of the template. Uses plaintext; URL and "(character) at Transformers: Earth Wars Wiki" must be added by yourself.
The following information parameters:
- faction= Accepts any text, but probably best to stick or Autobot or Decepticon.
- unit= Standard/Combiner/C.O.M.B.A.T./Weapon/Prime (Titan will be a separate template). Will not render without Faction.
- star= The minimum star rating available for a character. "star" is included by default; just enter a number between 1 and 5.
- class= The character's Class in plaintext: Warrior/Aerial/Gunner/Medic/Special/Triple Changer for Standard bots, Companion/Melee/Shield/Range for C.O.M.B.A.T.s.
- specialclass= Deployer/Leader/Scout, which were retired from the game and rolled into Special.
- collection= The character's Collection.
- combiner= If the character is a component of a Combiner.
- components= If the character is a Combiner, list the components.
- behavior= A description of how the character attacks. Currently listed as "Weapon" on certain pages but should probably be replaced due to the introduction of Weapon unit type.
- ability= The name of the character's ability or first ability of multiple.
- abilitydesc= A collapsed description of the ability. Required if the ability parameter is used.
- cost= The cost of using the ability. Optional.
- cooldown= The cooldown after using the ability. Optional.
- ability2= The name of the character's second ability. Using this parameter automatically changes the row heading from "Ability" to "Abilities".
- abilitydesc2=
- cost2=
- cooldown2=
- ability3= The name of the character's third ability, if required.
- abilitydesc3=
- cost3=
- cooldown3=
- ability4= The name of the character's fourth ability, if required.
- abilitydesc4=
- cost4=
- cooldown4=
- passive= The name of the character's passive ability.
- passivedesc= A collapsed description of the passive ability. If the ability has no name, use this instead of the passive parameter.
- artifact= The name of the character's Artifact.
- artifactdesc= The description of the Artifact.
- combats= What type of C.O.M.B.A.T. Bots the character is compatible with: Companion/Melee/Shield/Ranged.
- cores= The character's Bot Specific Power Cores. Bulleted lists only work with a whole line break between them?
And the following meta information parameters, which render under a separate heading:
- date= The date the character was added to the game. Will not display without counterpart parameter.
- counterpart= The character's counterpart on the opposite faction.
- skins= Plaintext field to enter images and titles. Has its own collapsible toggle (which does not work on this version of MediaWiki, but should if/when we update) and a scroll function. Bulletpoints between skins and upright=1.5 (or smaller) and centered images work best. Same as with Power Cores, bullet lists behave weird.
Copy/pasteable
{{:User:TheLastGherkin/Rattrap
|name=
|image= [[|thumb|center|upright=1.66|]]
|vertical=
|link=[URL (character name) Prime at Transformers: Earth Wars Wiki]
|faction= Autobot/Decepticon
|unit= Standard/Combiner/C.O.M.B.A.T./Weapon/Prime
|star= number between 1 and 5.
|class= Warrior/Aerial/Gunner/Medic/Special/Triple Changer/Companion/Minion/Melee/Shield/Range
|specialclass= Deployer/Leader/Scout
|collection=
|combiner=
|components=
|behavior=
|ability=
|abilitydesc=
|cost=
|cooldown=
|ability2=
|abilitydesc2=
|cost2=
|cooldown2=
|ability3=
|abilitydesc3=
|cost3=
|cooldown3=
|ability4=
|abilitydesc4=
|cost4=
|cooldown4=
|passive=
|passivedesc=
|artifact=
|artifactdesc=
|combats=
|cores=
|date=
|counterpart=
|skins=
}}
Example (Standard)
Code
{{:User:TheLastGherkin/Rattrap
|name=Optimus Prime
|image=[[File:OptimusPrime-EarthWars.jpg|thumb|center|upright=1.66|Gathering resources is the right of all sentient base builders.]]
|link=[http://wiki.transformersearthwars.com/character:optimus-prime Optimus Prime at Transformers: Earth Wars Wiki]
|faction=Autobot
|unit=Standard
|class=Special
|specialclass=Leader
|star=2
|collection=Leaders
|combiner=Optimus Maximus
|behavior=Optimus Prime fires a shot from his Ion Blaster before engaging a defense and attacking it with his energon axe.
|ability=Inspiring Charge
|abilitydesc=Rally Autobots to engage the target, then charge in dealing damage to the target and damaging walls along the way.
|cost=5 ability points +2 for reuses.
|passivedesc=Shoots enemies at a distance every 5 seconds.
|combats=Melee, Companion
|cores=*'''Matrix of Leadership'''
*'''G1 Optimus Prime'''
|date=At launch
|counterpart=Megatron
|skins=*WFC Optimus Prime
*Shattered Glass Optimus Prime
[[File:OptimusPrime-EarthWars.jpg|thumb|center|upright=1.5|You could put images here, if we had any.]]
*Holiday 2022 Optimus Prime
*Armada Optimus Prime
[[File:OptimusPrime-EarthWars.jpg|thumb|center|upright=1.5|This one's down here to demonstrate scrolling.]]
}}
Result
This template works like an image, floating alongside text, and interacts with {{-}} and {{--}} in the same way.
Example (Vertical)
Code
{{:User:TheLastGherkin/Rattrap
|name=Reflector
|vertical=yes
|image=[[File:ReflectorEarthWars.jpg|thumb|upright=1.4|Three in one, one in three, we are the ones who heal thee.]]
|link=[http://wiki.transformersearthwars.com/character:reflector Reflector at Transformers: Earth Wars Wiki]
|faction=Decepticon
|unit=Standard
|class=Medic
|collection=Decepticon
|star=2
|behavior=Viewfinder uses a medi-gun of unusual make in which it shoots out health bombs, instead of one continuous stream. Spectro and Spyglass both use medi-beams like Hook and Shockwave to provide 40-45% resistant shields. If any of Reflectors' components are not healing bots, they use their pistols to shoot targets.
|ability=Reflector Team Up!
|abilitydesc=Summon Spectro and Spyglass, each with an ability to shield friendly bots blocking 40/45% of incoming damage.
|cost=4 ability points +2 cost increase.
|combats=Range, Companion
|cores=*'''G1 Reflector'''
|date=2017
|counterpart=First Aid
|skins=*WFC Reflector
}}
Result
This was put together in the early days of the template, for characters who have a portrait or square image. It was supposed to save space at the time, but as the number of parameters in the template increased, this seemed like more of a waste of time. Discuss?
Example (Combiner)
Code
{{:User:TheLastGherkin/Rattrap
|name=Superion
|image=[[File:SuperionEarthWars.jpg|thumb|center|upright=1.66| Superion better than [[Devastator (G1)|Big Green Giant.]]]]
|link=[http://wiki.transformersearthwars.com/character:superion: Superion at Transformers: Earth Wars Wiki]
|faction=Autobot
|unit=Combiner
|star=3
|collection=Aerialbots
|components=Silverbolt, Powerglide, Alpha Bravo, Air Raid, Firefly, Skydive
|ability=Rush and Smash
|abilitydesc=Rush into combat smashing walls along the way. Deals heavy damage to the final target.
|ability2=Rocket Swarm
|abilitydesc2=Fire a swarm of rockets dealing damage over a large area.
|ability3=Death Ray
|abilitydesc3=Fire a powerful beam that deals massive damage to a single target. Cannot be used on the HQ.
|date=2016
|counterpart=Devastator}}
Result
Example (C.O.M.B.A.T.)
Example (Weapon)
Example (Prime)
Code
{{:User:TheLastGherkin/Rattrap
|name= Solus Prime
|image= [[File:Earth Wars Solus Prime.jpg|thumb|center|upright=1.66|]]
|faction=Trans-factional
|behavior= Attacks with either her fists, or the Forge, if equipped.
|ability=Special: Prime Landing (Healing)
|abilitydesc=Heals in a small area on entrance.
|passive=Primordial Tech
|passivedesc=Increases maximum health of herself by a percent, and nearby friendly bots and minions by a lesser percent.
|artifact=Forge of Solus Prime
|artifactdesc=Heals in a small area on entrance. Creates a drone that follows her, giving a damage reduction shield to her and nearby bots and minions for a period of time.
|date= November 28th, 2025
}}
Result
I copied this over from this sandbox, so I'm making the assumption the information is correct.


