Template:Icon: Difference between revisions
From Horizon Wiki Mirror
Content deleted Content added
imported>Aramachus mNo edit summary |
imported>Aramachus mNo edit summary |
||
| Line 27: | Line 27: | ||
}}|{{#switch:{{lc:{{{2}}}}} |
}}|{{#switch:{{lc:{{{2}}}}} |
||
| #default = 36px |
| #default = 36px |
||
| small = 18px |
| small = 18px |
||
| medium = 36px |
| medium = 36px |
||
| large = 72px |
| large = 72px |
||
| Line 56: | Line 56: | ||
* First parameter is which icon you want to display |
* First parameter is which icon you want to display |
||
* Second parameter (optional) is the size of the icon |
* Second parameter (optional) is the size of the icon |
||
* ''link'' parameter (optional) is to define an alternative where the icon will link to. Icons will link to the pages they belong to |
* ''link'' parameter (optional) is to define an '''alternative''' where the icon will link to. Icons will '''by default link to the pages they belong to'''. |
||
===Syntax=== |
===Syntax=== |
||
<pre>{{Icon|<command>|small/medium/large|link=<link>}}</pre> |
<pre>{{Icon|<command>|small/medium/large|link=<alternative link>}}</pre> |
||
===Available Icons=== |
===Available Icons=== |
||
Revision as of 11:49, 16 March 2024
Usage
- First parameter is which icon you want to display
- Second parameter (optional) is the size of the icon
- link parameter (optional) is to define an alternative where the icon will link to. Icons will by default link to the pages they belong to.
Syntax
{{Icon|<command>|small/medium/large|link=<alternative link>}}