Template:PrayerBox: Difference between revisions

From Melvor Idle
(Added 'getPrayerCategories')
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{PrayerBox|Chivalry}}
{{PrayerBox|Valor}}


Based on [[Template:Prayer]], but pulling data from [[Module:Skills/data]] filtered through [[Module:Prayer]]
Content is pulled through [[Module:Prayer]]


<onlyinclude><includeonly>{{#vardefine:prayer|{{{1|{{PAGENAME}}}}}}}{| class="wikitable" style="float:right; clear:right; max-width:250px; margin-left:10px"
<onlyinclude><includeonly>{| class="wikitable infobox"
|-  
|-  
! {{#var:prayer}}
! {{#invoke:Prayer|getExpansionIcon|{{{1|{{PAGENAME}}}}}}}{{{1|{{PAGENAME}}}}}
|-
|-
| {{#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}}
|-
|-
| Level Required: {{SkillReq|
| '''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>

Latest revision as of 10:25, 14 June 2024

TotH.svg Valor
Valor
Prayer ID: melvorTotH:Valor
Requirement:
Error creating thumbnail: File missing
Level 100
Effects:
  • +30% Melee Accuracy Rating
  • +30% Melee Max Hit
  • +0.300 Prayer XP per damage done
Costs:

9 Prayer Points per player attack

Content is pulled through Module:Prayer