Template:Link: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
mNo edit summary |
No edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <includeonly><!-- | ||
-->{{LinkIcon | |||
|id={{{id|}}} | |||
|lang={{{lang|}}} | |||
|text={{{text|}}} | |||
|link={{{link|}}} | |||
|filename=0 | |||
|type={{{type|}}} | |||
|color={{{color|}}} | |||
|wrap={{{wrap|}}} | |||
}}<!-- | |||
#################################################################### | |||
--></includeonly><noinclude> | |||
This template is meant to handle the linking of articles in a way that is language-agnostic, meaning that it can be used in language-aware infoboxes and other contexts which need to be able to handle multiple languages. This template only works with concepts which have their translation managed by Cargo. | This template is meant to handle the linking of articles in a way that is language-agnostic, meaning that it can be used in language-aware infoboxes and other contexts which need to be able to handle multiple languages. This template only works with concepts which have their translation managed by Cargo. | ||
{{Note_box | This template is just a wrapper for <code><nowiki>{{LinkIcon | filename=0 | ...}}</nowiki></code>. For more examples, see [[Template:LinkIcon]].}} | |||
{{Color|yellow|Input:}} <code><nowiki>{{Link | id=human | type=faction}}</nowiki></code> | |||
{{Color|lime|Output:}} {{Link | id=human | type=faction}} | |||
</noinclude> | |||
</noinclude | |||
Latest revision as of 18:38, 27 June 2026
This template is meant to handle the linking of articles in a way that is language-agnostic, meaning that it can be used in language-aware infoboxes and other contexts which need to be able to handle multiple languages. This template only works with concepts which have their translation managed by Cargo.
Notes:
{{LinkIcon | filename=0 | ...}}. For more examples, see Template:LinkIcon. |
Input: {{Link | id=human | type=faction}}
Output: Temple


