Template:Counter Team

From SWGoH Wiki
Jump to navigationJump to search


WARNING

This template will add Semantic MediaWiki properties to pages and must only be used with Team pages. Any other use will result in the entire page getting deleted by Admins. This only applies to template calls using 5=to.

DOCUMENTATION

This template is used for setting what teams a team is strong against and for displaying what teams are counters to a team. This process of getting information from one wiki page and inserting it into another is referred to as transclusion (to transclude).

To get the information from the template you use {{Counter Team|parameters}}, where parameters are place holders for data you send to the template.

Parameters

Each parameter should begin with a | symbol followed by the parameter name and the equals sign.
Example {{Counter Team|lead=}}

To Format

This format is used to set which teams a team page is a counter to.

  • 5 = The format of the template. For to this will use the layout designated for setting a team as a counter to another team. Options: to
  • 3v3 = If the team is 3v3. Options: y or omit.
  • ships = If the team is ships. Options: y or omit.
  • team_name = The name of the team. This should be the name of that teams page minus the Team - in it.
  • type = The tpye of counter it is. Options: Soft Counter, Hard Counter
  • banners = The max possible banners this team gets in GAC.
  • killOrder = The kill order of the team using > < = <= >= signs between the names of the units. If this is omitted it will apply the default kill order specified on the team's page.
  • details = The details of the counter. It should be formatted to include the following sections Substitutes, Zetas, Strategy, Video.
  • video = OPTIONAL: A place to set links for the video. If wanting the video to show up when using 5=for you can add it to the details parameter, however, you will not be able to do it using the [link linkName] and will have to just use the full link address as if it was text. Separate all links with •. Adding to the details section is the recommended setup so it will be seen everywhere.
  • enemy_lineup = FLEET ONLY: Sets the images for the counter to a specific team. Options: Lineup # where number is the assigned number to the lineup on the teams page.

For Format

This format is used to retrieve what teams are counters to a team. It is specifically made to work with a Semantic MediaWiki ask to retrieve the required information and not meant to be called directly from a page.
Characters

  • 1 = The name of the team that can counter it.
  • 2 = The type of counter. Options: Soft Counter, Hard Counter
  • 3 = The max possible banners.
  • 4 = The details for the counter.
  • 5 = Layout format. Has to be set to for.
  • 6 = The lead of the team that can counter.
  • 7 = The ally 1 slot of the team that can counter.
  • 8 = The ally 2 slot of the team that can counter.
  • 9 = The ally 3 slot of the team that can counter.
  • 10 = The ally 4 slot of the team that can counter.
  • 11 = The substitutes of the team that can counter.
  • 12 = The locked team positions that should not be substituted. Options: 1-5 separated by commas and no space
  • 13 = The kill order for the team being countered.
  • 14 = This will hide the name hover from the images. Option: for. Omit to not use.
  • 15 = If the team is 3v3, 5v5, or Fleet. Options: 3v3, ship, 5v5

Ships

  • 1 = The name of the team that can counter it.
  • 2 = The type of counter. Options: Soft Counter, Hard Counter
  • 3 = The max possible banners.
  • 4 = The details for the counter.
  • 5 = Layout format. Has to be set to for.
  • 6 = The capital ship of the team that can counter.
  • 7 = The frontline 1 slot of the team that can counter.
  • 8 = The frontline 2 slot of the team that can counter.
  • 9 = The frontline 3 slot of the team that can counter.
  • 10 = The reinforcement 1 slot of the team that can counter.
  • 11 = The reinforcement 2 slot of the team that can counter.
  • 12 = The reinforcement 3 slot of the team that can counter.
  • 13 = The kill order for the team being countered.
  • 14 = The reinforcement 4 slot of the team that can counter.
  • 15 = If the team is 3v3, 5v5, or Fleet. Options: 3v3, ship, 5v5
  • 16 = The substitutes of the team that can counter.
  • 17 = The locked team positions that should not be substituted. Options: 1-5 separated by commas and no space
  • 18 = This will hide the name hover from the images. Option: for. Omit to not use.

Semantics

All semantics on this page are used to automatically retrieve the information needed in the FOR format.

  • Property: Counter Team = Saved as a Page, assigned the value sent in team_name.
  • Property: team_name counter type = Saved as text, assigned the value sent in type.
  • Property: team_name counter max banners = Saved as text, assigned the value sent in banners
  • Property: team_name counter details = Saved as text, assigned the value sent in details
  • Property: team_name kill order = Saved as text, assigned the value sent in killOrder. If no value was sent for killOrder it will pull the Kill order property from the teams page indicated in team_name.

Use Examples

You can copy the code below to quickly add and adjust your own.

Counter TO

Once again this is used to set the counter to something.

{{Counter Team
 |team_name=Rebels (CLS L)
 |type=Hard Counter
 |banners=55
 |details=<b>Substitutes: </b> ... <br />
<b>Zetas: </b> ... <br />
<b>Strategy: </b> ... <br />
<b>Video: </b> link (Creator) 
 |5=to
}}

Counter FOR

This is used to get the counters to something. It does a Semantic call to look at every page in Category Team and find every page that has the specified Counter team property. It ignores returning the mainLabel and then returns all ? values from the page found. Sort and order are optional and are used to return the results in a specific order. The shown setting will return Hard Counters first and the Soft Counters. Format tells the ask to return results as a template but you can however remove this and it will return it as a table. Template is just setting the template it should use. It is going to take all of the ? values and pass it to the templates parameters in the order they are shown in so it is important they stay just like they are. The HideName options is used if wanting to hide the name popup on the characters.

{{#ask:
 [[Category:Team]]
 [[Counter team::Rebels (CLS L)]]
 |mainlabel=-
 |?Team name
 |?Rebels (CLS L) counter type
 |?Rebels (CLS L) counter max banners
 |?Rebels (CLS L) counter details
 |?Category:Layout # ERROR, for
 |?Team lead #
 |?Team ally 1 #
 |?Team ally 2 #
 |?Team ally 3 #
 |?Team ally 4 #
 |?Team substitutes #
 |?Team lock #
 |?Rebels (CLS L) kill order
 |?Category:HideName # Error, for
 |sort=Rebels (CLS L) counter type
 |order=asc
 |format=template
 |template=Counter Team
}}

{{#ask:
 [[Category:Team Fleet]]
 [[Counter team::Executor (Bounty Hunters)]]
 |mainlabel=-
 |?Team name
 |?Executor (Bounty Hunters) counter type
 |?Executor (Bounty Hunters) counter max banners
 |?Executor (Bounty Hunters) counter details
 |?Category:Layout # ERROR, for
 |?Team capital ship #
 |?Team frontline 1 #
 |?Team frontline 2 #
 |?Team frontline 3 #
 |?Team reinforcement 1 #
 |?Team reinforcement 2 #
 |?Team reinforcement 3 #
 |?Executor (Bounty Hunters) kill order
 |?Team reinforcement 4 #
 |?Category:Team Fleet # ship,na
 |?Team substitutes #
 |?Team lock #
 |?Category:HideName # Error, for
 |sort=Executor (Bounty Hunters) counter type
 |order=asc
 |format=template
 |template=Counter Team
}}

The above information is transcluded from Template:Counter Team/doc.

EXAMPLE

Counter to

CLS (Rebels)CLS (Rebels)
Game-Icon-Lock.png
Unit-Character-Commander Luke Skywalker-portrait.png
Commander Luke Skywalker
Game-Icon-Lock.png
Unit-Character-Chewbacca-portrait.png
Chewbacca
Game-Icon-Lock.png
Unit-Character-Han Solo-portrait.png
Han Solo
Unit-Character-C-3PO-portrait.png
C-3PO
Unit-Character-Threepio & Chewie-portrait.png
Threepio & Chewie
Unit-Character-Obi-Wan Kenobi (Old Ben)-portrait.png
Obi-Wan Kenobi (Old Ben)
Unit-Character-R2-D2-portrait.png
R2-D2

Counter Type: Hard Counter
Potential Max Banners: 55
Kill Order: Chewbacca > Threepio & Chewie > Han Solo > Any

Counter Details

Substitutes: Recommended to use NS Spirit, Acolyte, or Talia for last ally slot.
Zetas: Mother Talzin Lead
Strategy: Follow the standard Kill Order and make sure Asajj or NS Spirit go first to clear any taunts that could prevent going after Chewbacca with Mother Talzin's mass assist. Spread Plague around to cause the Rebels to kill themselves with their own Turn Meter gains.

Executor (Bounty Hunters)Executor (Bounty Hunters)
Tex.charui executor.png
Executor
Unit-Ship-Hound's Tooth-portrait.png
Hound's Tooth
Unit-Ship-Razor Crest-portrait.png
Razor Crest
Unit-Ship-Xanadu Blood-portrait.png
Xanadu Blood
Unit-Ship-IG-2000-portrait.png
IG-2000

Unit-Ship-Slave I-portrait.png
Slave I

Unit-Ship-Imperial TIE Bomber-portrait.png
Imperial TIE Bomber

Unit-Ship-Gauntlet Starfighter-portrait.png
Gauntlet Starfighter

Unit-Ship-TIE Advanced x1-portrait.png
TIE Advanced x1

Unit-Ship-Ebon Hawk-portrait.png
Ebon Hawk

Unit-Ship-Emperor's Shuttle-portrait.png
Emperor's Shuttle

Counter Type: Soft Counter
Potential Max Banners: 53
Kill Order: Lowest Health > Xanadu Blood >= Razor Crest > Any

Counter Details

Substitutes:
Zetas:
Strategy:

3v3 Mother Talzin (Nightsisters)3v3 Mother Talzin (Nightsisters)
Game-Icon-Lock.png
Unit-Character-Mother Talzin-portrait.png
Mother Talzin
Unit-Character-Old Daka-portrait.png
Old Daka
Unit-Character-Nightsister Zombie-portrait.png
Nightsister Zombie
Unit-Character-Nightsister Acolyte-portrait.png
Nightsister Acolyte
Unit-Character-Nightsister Spirit-portrait.png
Nightsister Spirit

Counter Type: Soft Counter
Potential Max Banners: 53
Kill Order: Old Daka > Mother Talzin = NS Spirit > Any > NS Zombie

Counter Details

Substitutes:
Zetas:
Strategy:

Counter for

Game-Icon-Lock.png
Unit-Character-Darth Revan-portrait.png
Game-Icon-Lock.png
Unit-Character-Bastila Shan (Fallen)-portrait.png
Game-Icon-Lock.png
Unit-Character-HK-47-portrait.png
Game-Icon-Lock.png
Unit-Character-Darth Malak-portrait.png
Unit-Character-Sith Empire Trooper-portrait.png
Unit-Character-Sith Assassin-portrait.png
Unit-Character-Sith Marauder-portrait.png

Counter Type: Hard Counter
Potential Max Banners: 55
Kill Order: Chewbacca > Threepio & Chewie > Han Solo > Any

Counter Details

Substitues: Darth Malak has to be on the team to be a Hard Counter to the team if it has Threepio & Chewie otherwise it is considered a Soft Counter. Sith Marauder is usually the most commonly used in place of Darth Malak.
Zetas:
Strategy: Follow standard kill order.

Game-Icon-Lock.png
Unit-Character-Mother Talzin-portrait.png
Game-Icon-Lock.png
Unit-Character-Old Daka-portrait.png
Game-Icon-Lock.png
Unit-Character-Asajj Ventress-portrait.png
Game-Icon-Lock.png
Unit-Character-Nightsister Zombie-portrait.png
Unit-Character-Nightsister Spirit-portrait.png
Unit-Character-Enfys Nest-portrait.png
Unit-Character-Nightsister Acolyte-portrait.png
Unit-Character-Talia-portrait.png

Counter Type: Soft Counter
Potential Max Banners: 55
Kill Order: Chewbacca > Threepio & Chewie > Han Solo > Any

Counter Details

Substitutes: Recommended to use NS Spirit for last slot, but Acolyte or Talia may also work.
Zetas: Mother Talzin Lead
Strategy: Follow the standard Kill Order and make sure Asajj or NS Spirit go first to clear any taunts that could prevent going after Chewbacca with Mother Talzin's mass assist. Spread Plague around to cause the Rebels to kill themselves with their own Turn Meter gains. If Threepio & Chewie is on the team this fight can be much harder and requires NS Spirit in the last slot.
Video: https://youtu.be/JTASv5eJev0?t=2343 (Solobass 15) •