Шаблон:Game link — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) (test) |
||
Строка 1: | Строка 1: | ||
− | <includeonly><span class="gamelink" data-type="{{lc:{{{1|}}}}}" data-id="{{{2|}}}"></span></includeonly> | + | <includeonly><span class="gamelink" data-type="{{lc:{{{1|}}}}}" data-id="{{{2|}}}"></span></includeonly><noinclude> |
− | <noinclude> | ||
== Description == | == Description == | ||
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: | 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: |
Версия 19:24, 29 сентября 2016
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 |