Template:Tgc/doc
Jump to navigation
Jump to search
This template links to the Terraria Wiki.
Usage
{{ tgc | <article name> | <link text> (optional) | lang = <language code> (optional) }}
- First unnamed parameter
Link to the article on the Terraria Wiki.
- Second unnamed parameter
Text of the link. If not set it uses the first parameter.
- lang
Language code of the wiki. By default it is the same as {{lang}}
.
Examples
Code | Result | Note |
---|---|---|
{{tgc|Zenith}} |
Zenith | Default use case |
{{tgc|Zenith|A thing}} |
A thing | Custom text |
{{tgc|2=Terraria Wiki}} |
Terraria Wiki | Link to the main page (an equivalent of [[tgc:|Terraria Wiki]] )
|
{{lang/set|zh}} |
||
{{tgc|天顶剑}} |
天顶剑 | Other languages |
{{tgc|天顶剑|Zenith (Chinese wiki)}} |
Zenith (Chinese wiki) | |
{{tgc|Зенит|lang=ru}} |
Зенит | Setting language manually |