X-Wing Miniatures: Second Edition Wiki
Register
Tag: Visual edit
Tag: Visual edit
Line 113: Line 113:
 
* [[Template:Pilot Points StarViper]]
 
* [[Template:Pilot Points StarViper]]
 
* [[Template:Pilot Points YV-666]]
 
* [[Template:Pilot Points YV-666]]
  +
*[[Template:Pilot Points Trident-class Assault Ship]]
   
 
=== Separatist Alliance ===
 
=== Separatist Alliance ===

Revision as of 19:45, 13 June 2021

This is a portal to all the templates we admins commonly have to edit, e.g. to update points or infobox data.

Hyperspace Legal

This template lists all hyperspace legal ships, outputting "yes" if the ship is listed. Everyone else is "no".

Upgrade Card Points

Main template for upgrades: Template:Upgrade Points (redirects to one of these below)

Pilot Card Points

Main template for pilots: Template:Ship Points (redirects to one of the ships below to handle the pilot)

The ships below are using shortened names, but they're ordered by their long name to try to match the order in FFG's points PDF document.

First Order

Galactic Empire

Galactic Republic

Rebel

Resistance

Scum

Separatist Alliance

Huge Ships

Upgrade Slots

Infoboxes

Ship Lists

Explanation

See Explain:Ship Navbox Templates for a description of this template structure.

Template List

This is a full list of the Templates and Navboxes used to build the navboxes shown on ship pages.

Faction-Specific Templates (Faction Ship Lists)

These contain the actual lists of ships for each faction, which we can include in any other template or page we like. If you want to add a new ship, add it to the correct faction(s) below.

Top-Level Templates

Navbox Pages

These are what we'll actually include in a ship's page. This gives us one point of contact for any params we want to push into that faction's templates, such as the separator or font size. They're really just thin wrappers that call out to the templates with params.

Base Template for Collapsible Navboxes

This is the collapsible navbox template used for Ships and Products (and possibly other stuff). Note that some changes could require changing the wiki's stylesheet, which is not a task to be taken on lightly!

This general-purpose navbox is also used for multiple purposes (ships, products), so edits for the benefit of one can affect the others; just a heads-up to test everything after a change.

Product Lists

The product list template shows a navbox at the top of each product page, allowing the pages to behave like the old tabbed view for easy navigation. It just lists all the product pages in a CollapsibleNavbox.

Infoicons

Critical Hit Cards