This module is similar to {{Iconify}}
but for modules.
Parameters
Parameter | Description | Required | Default |
---|---|---|---|
icon | Text/main file name | required | none |
group | image/file "group"/prefix | optional | none |
width | Width of the icon
|
optional | 24px |
text | modifies text output if used:
|
optional | none |
mod | modifier text between icon and output text
|
optional | none |
image | alternate image file definition | optional | group icon.png |
link | alternate link | optional | icon |
Notes
icon
is made lowercase, changes dashes - to underscores _, and removes any single quotes/apostrophes ' for the file name, however those changes are not made for the text or link usage.
group
is used exactly as typed, however the first character counts as capitalized even if lowercase, as with all wiki files and pages, e.g. Method and method are considered the same.
Usage
iconify(icon="Poor Laws",group="Law")
gives
Poor Laws
iconify(icon="University",group="Building",width="36px",text="0")
gives
36px
iconify(icon="Morale",group="Military",mod="+10%")
gives
+10% Morale