Anonymous

Template:PrayerBox: Difference between revisions

From Melvor Idle
Add TotH icon
m (Removed data reference)
(Add TotH icon)
Line 1: Line 1:
{{PrayerBox|Chivalry}}
{{PrayerBox|Valor}}


Based on [[Template:Prayer]], content is pulled through [[Module:Prayer]]
Based on [[Template:Prayer]], content is pulled through [[Module:Prayer]]


<onlyinclude><includeonly>{{#vardefine:prayer|{{{1|{{PAGENAME}}}}}}}{| class="wikitable infobox"
<onlyinclude><includeonly>{| class="wikitable infobox"
|-  
|-  
! {{#var:prayer}}
! {{#invoke:Prayer|getExpansionIcon|{{{1|{{PAGENAME}}}}}}}{{{1|{{PAGENAME}}}}}
|-
|-
| style="text-align:center;" | {{#invoke:Icons|Icon|{{#var:prayer}}|type=prayer|size=250|notext=true}}
| style="text-align:center;" | {{#invoke:Icons|Icon|{{{1|{{PAGENAME}}}}}|type=prayer|size=250|notext=true}}
|-
|-
| '''Prayer ID:''' {{#invoke:Prayer|getPrayerStat|{{#var:prayer}}|id}}
| '''Prayer ID:''' {{#invoke:Prayer|getPrayerStat|{{{1|{{PAGENAME}}}}}|id}}
|-
|-
| '''Requirement:''' {{#invoke:Prayer|getPrayerStat|{{#var:prayer}}|prayerLevel}}
| '''Requirement:''' {{#invoke:Prayer|getPrayerStat|{{{1|{{PAGENAME}}}}}|prayerLevel}}
|-
|-
| '''Effects:'''<br/>
| '''Effects:'''<br/>
{{#invoke:Prayer|getPrayerEffect|{{#var:prayer}}|prayerEffect|true}}
{{#invoke:Prayer|getPrayerEffect|{{{1|{{PAGENAME}}}}}|prayerEffect|true}}
|-
|-
| '''Costs:'''
| '''Costs:'''
{{#invoke:Prayer|getPrayerStat|{{#var:prayer}}|prayerCost}}
{{#invoke:Prayer|getPrayerStat|{{{1|{{PAGENAME}}}}}|prayerCost}}
|}{{#invoke:Prayer|getPrayerCategories|{{#var:prayer}}}}</includeonly></onlyinclude>
|}{{#invoke:Prayer|getPrayerCategories|{{{1|{{PAGENAME}}}}}}}</includeonly></onlyinclude>