Template:SWPM/doc
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.
{{SWPM|set=|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 archive options, see Backup links below. Note: the default values for dates are centralized at Module:ArchiveAccess/SWPM. This template will use the default value when omitting
archivedate
orarchiveurl
, but either can be provided to override the default value.
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)
{{SWPM|set=Base Set|link=http://www.swpocketmodels.com/images/cards1.jpg|cardname=Admiral Piett}}
Results in:
Star Wars PocketModel TCG – Base Set (Card: Admiral Piett) (Lua error in package.lua at line 80: module 'Module:ArchiveAccess/SWPM' not found.)