Template:Gems: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[File:Icon Resource GemStone.png|{{{size|32px}}}|link=Resources#Gems|Gems]]< | <includeonly><!-- | ||
-->{{Hint<!-- | |||
-->|[[File:Icon Resource GemStone.png|{{{size|32px}}}|link=]]<!-- | |||
-->|[[Resources{{#ifeq:{{{1|en}}}|en||/{{{1}}}|}}#Gems|{{Translation|gemstones|{{{1|en}}}}}]]<!-- | |||
-->}}<!-- | |||
--></includeonly><!-- | |||
################################################################################ | |||
--><noinclude> | |||
Renders the {{b|Gems}} icon resource, with a localized [[Template:Hint|Hint]] that links to the [[Resources]] page. | |||
== Usage == | |||
1. Default (English): | |||
{{Color|yellow|Input:}} <code><nowiki>{{Gems}}</nowiki></code> | |||
{{Color|lime|Output:}} {{Gems}} | |||
---- | |||
2. Japanese: | |||
{{Color|yellow|Input:}} <code><nowiki>{{Gems|ja}}</nowiki></code> | |||
{{Color|lime|Output:}} {{Gems|ja}} | |||
---- | |||
3. With custom {{b|size}}: | |||
{{Color|yellow|Input:}} <code><nowiki>{{Gems|size=64px}}</nowiki></code> | |||
{{Color|lime|Output:}} {{Gems|size=64px}} | |||
[[Category:Image templates]] | |||
</noinclude> | |||


