Template:TransLink/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "<code><nowiki>{{TransLink|link|caption|anchor=</nowiki>''url-fragment''}}</code> * Link is where the link should go * Caption is optional. It's what gets displayed as the lin..." |
category |
||
Line 6: | Line 6: | ||
** Example: <code><nowiki>{{TransLink|Enemies|Enemy evolution|anchor=Evolution}}</nowiki></code> | ** Example: <code><nowiki>{{TransLink|Enemies|Enemy evolution|anchor=Evolution}}</nowiki></code> | ||
** {{TransLink|Enemies|Enemy evolution|anchor=Evolution}} | ** {{TransLink|Enemies|Enemy evolution|anchor=Evolution}} | ||
<noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 12:14, 27 August 2023
{{TransLink|link|caption|anchor=url-fragment}}
- Link is where the link should go
- Caption is optional. It's what gets displayed as the link text, and the word(s) that gets translated. If it is not present, link is used in its place.
- Anchor is optional. If it is added, the link goes to
link/lang-suffix#anchor
.- Example:
{{TransLink|Enemies|Enemy evolution|anchor=Evolution}}
- Enemy evolution
- Example: