Difference between revisions of "Template:3.5e Armor"
From Dungeons and Dragons Wiki
Tarkisflux (talk | contribs) m |
Tarkisflux (talk | contribs) (substantial coding) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| class="d20" style="float:right" | {| class="d20" style="float:right" | ||
|- | |- | ||
Line 27: | Line 17: | ||
! Size !! Humanoid<br>Cost !! Nonhumanoid<br>Cost !! Armor<br/>Bonus !! Weight !! Hit<br/>Points | ! Size !! Humanoid<br>Cost !! Nonhumanoid<br>Cost !! Armor<br/>Bonus !! Weight !! Hit<br/>Points | ||
|- | |- | ||
− | + | | class="left" | [[SRD:Medium|Medium]] | |
− | | class="left" | [[SRD: | ||
| {{#expr:{{{cost}}}-((({{{cost}}}*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*10)mod10}}|, {{#expr:({{{cost}}}*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*100)mod10}}|, {{#expr:({{{cost}}}*100)mod10}} cp}} | | {{#expr:{{{cost}}}-((({{{cost}}}*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*10)mod10}}|, {{#expr:({{{cost}}}*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*100)mod10}}|, {{#expr:({{{cost}}}*100)mod10}} cp}} | ||
| {{#expr:{{{cost}}}*2-((({{{cost}}}*2*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*2*10)mod10}}|, {{#expr:({{{cost}}}*2*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*2*100)mod10}}|, {{#expr:({{{cost}}}*2*100)mod10}} cp}} | | {{#expr:{{{cost}}}*2-((({{{cost}}}*2*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*2*10)mod10}}|, {{#expr:({{{cost}}}*2*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*2*100)mod10}}|, {{#expr:({{{cost}}}*2*100)mod10}} cp}} | ||
− | | {{{bonus}}} | | + | | {{{bonus}}} |
− | + | | {{{wght}}} lb. | |
− | + | | {{{hp}}} | |
|} | |} | ||
+ | |||
+ | |||
{| class="zebra d20 collapsible collapsed" style="width: 50%;" | {| class="zebra d20 collapsible collapsed" style="width: 50%;" | ||
! Colspan=6 | Non-Standard Sizes | ! Colspan=6 | Non-Standard Sizes | ||
|- | |- | ||
− | | class="left" | [[SRD:Fine|Fine]] || {{#expr: {{{cost}}}*.5}} || {{{cost}}} || {{{tbonus}}} | | + | | class="left" | [[SRD:Fine|Fine]] |
+ | | {{#expr:{{{cost}}}*.5-((({{{cost}}}*.5*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*.5*10)mod10}}|, {{#expr:({{{cost}}}*.5*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*.5*100)mod10}}|, {{#expr:({{{cost}}}*.5*100)mod10}} cp}} | ||
+ | | {{#expr:{{{cost}}}-((({{{cost}}}*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*10)mod10}}|, {{#expr:({{{cost}}}*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*100)mod10}}|, {{#expr:({{{cost}}}*100)mod10}} cp}} | ||
+ | | {{{tbonus}}} | ||
+ | | {{#expr: {{{wght}}}*.1}} lb. | ||
+ | | {{{hp}}} | ||
|- | |- | ||
− | | class="left" | [[SRD:Diminutive|Diminutive]] | + | | class="left" | [[SRD:Diminutive|Diminutive]] |
+ | | {{#expr:{{{cost}}}*.5-((({{{cost}}}*.5*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*.5*10)mod10}}|, {{#expr:({{{cost}}}*.5*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*.5*100)mod10}}|, {{#expr:({{{cost}}}*.5*100)mod10}} cp}} | ||
+ | | {{#expr:{{{cost}}}-((({{{cost}}}*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*10)mod10}}|, {{#expr:({{{cost}}}*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*100)mod10}}|, {{#expr:({{{cost}}}*100)mod10}} cp}} | ||
+ | | {{{tbonus}}} | ||
+ | | {{#expr: {{{wght}}}*.1}} lb. | ||
+ | | {{{hp}}} | ||
|- | |- | ||
− | | class="left" | [[SRD:Tiny|Tiny]] || {{#expr: {{{cost}}}*.5}} || | + | | class="left" | [[SRD:Tiny|Tiny]] |
− | |- | + | | {{#expr:{{{cost}}}*.5-((({{{cost}}}*.5*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*.5*10)mod10}}|, {{#expr:({{{cost}}}*.5*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*.5*100)mod10}}|, {{#expr:({{{cost}}}*.5*100)mod10}} cp}} |
− | | class="left" | [[SRD:Large|Large]] || {{#expr: {{{cost}}}*2}} || {{#expr: {{{cost}}}*4}} || {{{bonus}}} | | + | | {{#expr:{{{cost}}}-((({{{cost}}}*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*10)mod10}}|, {{#expr:({{{cost}}}*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*100)mod10}}|, {{#expr:({{{cost}}}*100)mod10}} cp}} |
+ | | {{{bonus}}} | ||
+ | | {{#expr: {{{wght}}}*.1}} lb. | ||
+ | | {{{hp}}} | ||
+ | |- | ||
+ | | class="left" | [[SRD:Small|Small]] | ||
+ | | {{#expr:{{{cost}}}-((({{{cost}}}*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*10)mod10}}|, {{#expr:({{{cost}}}*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*100)mod10}}|, {{#expr:({{{cost}}}*100)mod10}} cp}} | ||
+ | | {{#expr:{{{cost}}}*2-((({{{cost}}}*2*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*2*10)mod10}}|, {{#expr:({{{cost}}}*2*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*2*100)mod10}}|, {{#expr:({{{cost}}}*2*100)mod10}} cp}} | ||
+ | | {{{bonus}}} | ||
+ | | {{#expr: {{{wght}}}*.5}} lb. | ||
+ | | {{{hp}}} | ||
+ | |- | ||
+ | | class="left" | [[SRD:Large|Large]] | ||
+ | | {{#expr:{{{cost}}}*2-((({{{cost}}}*2*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*2*10)mod10}}|, {{#expr:({{{cost}}}*2*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*2*100)mod10}}|, {{#expr:({{{cost}}}*2*100)mod10}} cp}} | ||
+ | | {{#expr:{{{cost}}}*4-((({{{cost}}}*4*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*4*10)mod10}}|, {{#expr:({{{cost}}}*4*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*4*100)mod10}}|, {{#expr:({{{cost}}}*4*100)mod10}} cp}} | ||
+ | | {{{bonus}}} | ||
+ | | {{#expr: {{{wght}}}*2}} lb. | ||
+ | | {{{hp}}} | ||
|- | |- | ||
− | | class="left" | [[SRD:Huge|Huge]] || {{#expr: {{{cost}}}*4}} || {{#expr: {{{cost}}}*8}} || {{{bonus}}} | | + | | class="left" | [[SRD:Huge|Huge]] |
+ | | {{#expr:{{{cost}}}*4-((({{{cost}}}*4*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*4*10)mod10}}|, {{#expr:({{{cost}}}*4*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*4*100)mod10}}|, {{#expr:({{{cost}}}*4*100)mod10}} cp}} | ||
+ | | {{#expr:{{{cost}}}*8-((({{{cost}}}*8*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*8*10)mod10}}|, {{#expr:({{{cost}}}*8*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*8*100)mod10}}|, {{#expr:({{{cost}}}*8*100)mod10}} cp}} | ||
+ | | {{{bonus}}} | ||
+ | | {{#expr: {{{wght}}}*5}} lb. | ||
+ | | {{{hp}}} | ||
|- | |- | ||
− | | class="left" | [[SRD:Gargantuan|Gargantuan]] || {{#expr: {{{cost}}}*8}} || {{#expr: {{{cost}}}*16}} || {{{bonus}}} | | + | | class="left" | [[SRD:Gargantuan|Gargantuan]] |
+ | | {{#expr:{{{cost}}}*8-((({{{cost}}}*8*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*8*10)mod10}}|, {{#expr:({{{cost}}}*8*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*8*100)mod10}}|, {{#expr:({{{cost}}}*8*100)mod10}} cp}} | ||
+ | | {{#expr:{{{cost}}}*16-((({{{cost}}}*16*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*16*10)mod10}}|, {{#expr:({{{cost}}}*16*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*16*100)mod10}}|, {{#expr:({{{cost}}}*16*100)mod10}} cp}} | ||
+ | | {{{bonus}}} | ||
+ | | {{#expr: {{{wght}}}*8}} lb. | ||
+ | | {{{hp}}} | ||
|- | |- | ||
− | | class="left" | [[SRD:Colossal|Colossal]] || {{#expr: {{{cost}}}*16}} || {{#expr: {{{cost}}}*32}} || {{{bonus}}} | + | | class="left" | [[SRD:Colossal|Colossal]] |
+ | | {{#expr:{{{cost}}}*16-((({{{cost}}}*16*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*16*10)mod10}}|, {{#expr:({{{cost}}}*16*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*16*100)mod10}}|, {{#expr:({{{cost}}}*16*100)mod10}} cp}} | ||
+ | | {{#expr:{{{cost}}}*32-((({{{cost}}}*32*100)mod100)/100)}} gp{{#if: {{#expr:({{{cost}}}*32*10)mod10}}|, {{#expr:({{{cost}}}*32*10)mod10}} sp}}{{#if: {{#expr:({{{cost}}}*32*100)mod10}}|, {{#expr:({{{cost}}}*32*100)mod10}} cp}} | ||
+ | | {{{bonus}}} | ||
+ | {{#expr: {{{wght}}}*12}} lb. | ||
+ | | {{{hp}}} | ||
|- | |- | ||
|} | |} |
Revision as of 00:37, 17 June 2010
Template documentation (for the above template, sometimes hidden or invisible)
Contents
This template creates a formatted table for 3.5e armors.
Parameters
Parameter | Required | Description | Example |
---|---|---|---|
name | Yes | The name of the armor. | Padded Armor |
lmh | Yes | The armor's category. Enter either: l= light, m= medium, h= heavy. | l |
maxdex | Yes | The Maximum Dexterity Bonus of the armor here. | +0 |
tbonus | Yes | The armor's armor bonus for tiny and smaller armors. This is half the armor's normal bonus, rounding down. | +0 |
bonus | Yes | The armor's armor bonus. | +1 |
acp | Yes | The armor's Armor Check Penalty. | 0 |
asf | Yes | The armor's Arcane Spell Failure. | 5% |
hard | Yes | The armor's Hardness. | 2 |
cost | No | The armor's cost for a medium humanoid. This parameter calculates non-humanoid and non-standard costs. For costs not measured in quantities of gp, use decimal places, with tenths being sp and hundredths being cp. No cost is needed if used for an artifact. | 5 |
wght | Yes | The armor's weight for a medium humanoid. This parameter calculates non-humanoid and non-standard weights. | 10 |
hp | Yes | The armor's hit points. | 5 |
donpbh | Yes | How easy it is to don this armor. Enter either: p= as padded, b=as breastplate, h=as half-plate. Armors with custom don times may use "o" for other, but must specify additional properties. | p |
don | No | The time it takes to don the armor if "o" is selected in donpbh. | 1 minute |
donhasty | No | The time it takes to hastily don the armor if "o" is selected in donpbh. | 4 minutes |
remove | No | The time it takes to remove the armor if "o" is selected in donpbh. | 1 minute |
summary | No | This short description that will appear on the armor navigation page. If you don't include this parameter, make sure you set the "Summary" property in the text. A summary included here will not show up on the article. | A set of inexpensive padded armor. |
Examples
The example armor below is defined in wiki-text as follows:
{{3.5e Armor |name=Padded Armor |lmh=l |maxdex=+8 |tbonus=+0 |bonus=+1 |acp=0 |asf=5% |hard=2 |cost=5 |weight=10 |hp=5 |donpbh=p }}
This text becomes:
Size | Humanoid Cost |
Nonhumanoid Cost |
Armor Bonus |
Weight | Hit Points |
---|---|---|---|---|---|
Small | 5 gp | 10 gp | +1 | 5 lb. | 5 |
Medium | 5 gp | 10 gp | +1 | 10 lb. | 5 |
Non-Standard Sizes | |||||
---|---|---|---|---|---|
Fine | 2 gp 5 sp | 5 gp | +0 | 1 lb. | 5 |
Diminutive | 2 gp 5 sp | 5 gp | +0 | 1 lb. | 5 |
Tiny | 2 gp 5 sp | 5 gp | +0 | 1 lb. | 5 |
Large | 10 gp | 20 gp | +1 | 20 lb. | 5 |
Huge | 20 gp | 40 gp | +1 | 50 lb. | 5 |
Gargantuan | 40 gp | 80 gp | +1 | 80 lb. | 5 |
Colossal | 80 gp | 160 gp | +1 | 120 lb. | 5 |
Maximum Dex Bonus |
Armor Check Penalty |
Arcane Spell Failure |
Hardness |
---|---|---|---|
+8 | 0 | 5% | 2 |
Speed | |||||||||
---|---|---|---|---|---|---|---|---|---|
Base | 20 ft. | 30 ft. | 40 ft. | 50 ft. | 60 ft. | 70 ft. | 80 ft. | 90 ft. | 100 ft. |
Armored | 20 ft. | 30 ft. | 40 ft. | 50 ft. | 60 ft. | 70 ft. | 80 ft. | 90 ft. | 100 ft. |
Don | Don Hastily | Remove |
---|---|---|
1 minute | 5 rounds | 1 minute1 |
|
Visit Template:3.5e Armor/doc to edit this text! (How does this work?)