模板:2
出自【暗黑百科】DiabloWiki_凯恩之角
(修订版本间的差异)
第1行: | 第1行: | ||
- | [[{{{1}}}|{{#if:{{{2|}}} | {{{2}}} | {{{1}}} }}]]<noinclude> | + | [[{{{1}}} (Diablo II)|{{#if:{{{2|}}} | {{{2}}} | {{{1}}} }}]]<noinclude> |
===Usage=== | ===Usage=== |
在2011年10月2日 (日) 02:56所做的修订版本
[[{{{1}}} (Diablo II)|{{{1}}}]]
Usage
This template is used to quickly link to a certain page specific to Diablo II without having to type all the necessary link code. For example, to link to Barbarian (Diablo II) while only displaying the word Barbarian, simply enter:
{{2|Barbarian}}
..and the template will replace that with [[Barbarian (Diablo II)|Barbarian]] and what gets displayed is: Barbarian
The template can also function like regular bracket links: it can link to one thing but display another.
{{2|Barbarian|barb}}
This will still link to the same page as before, but will display differently: barb