Template:Combat: Difference between revisions

From Roat Pkz
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
| {{#vardefineecho:att|{{#if:{{{Attack|}}}|{{{Attack}}}|1}}
| {{#vardefineecho:att|{{#if:{{{Attack|}}}|{{{Attack}}}|1}}
| {{SCP|Hitpoints}}
| {{SCP|Hitpoints}}
| {{#vardefineecho:hp|{{#if:{{{Hitpoints|}}}|{{{Hitpoints}}}|10}}}}
| {{#vardefineecho:hp|{{#if:{{{Hitpoints|}}}|{{{Hitpoints}}}|10}}
|-
|-
| {{SCP|Strength}}  
| {{SCP|Strength}}  
| {{#vardefineecho:str|{{#if:{{{Strength|}}}|{{{Strength}}}|1}}}}
| {{#vardefineecho:str|{{#if:{{{Strength|}}}|{{{Strength}}}|1}}
| {{SCP|Defence}}
| {{SCP|Defence}}
| {{#vardefineecho:def|{{#if:{{{Defence|}}}|{{{Defence}}}|1}}}}
| {{#vardefineecho:def|{{#if:{{{Defence|}}}|{{{Defence}}}|1}}
|-
|-
| {{SCP|Ranged}}
| {{SCP|Ranged}}
| {{#vardefineecho:range|{{#if:{{{Ranged|}}}|{{{Ranged}}}|1}}}}
| {{#vardefineecho:range|{{#if:{{{Ranged|}}}|{{{Ranged}}}|1}}
| {{SCP|Prayer}}
| {{SCP|Prayer}}
| {{#vardefineecho:pray|{{#if:{{{Prayer|}}}|{{{Prayer}}}|1}}}}
| {{#vardefineecho:pray|{{#if:{{{Prayer|}}}|{{{Prayer}}}|1}}
|-
|-
| {{SCP|Magic}}  
| {{SCP|Magic}}  
| {{#vardefineecho:mage|{{#if:{{{Magic|}}}|{{{Magic}}}|1}}}}
| {{#vardefineecho:mage|{{#if:{{{Magic|}}}|{{{Magic}}}|1}}
! {{SCP|Combat}}
! {{SCP|Combat}}
! {{Combat level|Attack={{#var:att}}|Strength={{#var:str}}|Defence={{#var:def}}|Ranged={{#var:range}}|Magic={{#var:mage}}|Prayer={{#var:pray}}|Hitpoints={{#var:hp}}}}
! {{Combat level|Attack={{#var:att}}|Strength={{#var:str}}|Defence={{#var:def}}|Ranged={{#var:range}}|Magic={{#var:mage}}|Prayer={{#var:pray}}|Hitpoints={{#var:hp}}}}

Revision as of 16:58, 4 May 2024