Template:Team Variation

From SWGoH Wiki
Jump to navigationJump to search


DOCUMENTATION

This template can be used to graphically show information about different team compositions. This template can display a total of 11 teams. This process of getting information from one wiki page and inserting it into another is refered to as transclusion (to transclude).

To get the information from the template you use {{Team Variation|parameters}}, where parameters are place holders for data you send to the template. This template uses named paramters which are discussed in the next section.

Parameters

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

This template uses the following parameters for the first team: lead, lead_zeta, ally#, ally#_zeta where # can be from 1-4. A demonstration of each additional parameter that corresponds to the teams will be listed below for only leader and ally1. You would use the same format for the other ally parameters by just replacing the 1 in ally1 with the corresponding unit number. To indicate teams beyond the first you would use v# where # can be 1-10. You will need to add the same v#_ to the beginning of each team parameter.

Setting first team

  • squad_type = The type of unit. Options: Character, Ship
  • lead = The full in-game name of the leader.
  • lead_zeta = OPTIONAL: The number of zetas recommended for the unit.
  • ally1 = The full in-game name of the ally.
  • ally1_zeta = OPTIONAL: The number of zetas recommended for the unit.

Setting additional teams

Squad type only needs to be set once.

  • v1_name = The name of the team variation. Unless there is a name used by the community for it just use Variation # as the name.
  • v1_lead = The full in-game name of the leader.
  • v1_lead_zeta = OPTIONAL: The number of zetas recommended for the unit.
  • v1_ally1 = The full in-game name of the ally.
  • v1_ally1_zeta = OPTIONAL: The number of zetas recommended for the unit.

Use Example

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

{{Team Variation
 |squad_type=Character
 |lead=
 |lead_zeta=
 |ally1=
 |ally1_zeta=
 |ally2=
 |ally2_zeta=
 |ally3=
 |ally3_zeta=
 |ally4=
 |ally4_zeta=
 |v1_name=Variation 1
 |v1_lead=
 |v1_lead_zeta=
 |v1_ally1=
 |v1_ally1_zeta=
 |v1_ally2=
 |v1_ally2_zeta=
 |v1_ally3=
 |v1_ally3_zeta=
 |v1_ally4=
 |v1_ally4_zeta=
}}

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

EXAMPLE

Typical Team
Unit-Character-Mother Talzin-portrait.png
Mother Talzin
Unit-Character-Asajj Ventress-portrait.png
Asajj Ventress
Unit-Character-Old Daka-portrait.png
Old Daka
Unit-Character-Nightsister Zombie-portrait.png
Nightsister Zombie
Unit-Character-Nightsister Spirit-portrait.png
Nightsister Spirit
Variation 1
Unit-Character-Mother Talzin-portrait.png
Mother Talzin
Unit-Character-Asajj Ventress-portrait.png
Asajj Ventress
Unit-Character-Old Daka-portrait.png
Old Daka
Unit-Character-Nightsister Zombie-portrait.png
Nightsister Zombie
Unit-Character-Nightsister Acolyte-portrait.png
Nightsister Acolyte
Variation 2
Unit-Character-Mother Talzin-portrait.png
Mother Talzin
Unit-Character-Asajj Ventress-portrait.png
Asajj Ventress
Unit-Character-Old Daka-portrait.png
Old Daka
Unit-Character-Nightsister Zombie-portrait.png
Nightsister Zombie
Unit-Character-Talia-portrait.png
Talia
Nestsisters
Unit-Character-Mother Talzin-portrait.png
Mother Talzin
Unit-Character-Asajj Ventress-portrait.png
Asajj Ventress
Unit-Character-Old Daka-portrait.png
Old Daka
Unit-Character-Nightsister Zombie-portrait.png
Nightsister Zombie
Unit-Character-Enfys Nest-portrait.png
Enfys Nest