Template:SWIA/doc

From SW420
Jump to navigation Jump to search

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 or archiveurl, but either can be provided to override the default value.

Optional parameters

  • |text= Formatted name of the collection.

Backup links

Example(s)

Without a link

{{SWIA|set=Stormtroopers Villain Pack|cardname=Vader's Finest}}

Results in:

File:ImperialAssault-Cropped.png Star Wars: Imperial AssaultStormtroopers 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 AssaultKayn Somos Villain Pack (Card: Strength of Command) (Lua error in package.lua at line 80: module 'Module:ArchiveAccess/SWIA' not found.)