Template:Team Card/doc

From SWGoH Wiki
Jump to navigationJump to search


DOCUMENTATION

This template can be used to graphically show information about units on a team. It is designed so you can choose which aspects of it you need, but if you are not sure which options to use this page will show you three primary layouts to get you started. 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 Card|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

This template uses a lot of parameters with many of them being optional. Each parameter should begin with a | symbol followed by the parameter name and the equals sign.
Example {{Team Card|raid=}}

General Parameters

  • noGear = This will turn off the gear indicator image around images. Options: y
  • noReq = This will display only one column for abilities. Options: y
  • noStats = This will remove the stats column. Options: y
  • noMods = This will change the title of the mods column to whatever is entered.
  • title = This is the title for the team.
  • raid = This is the name of the raid the team is for.
  • phases = This is the phases of the raid the team is for.
  • team_name = The name of the team. Can be excluded for non-raids
  • damage = The target damage the team should do for raids. Can be excluded for non-raids.
  • squad_type = The type of unit. Options: Character, Ship
  • strategy = The strategy to use for the team. Use <br />, <ul></ul> and other html markup to format the information in a better way.

Unit Parameters

This template uses the following parameters for units: leader and ally# where # can be from 1-12. A demonstration of each additional parameter that corresponds to the units 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.

  • leader = The full in-game name of the leader or capital ship.
  • leader_alignment = The alignment of the leader unit. Options: DS, LS
  • leader_gear_lv = The number of the gear level. Indicates relic level when using the leader_relic paramter. For ships exclude this parameter or use 1.
  • leader_relic = Indicates if the leader_gear_lv should indicate the Relic Level. Options: Relic
  • leader_abilities = The general recommended abilities for the unit. This is used with noReq.
  • leader_req_abilities = The required ability type and ability material for this unit. For ability type use: Leader, Basic, Special 1, Special 2, Special 3, Unique 1, Unique 2, Unique 3. For ability material use the Template:Icon. Example: Leader {{Icon|Zeta|20px}}<br />Basic {{Icon|Omega|20px}}<br />
  • leader_sug_abilities = The suggested ability type and ability material for this unit. Follows same format as _req_abilities
  • leader_mods = The mods recommended for the unit. Use the Template:Mod to add them. Example: {{Mod|hp||set|4=28px}} {{Mod|pot||set|4=28px}} {{Mod|pot||set|4=28px}}<br /> {{Mod|spd|arrow|pri|28px}}{{Mod|prot|triangle|pri|28px}}{{Mod|prot|circle|pri|28px}}{{Mod|pot|plus|pri|28px}}
    When using this with noMods you would add whatever your new column is for.
  • leader_stats = Any specific stat numbers they need to be add and/or secondary stat focus of mods. For specific stat values use the following format: stat: #+ (Speed: 200+). For indicating other valuable stats or secondary stats on mods use the following format: +stat (+Crit Chance). Use <br /> to add line breaks
  • ally1 = The full in-game name of the leader or capital ship.
  • ally1_alignment = The alignment of the ally unit. Options: DS, LS
  • ally1_gear_lv = The number of the gear level. Indicates relic level when using the ally1_relic paramter. For ships exclude this parameter or use 1
  • ally1_relic = Indicates if the ally1_gear_lv should indicate the Relic Level. Options: Relic
  • ally1_abilities = The general recommended abilities for the unit. This is used with noReq.
  • ally1_req_abilities = The required ability type and ability material for this unit. For ability type use: Leader, Basic, Special 1, Special 2, Special 3, Unique 1, Unique 2, Unique 3. For ability material use the Template:Icon. Example: Leader {{Icon|Zeta|20px}}<br />Basic {{Icon|Omega|20px}}<br />
  • ally1_sug_abilities = The suggested ability type and ability material for this unit. Follows same format as _req_abilities
  • ally1_mods = The mods recommended for the unit. Use the Template:Mod to add them. Example: {{Mod|hp||set|4=28px}} {{Mod|pot||set|4=28px}} {{Mod|pot||set|4=28px}}<br /> {{Mod|spd|arrow|pri|28px}}{{Mod|prot|triangle|pri|28px}}{{Mod|prot|circle|pri|28px}}{{Mod|pot|plus|pri|28px}}
    When using this with noMods you would add whatever your new column is for.
  • ally1_stats = Any specific stat numbers they need to be add and/or secondary stat focus of mods. For specific stat values use the following format: stat: #+ (Speed: 200+). For indicating other valuable stats or secondary stats on mods use the following format: +stat (+Crit Chance). Use <br /> to add line breaks

Video Parameters

Each team card can hold up to 10 video links. To add video links use video# where number is 1-10 as the parameter.

  • video1_creator = Is the creator of the video.
  • video1_link = Is the link to the video.

Use Examples

It is ok to leave spaces in the template call if preferred.

Raid team setup

This is used when creating a team for a Raid. If creating this for ships add noMods. The column can be changed to noMods=Reinforcement Order, Crew Gear Lv, Galactic Power or anything else you can think of that might be good to add to the table for the team. It is possible to still use noMods and still display stats.

{{Team Card
 |raid=
 |phases=
 |team_name=
 |damage=
 |squad_type=
 |strategy=

 |leader=
 |leader_alignment=
 |leader_gear_lv=
 |leader_relic=
 |leader_req_abilities=
 |leader_sug_abilities=
 |leader_mods=
 |leader_stats=

 |ally1=
 |ally1_alignment=
 |ally1_gear_lv=
 |ally1_relic=
 |ally1_req_abilities=
 |ally1_sug_abilities=
 |ally1_mods=
 |ally1_stats=

 |video1_creator=
 |video1_link=
}}

Team setup for non-raid content

This is used for content that might not have damage goals but still need an indication of what gear level, abilities, and mods each unit should have. Using noStats, excluding strategy and video are other variations you can add to this. Like the example for raids use noMods for ships.

{{Team Card
 |title=
 |squad_type=
 |strategy=

 |leader=
 |leader_alignment=
 |leader_gear_lv=
 |leader_relic=
 |leader_req_abilities=
 |leader_sug_abilities=
 |leader_mods=
 |leader_stats=

 |ally1=
 |ally1_alignment=
 |ally1_gear_lv=
 |ally1_relic=
 |ally1_req_abilities=
 |ally1_sug_abilities=
 |ally1_mods=
 |ally1_stats=

 |video1_creator=
 |video1_link=
}}

Setup for just displaying needed information on units

This option can be used to show general information for units on a team or of a faction.

{{Team Card
 |noStats=y
 |noGear=y
 |noReq=y
 |squad_type=

 |leader=
 |leader_abilities=
 |leader_mods=

 |ally1=
 |ally1_abilities=
 |ally1_mods=
}}