24,527
ARTICLES
ON THIS WIKI
ON THIS WIKI
Template:Mob/Icons
Template documentation (for the above template, sometimes hidden or invisible)
This template is used to create a row of icons along with a number for use in the Mob template.
Syntax[edit]
Type {{Mob/Icons|<value>|<fullIcon>|<halfIcon>}}
somewhere.
- Parameters
- value: This is the value, this number of icons will be divided by two and that number of icons will appear.
- fullIcon: This string will be repeated for half of the value parameter times.
- halfIcon: If the value parameter is odd, this will be used to show a half value. It defaults to the string "+½".
Examples[edit]
Basic Usage[edit]
{{Mob/Icons|7|[[File:Heart.png]]|[[File:Half Heart.png]]}}
gives...
Values over 10[edit]
For values over 10, the template will not show a long row, it will just show the icon multiplied by the number.
{{Mob/Icons|12|[[File:Heart.png]]|[[File:Half Heart.png]]}}
gives...
View All FTB Twitter Feed
Discussion
To discuss the topics on this wiki, you can visit our community forums!