Template:PrayerIcon: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Created a prayer equivalent to the ItemIcon template) |
Falterfire (talk | contribs) (Changed over to the generic Icon template as a base.) |
||
Line 3: | Line 3: | ||
Adding a second argument allows you to override the text. For example, <nowiki>{{PrayerIcon|Augury|TURBO MAGE PRAYER}}</nowiki> gives {{PrayerIcon|Augury|TURBO MAGE PRAYER}} | Adding a second argument allows you to override the text. For example, <nowiki>{{PrayerIcon|Augury|TURBO MAGE PRAYER}}</nowiki> gives {{PrayerIcon|Augury|TURBO MAGE PRAYER}} | ||
<includeonly><onlyinclude> | <includeonly><onlyinclude>{{Icon|type=prayer|{{{1}}}|{{{2|}}}|ext={{{ext|svg}}}}}</onlyinclude></includonly> |
Revision as of 22:45, 24 August 2020
A template for quickly building prayer links with icons. For example, {{PrayerIcon|Mystic Might}} becomes Mystic Might.
Adding a second argument allows you to override the text. For example, {{PrayerIcon|Augury|TURBO MAGE PRAYER}} gives TURBO MAGE PRAYER