Template:TORweb/doc
Usage instructions
{{TORweb|subdomain=|url=|text=|int=|date=|archivedate=|archiveurl=|archivefile=|nobackup=}}
Required parameters
|url=
The URL of the web page, minushttps://www.swtor.com/
.|text=
The formatted text to display.- For archive options, see Backup links below. While the template support both archiveurl and archivedate parameters, it's designed to work with only the archivedate parameter, and should be used that way. However, archivedates should be put into Module:ArchiveAccess/TORweb, a centralized repository of archivedates for all swtor.com URLs; this allows TORweb to be used on an article without explicitly providing an archivedate, and the template will auto-provide one.
The "url", "text", and "int" fields need to be explicitly assigned to as, otherwise, use of the "=" symbol in the links messes up the template.
Optional parameters
|subdomain=
The subdomain part of the URL if its notwww
as highlighted here:https://accounts.swtor.com
. Default iswww
if left blank.|int=
This field provides a link to the Wookieepedia article, if one exists.|date=
Full date of publication, in ISO 8601YYYY-MM-DD
format, for example "date=2006-02-17
".
For the commonly-referenced Patch Notes, {{TORweb/Patch}} can be used with just the patch number, and it will auto-generate the URL, text and archivedate.
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)
- Using central archive repository
{{TORweb|url=info/news/news-article/20180709|text=#KOTOR15 Week in the #SWTOR Cartel Market!|date=2018-07-09}}
Results in:
File:SWTOR mini.png #KOTOR15 Week in the #SWTOR Cartel Market! on The Old Republic's official website (July 9, 2018) (backup link)
- Using
|int=
{{TORweb|url=holonet/galactic-history|text=Timeline 8: The Jedi Civil War|int=Timeline 8: The Jedi Civil War}}
Results in:
File:SWTOR mini.png Timeline 8: The Jedi Civil War on The Old Republic's official website (article) (backup link)
- Using
|subdomain=
{{TORweb|subdomain=account|url=play-for-free?intcmp=sor_bwa-mkt-t-us-a-003|text=Play Free* Now!|archivedate=20220712132055}}
Results in:
File:SWTOR mini.png Play Free* Now! on The Old Republic's official website (backup link)