Template:Icon: Difference between revisions
From Step Mods | Change The Game
Tag: Undo |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[File:{{#switch:{{lc:{{{iconImage|{{{ | <includeonly>[[File:{{#switch:{{lc:{{{iconImage|{{{1|}}}}}}}} | ||
|ask = Tango-question-mark.png | |ask = Tango-question-mark.png | ||
|bug = Bug-Logo.png | |bug = Bug-Logo.png | ||
Line 29: | Line 29: | ||
|xedit = Tes5edit.png | |xedit = Tes5edit.png | ||
|yes = Tick_green.png | |yes = Tick_green.png | ||
|yesyellow = Tick_yellow.png}}|{{{size|24}}}px|{{#switch:{{lc:{{{iconText|{{{type}}}}}}}} | |yesyellow = Tick_yellow.png}}|{{{size|{{{3|24}}}}}}px|{{#switch:{{lc:{{{iconText|{{{type|{{{2}}}}}}}}}}} | ||
|ask = Ask/Question/Unknown | |ask = Ask/Question/Unknown | ||
|bug = Bug | |bug = Bug |
Revision as of 19:07, March 27, 2022
Purpose & Usage
Places a pre-defined icon on a wiki page. Can be used anywhere [[File:Name.Ext]] can be.
Required Parameters
- type
- Defined:
type=keyword
- Defines the icon that will be placed.
General Icons
Keywords | Result |
---|---|
ask | |
bug | |
save | |
construction | |
enbdownload | |
globe | |
info, information | |
loot | |
mcm | |
no | |
skyrim | |
step | |
warn, warning | |
xedit | |
yes | |
yesyellow |
Mod Organizer Specific Icons
Keywords | Result |
---|---|
moexe | |
moglobe | |
mohelp | |
moinstall | |
moinstance | |
molistoptons | |
moprofile | |
mopopenfolders | |
morefresh | |
mosettings | |
motools | |
moupdate |
Optional Parameters
- size
- Default = 24
- Defines the size of the icon in pixels.
Examples
Code:
{{icon|type=ask}}
{{icon|type=no}}
{{icon|type=yes}}
{{icon|type=info}}
Result:
- [[File:|24px|Ask/Question/Unknown]]
- [[File:|24px|No]]
- [[File:|24px|Yes]]
- [[File:|24px|Information]]
Inline
Display the icons inline and bigger!
- Code:
{{icon|type=moinstall|size=30}} {{icon|type=moglobe|size=30}} {{icon|type=moprofile|size=30}} {{icon|type=moexe|size=30}} {{icon|type=motools|size=30}} {{icon|type=molistoptions|size=30}}
- Result:
- [[File:|30px|MO Install Archive]] [[File:|30px|MO Nexus]] [[File:|30px|MO Profiles]] [[File:|30px|MO Executables]] [[File:|30px|MO Tools]] [[File:|30px|MO List Options]]
Related Templates
None