837
editsAd placeholder
User:Lavaeolus/Sandbox: Difference between revisions
Jump to navigation
Jump to search
no edit summary
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><table style="text-align: center; min-width: 210px; background-color:inherit;"><!-- | ||
{{#if:{{{ | ------------ | ||
LEVEL | |||
------------ | |||
-->{{#if: {{{level|}}} | <tr><td colspan="100%"><p style="text-align:center; line-height:0.7">Level {{{level}}}</p></td></tr>}}<!-- | |||
------------ | |||
{{#if:{{{ | ABILITY SCORES | ||
------------ | |||
-->{{#if: {{{1|}}} | | |||
<tr> | |||
<td style="width: 52px; vertical-align: top"> | |||
<p style="margin:0px">[[Strength|STR]]</p> | |||
{{# | <div {{#if: {{IfEmpty | {{{str save|}}} }} | class="bg3wiki-d20-bg" title="Proficient in Strength saves" }} style="height:40px">'''<span style="display:block;padding-top:8px">{{{1}}}</span>'''</div> {{#ifexpr: {{{1|}}} > 11 | <span style="font-size:0.8em">(+{{#expr:floor(({{{1|}}}-10)/2)}})</span> | {{#ifexpr: {{{1|}}} < 10 | <span style="font-size:0.8em">({{#expr:floor(({{{1|}}}-10)/2)}})</span> |}} }} | ||
</td> | |||
<td style="width: 52px; vertical-align: top"> | |||
<p style="margin:0px">[[Dexterity|DEX]]</p> | |||
{{#if:{{{ | <div {{#if: {{IfEmpty | {{{dex save|}}} }} | class="bg3wiki-d20-bg" title="Proficient in Dexterity saves" }} style="height:40px">'''<span style="display:block;padding-top:8px">{{{2}}}</span>'''</div> {{#ifexpr: {{{2|}}} > 11 | <span style="font-size:0.8em">(+{{#expr:floor(({{{2|}}}-10)/2)}})</span> | {{#ifexpr: {{{2|}}} < 10 | <span style="font-size:0.8em">({{#expr:floor(({{{2|}}}-10)/2)}})</span> |}} }} | ||
</td> | |||
<td style="width: 52px; vertical-align: top"> | |||
<p style="margin:0px">[[Constitution|CON]]</p> | |||
|{{{ | <div {{#if: {{IfEmpty | {{{con save|}}} }} | class="bg3wiki-d20-bg" title="Proficient in Constitution saves" }} style="height:40px">'''<span style="display:block;padding-top:8px">{{{3}}}</span>'''</div> {{#ifexpr: {{{3|}}} > 11 | <span style="font-size:0.8em">(+{{#expr:floor(({{{3|}}}-10)/2)}})</span> | {{#ifexpr: {{{3|}}} < 10 | <span style="font-size:0.8em">({{#expr:floor(({{{3|}}}-10)/2)}})</span> |}} }} | ||
</td> | |||
|{{{ | |||
{{#if: {{{4|}}} | | |||
| | <td style="width: 52px; vertical-align: top"> | ||
<p style="margin:0px">[[Intelligence|INT]]</p> | |||
<div {{#if: {{IfEmpty | {{{int save|}}} }} | class="bg3wiki-d20-bg" title="Proficient in Intelligence saves" }} style="height:40px">'''<span style="display:block;padding-top:8px">{{{4}}}</span>'''</div> {{#ifexpr: {{{4|}}} > 11 | <span style="font-size:0.8em">(+{{#expr:floor(({{{4|}}}-10)/2)}})</span> | {{#ifexpr: {{{4|}}} < 10 | <span style="font-size:0.8em">({{#expr:floor(({{{4|}}}-10)/2)}})</span> |}} }} | |||
</td> | |||
}} | |||
| | |||
{{#if: {{{5|}}} | | |||
<td style="width: 52px; vertical-align: top"> | |||
<p style="margin:0px">[[Wisdom|WIS]]</p> | |||
{{ | <div {{#if: {{IfEmpty | {{{wis save|}}} }} | class="bg3wiki-d20-bg" title="Proficient in Wisdom saves" }} style="height:40px">'''<span style="display:block;padding-top:8px">{{{5}}}</span>'''</div> {{#ifexpr: {{{5|}}} > 11 | <span style="font-size:0.8em">(+{{#expr:floor(({{{5|}}}-10)/2)}})</span> | {{#ifexpr: {{{5|}}} < 10 | <span style="font-size:0.8em">({{#expr:floor(({{{5|}}}-10)/2)}})</span> |}} }} | ||
{{ | </td> | ||
}} | |||
{{ | |||
{{#if: {{{6|}}} | | |||
{{ | <td style="width: 52px; vertical-align: top"> | ||
<p style="margin:0px">[[Charisma|CHA]]</p> | |||
{{# | <div {{#if: {{IfEmpty | {{{cha save|}}} }} | class="bg3wiki-d20-bg" title="Proficient in Charisma saves" }} style="height:40px">'''<span style="display:block;padding-top:8px">{{{6}}}</span>'''</div> {{#ifexpr: {{{6|}}} > 11 | <span style="font-size:0.8em">(+{{#expr:floor(({{{6|}}}-10)/2)}})</span> | {{#ifexpr: {{{6|}}} < 10 | <span style="font-size:0.8em">({{#expr:floor(({{{6|}}}-10)/2)}})</span> |}} }} | ||
</td> | |||
{{ | }} | ||
</tr> | |||
{{#if:{{{ | }}<!-- | ||
{{ | ------------ | ||
DIVIDING LINE | |||
------------ | |||
-->{{#if: {{{1|}}} | |||
{{ | | {{#if: {{{race|}}}{{{type|}}}{{{hp|}}}{{{ac|}}}{{{ms|}}}{{{size|}}}{{{weight|}}}{{{prof|}}}{{{init|}}} | ||
| <tr><td colspan="100%" style="padding-left:10px;padding-right:10px;"><hr/></td></tr> | |||
{{# | }} }}<!-- | ||
------------ | |||
RACE | |||
{{#if:{{{ | ------------ | ||
-->{{#if: {{{race|}}} | | |||
{{ | <tr style="line-height:0.5;text-align:left;"> | ||
<td colspan="{{#if: {{{6|}}} | 3 | 2}}"><p style="margin:0px;">[[File:Creature Race Icon.png|frameless|x24px|link=]] Race</p></td> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 1}}"><p style="margin:0px;">{{{race}}}</td> | |||
{{ | </tr>}}<!-- | ||
------------ | |||
{{# | TYPE | ||
------------ | |||
-->{{#if: {{{type|}}} | | |||
<tr style="line-height:0.5;text-align:left;"> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 2}}"><p style="margin:0px;">[[File:Creature Type Icon.png|frameless|x24px|link=]] Type</p></td> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 1}}"><p style="margin:0px;">{{{type}}}</td> | |||
{{ | </tr>}}<!-- | ||
{{ | |||
------------ | |||
HP | |||
------------ | |||
-->{{#if: {{{hp|}}} | | |||
<tr style="line-height:0.5;text-align:left;"> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 2}}"><p style="margin:0px;">[[File:HP Icon.png|frameless|x24px|link=]] Hit Points</p></td> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 1}}"><p style="margin:0px;">{{{hp}}}</td> | |||
</tr>}}<!-- | |||
------------ | |||
ARMOUR CLASS | |||
------------ | |||
-->{{#if: {{{ac|}}} | | |||
<tr style="line-height:0.5;text-align:left;"> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 2}}"><p style="margin:0px;">[[File:Creature AC Icon.png|frameless|x24px|link=]] Armour Class</p></td> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 1}}"><p style="margin:0px;">{{{ac}}}</td> | |||
</tr>}}<!-- | |||
------------ | |||
MOVEMENT SPEED | |||
------------ | |||
-->{{#if: {{{ms|}}} | | |||
<tr style="line-height:0.5;text-align:left;"> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 2}}"><p style="margin:0px;">[[File:Creature Speed Icon.png|frameless|x24px|link=]] Movement Speed</p></td> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 1}}"><p style="margin:0px;">{{{ms}}}</td> | |||
</tr>}}<!-- | |||
------------ | |||
SIZE | |||
------------ | |||
-->{{#if: {{{size|}}} | | |||
<tr style="line-height:0.5;text-align:left;"> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 2}}"><p style="margin:0px;">[[File:Creature Size Icon.png|frameless|x24px|link=]] Size</p></td> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 1}}"><p style="margin:0px;">{{{size}}}</td> | |||
</tr>}}<!-- | |||
------------ | |||
WEIGHT | |||
------------ | |||
-->{{#if: {{{weight|}}} | | |||
<tr style="line-height:0.5;text-align:left;"> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 2}}"><p style="margin:0px;">[[File:Weight Icon.png|frameless|x24px|link=]] Weight</p></td> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 1}}"><p style="margin:0px;">{{{weight}}}</td> | |||
</tr>}}<!-- | |||
{{#if:{{{ | ------------ | ||
{{ | PROFICIENCY | ||
------------ | |||
-->{{#if: {{{prof|}}} | | |||
}} | <tr style="line-height:0.5;text-align:left;"> | ||
<td colspan="{{#if: {{{6|}}} | 3 | 2}}"><p style="margin:0px;">[[File:Proficiency Icon.png|frameless|x24px|link=]] Proficiency Bonus</p></td> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 1}}"><p style="margin:0px;">+{{{prof}}}</td> | |||
</tr>}}<!-- | |||
{{#if:{{{ | ------------ | ||
INITIATIVE | |||
------------ | |||
-->{{#if: {{{init|}}} | | |||
<tr style="line-height:0.5;text-align:left;"> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 2}}"><p style="margin:0px;">[[File:Initiative Icon.png|frameless|x24px|link=]] Initiative</p></td> | |||
<td colspan="{{#if: {{{6|}}} | 3 | 1}}"><p style="margin:0px;">{{{init}}}</td> | |||
</tr>}}</table></includeonly><!-- | |||
------------ | |||
EXAMPLE 1 | |||
------------ | |||
--><noinclude>This template generates a stat block for a creature or transformation form. | |||
{{ | <pre> | ||
{{AttributeBlock|10|10|10|10|10|10 | |||
|str save = | |||
|dex save = | |||
|con save = | |||
|int save = | |||
|wis save = | |||
|cha save = | |||
|level= | |||
|race= | |||
|type= | |||
|hp= | |||
|ac= | |||
|ms= | |||
|size= | |||
|weight= | |||
|prof= | |||
|init= | |||
}} | }} | ||
</pre> | |||
<hr> | |||
<h4>Examples:</h4> | |||
Full stat block: | |||
{{ | <pre> | ||
{{AttributeBlock|15|8|11|9|18|10 | |||
|str save = proficient | |||
|wis save = proficient | |||
| | |level=3 | ||
| | |||
| | |||
| | |||
| | |||
|str save= | |||
|wis save= | |||
|level= | |||
|race=Skeleton | |race=Skeleton | ||
|type=Undead | |type=Undead | ||
| | |hp=28 | ||
| | |ac=15 | ||
| | |ms=10m / 30ft | ||
|size=Medium | |size=Medium | ||
|weight=20kg / 40lbs | |weight=20kg / 40lbs | ||
| | |prof=2 | ||
| | |init=-1 | ||
}} | }} | ||
</pre> | |||
{{AttributeBlock|15|8|11|9|18|10 | |||
|str save = proficient | |||
{{ | |wis save = proficient | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|str save= | |||
|wis save= | |||
|level=3 | |level=3 | ||
|race=Skeleton | |race=Skeleton | ||
|type=Undead | |type=Undead | ||
| | |hp=28 | ||
| | |ac=15 | ||
| | |ms=10m / 30ft | ||
|size=Medium | |size=Medium | ||
|weight=20kg / 40lbs | |weight=20kg / 40lbs | ||
| | |prof=2 | ||
| | |init=-1 | ||
}} | |||
}} | |||
<pre> | <!----------- | ||
{{ | EXAMPLE 2 | ||
| | --------------> | ||
| | Stat block with only ability scores and saves: | ||
| | |||
| | <pre>{{AttributeBlock|15|8|11|9|18|10 | ||
| | |str save = proficient | ||
|wis same = proficient}}</pre> | |||
| | |||
| | {{AttributeBlock|15|8|11|9|18|10|str save=y|wis save=y}} | ||
| | |||
| | |||
| | <!----------- | ||
| | EXAMPLE 3 | ||
| | --------------> | ||
|wis save = | Stat block with only physical attributes - useful for Wild Shape stat blocks or other transformations: | ||
<pre>{{AttributeBlock|15|8|11|hp=12}}</pre> | |||
{{AttributeBlock|15|8|11|hp=12}} | |||
<!----------- | |||
| | EXAMPLE 4 | ||
| | --------------> | ||
| | Stat block without ability scores: | ||
| | |||
<pre>{{AttributeBlock|hp=12|race=Human|size=Medium}}</pre> | |||
| | |||
| | {{AttributeBlock|hp=12|race=Human|size=Medium}} | ||
| | |||
| | [[Category: Templates]]</noinclude> | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
</noinclude> |