Template:Sandbox/Aurelain/Link/stack: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Tag: Manual revert
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->
--><span style='display:inline-block;vertical-align:top;width:100px;text-align:center;line-height:1.1'><!--
filename={{{filename|-}}},link={{{link|-}}},text={{{text|-}}},lang={{{lang|-}}},
<span style='display:inline-block;vertical-align:top;width:100px;text-align:center;line-height:1.1'><!--
     -->[[File:{{{filename}}} | {{{size|64px}}} | link={{{link}}}<!--
     -->[[File:{{{filename}}} | {{{size|64px}}} | link={{{link}}}<!--
         -->{{#switch: {{{lang|en}}}
         -->{{#switch: {{{lang|en}}}

Revision as of 15:01, 27 June 2026


This template is used by Template:LinkIcon as the base for rendering a link with an icon on top of it.

Usage

1. Normal:

Input:

{{Sandbox/Aurelain/Link/stack
| filename=Ister.png
| link=Ister
| text=Ister
}}

Output: Ister


2. With lang, to override the default (en) and thus change the link:

Input:

{{Sandbox/Aurelain/Link/stack
| filename=Ister.png
| link=Ister
| text=イスター
| lang=ja
}}

Output: イスター


3. With size, to override the default (64px):

Input:

{{Sandbox/Aurelain/Link/stack
| filename=Ister.png
| link=Ister
| text=Ister
| size=128px
}}

Output: Ister