Template:PrayerBox: Difference between revisions

Use infobox class
(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" style="float:right; clear:right; max-width:250px; margin-left:10px"
<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}}