Template:PrayerBox: Difference between revisions
From Melvor Idle
(Embolden headings for consistency with other boxes) |
(Use infobox class) |
||
Line 3: | Line 3: | ||
Based on [[Template:Prayer]], but pulling data from [[Module:Skills/data]] filtered through [[Module:Prayer]] | Based on [[Template:Prayer]], but pulling data from [[Module:Skills/data]] filtered through [[Module:Prayer]] | ||
<onlyinclude><includeonly>{{#vardefine:prayer|{{{1|{{PAGENAME}}}}}}}{| class="wikitable | <onlyinclude><includeonly>{{#vardefine:prayer|{{{1|{{PAGENAME}}}}}}}{| class="wikitable infobox" | ||
|- | |- | ||
! {{#var:prayer}} | ! {{#var:prayer}} | ||
|- | |- | ||
| {{#invoke:Icons|Icon|{{#var:prayer}}|type=prayer|size=250|notext=true}} | | style="text-align:center;" | {{#invoke:Icons|Icon|{{#var:prayer}}|type=prayer|size=250|notext=true}} | ||
|- | |- | ||
| '''Prayer ID:''' {{#invoke:Prayer|getPrayerStat|{{#var:prayer}}|id}} | | '''Prayer ID:''' {{#invoke:Prayer|getPrayerStat|{{#var:prayer}}|id}} |
Revision as of 14:30, 5 June 2022
Based on Template:Prayer, but pulling data from Module:Skills/data filtered through Module:Prayer