Template:SWIA
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:SWIA/doc to edit this documentation. (How does this work?) |
Usage
Copy the template code below and paste it into the appropriate place in an article. Fill in the required fields plus as many of the optional fields as necessary and remove any that you don't use.
{{SWIA|set=|text=|cardname=|link=}}
The use of unnamed parameters for the set and cardname is deprecated. They are retained for backward compatibility, but will produce hidden tracking categories to determine when they can eventually be removed. New usages of the template should use an explicit |set=
and |cardname=
.
Required parameters
|set=
Name of the collection.|cardname=
Name of the individual pack.|link=
Full URL of the pack's web page. For backward compatibility,|url=
also works for this, but is considered deprecated, will produce a tracking category, and will eventually be removed.- For archive options, see Backup links below. Note: the default values for dates are centralized at Module:ArchiveAccess/SWIA. This template will use the default value when omitting
archivedate
orarchiveurl
, but either can be provided to override the default value.
Optional parameters
|text=
Formatted name of the collection.
Backup links
![]() |
Instructions for providing a backup link
In accordance with our Sourcing policy, all links to external sites must include a link to a backup version, preferably using Internet Archive. Instances that do not include one of the following parameters will result in the page being placed in the maintenance category. Please only use one of the following parameters.
Note that for citation templates using a central repository (/Archive subpage), archivedate values must be added to the repository, and not on the individual instance of those templates. |
Example(s)
- Without a link
{{SWIA|set=Stormtroopers Villain Pack|cardname=Vader's Finest}}
Results in:
File:ImperialAssault-Cropped.png Star Wars: Imperial Assault – Stormtroopers Villain Pack (Card: Vader's Finest)
- Using central archive repository
{{SWIA|set=Kayn Somos Villain Pack|cardname=Strength of Command|link=https://images-cdn.fantasyflightgames.com/filer_public/17/f3/17f31f3e-1a6d-4f0f-89b5-69314f71e9fc/strength-of-command.png}}
Results in:
File:ImperialAssault-Cropped.png Star Wars: Imperial Assault – Kayn Somos Villain Pack (Card: Strength of Command) (Lua error in package.lua at line 80: module 'Module:ArchiveAccess/SWIA' not found.)