Шаблон:Game link — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
|||
Строка 1: | Строка 1: | ||
− | + | <includeonly><span class="gamelink" data-type="{{lc:{{{1|}}}}}" data-id="{{{2|}}}"></span></includeonly><noinclude> | |
− | |||
== Description == | == Description == | ||
− | Uses [[ | + | Uses [[Обсуждение MediaWiki:GameLinks.js|MediaWiki:GameLinks.js]] to produce an easily-selectable game link for the given parameters. While it can be used directly, the following shorthand templates are usually preferred: |
{{#dpl:category=Game link templates}} | {{#dpl:category=Game link templates}} |
Текущая версия на 20:27, 3 апреля 2018
Description[править]
Uses MediaWiki:GameLinks.js to produce an easily-selectable game link for the given parameters. While it can be used directly, the following shorthand templates are usually preferred:
- Шаблон:Item link
- Шаблон:Map link
- Шаблон:Outfit link
- Шаблон:Recipe link
- Шаблон:Skill link
- Шаблон:Skin link
- Шаблон:Trait link
Usage[править]
{{game link|<type>|<ID>}}
- unnamed parameter 1
- Link type: item, map, skill, trait, or recipe
- unnamed parameter 2
- Game ID.
Examples[править]
Code | Result | Represents |
---|---|---|
{{game link|item|24325}} |
Destroyer Lodestone | |
{{game link|map|1196}} |
Breekeelee | |
{{game link|skill|5501}} |
Meteor Shower | |
{{game link|trait|1010}} |
Opening Strike | |
{{game link|recipe|7}} |
Recipe: Bolts of Cotton | |
{{game link|skin|3666}} |
Tormented Hammer Skin | |
{{game link|outfit|4}} |
Witch's Outfit |