Ad 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>{| class="infobox"; style="margin-left: 20px; width: 350px; text-align: left; font-size: 90%; float: right; background-color: #1B1B1B; border: 1px solid #785000; color: #C1A886; margin-bottom: 0px;" cellspacing="0" cellpadding="2"
<includeonly><table style="text-align: center; min-width: 210px; background-color:inherit;"><!--


{{#if:{{{title|}}}|
------------
{{!}}-
LEVEL
{{!}} colspan="2" align="center" style="padding-top:0.25em;" {{!}} {{{title|}}}
------------
}}
-->{{#if: {{{level|}}} | <tr><td colspan="100%"><p style="text-align:center; line-height:0.7">Level {{{level}}}</p></td></tr>}}<!--
|-
 
! colspan="2" align="center" style="font-size: 130%; background: #281C14; color: #C1A886;" | {{{name}}}
------------
{{#if:{{{image|}}}|
ABILITY SCORES
{{!}}-
------------
{{!}} colspan="2" align="center" style="padding: 0px;" {{!}} {{{image}}} {{ #if:{{{imagename|}}}|<br>{{{imagename}}} }}
-->{{#if: {{{1|}}} |
}}
<tr>
{{!}}-
<td style="width: 52px; vertical-align: top">
{{!}} colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;" {{!}} '''Stats'''
<p style="margin:0px">[[Strength|STR]]</p>
{{#if:{{{STR|}}}{{{DEX|}}}{{{CON|}}}{{{INT|}}}{{{WIS|}}}{{{CHA|}}}{{{level|}}}|
<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> |}} }}
{{#if:{{{level|}}}|
</td>
{{!}}-
 
{{!}} colspan="2" align="center" style="font-weight: bold; padding:0.5em 0;" {{!}} Level {{{level}}}
<td style="width: 52px; vertical-align: top">
}}
<p style="margin:0px">[[Dexterity|DEX]]</p>
{{#if:{{{STR|}}}|
<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>
{{!}} colspan="2" align="center" style="padding: 0;" {{!}} {{AttributeBlock
 
|{{{STR}}}
<td style="width: 52px; vertical-align: top">
|{{{DEX}}}
<p style="margin:0px">[[Constitution|CON]]</p>
|{{{CON}}}
<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> |}} }}
|{{{INT}}}
</td>
|{{{WIS}}}
 
|{{{CHA}}}
{{#if: {{{4|}}} |
|str save={{IfEmpty | {{{str save|}}} }}
<td style="width: 52px; vertical-align: top">
|dex save={{IfEmpty | {{{dex save|}}} }}
<p style="margin:0px">[[Intelligence|INT]]</p>
|con save={{IfEmpty | {{{con save|}}} }}
<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> |}} }}
|int save={{IfEmpty | {{{int save|}}} }}
</td>
|wis save={{IfEmpty | {{{wis save|}}} }}
}}
|cha save={{IfEmpty | {{{cha save|}}} }}
 
}}
{{#if: {{{5|}}} |
}}
<td style="width: 52px; vertical-align: top">
{{#if:{{{race|}}}{{{type|}}}{{{HP|}}}{{{AC|}}}{{{speed|}}}{{{size|}}}{{{weight|}}}{{{proficiency|}}}{{{initiative|}}} |
<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> |}} }}
{{!}} colspan="2" align="center" {{!}} {{HorizontalRuleImage|350}}
</td>
}} }}
}}
{{#if:{{{race|}}}|{{!}}-
 
{{!}} style="padding-left: 8px; width: 50%;" {{!}} [[File:Creature Race Icon.png|24px|link=Races]]&nbsp;&nbsp;Race
{{#if: {{{6|}}} |
{{!}} style="width: 50%;" {{!}} {{{race|}}}
<td style="width: 52px; vertical-align: top">
{{!}}-|}}
<p style="margin:0px">[[Charisma|CHA]]</p>
{{#if:{{{type|}}}|{{!}}-
<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> |}} }}
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature Type Icon.png|24px|link=List of Creature Types]]&nbsp;&nbsp;Type
</td>
{{!}} {{{type|}}}
}}
{{!}}-|}}
</tr>
{{#if:{{{HP|}}}|{{!}}-
}}<!--
{{!}} style="padding-left: 8px;" {{!}} [[File:HP Icon.png|24px|link=Hit Points]]&nbsp;&nbsp;HP
{{!}} {{{HP|}}}
------------
{{!}}-|}}
DIVIDING LINE
{{#if:{{{AC|}}}|{{!}}-
------------
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature AC Icon.png|24px|link=Armour Class]]&nbsp;&nbsp;AC
-->{{#if: {{{1|}}}
{{!}} {{{AC|}}}
| {{#if: {{{race|}}}{{{type|}}}{{{hp|}}}{{{ac|}}}{{{ms|}}}{{{size|}}}{{{weight|}}}{{{prof|}}}{{{init|}}}
{{!}}-|}}
| <tr><td colspan="100%" style="padding-left:10px;padding-right:10px;"><hr/></td></tr>
{{#if:{{{speed|}}}|{{!}}-
}} }}<!--
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature Speed Icon.png|24px|link=Movement Speed]]&nbsp;&nbsp;Movement Speed
 
{{!}} {{{speed|}}}
------------
{{!}}-|}}
RACE
{{#if:{{{size|}}}|{{!}}-
------------
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature Size Icon.png|24px|link=Creature Size]]&nbsp;&nbsp;Size
-->{{#if: {{{race|}}} |
{{!}} {{{size|}}}
<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>
{{#if:{{{weight|}}}|{{!}}-
<td colspan="{{#if: {{{6|}}} | 3 | 1}}"><p style="margin:0px;">{{{race}}}</td>
{{!}} style="padding-left: 8px;" {{!}} [[File:Weight Icon.png|24px|link=]]&nbsp;&nbsp;Weight
</tr>}}<!--
{{!}} {{{weight|}}}
 
{{!}}-|}}
------------
{{#if:{{{proficiency|}}}|{{!}}-
TYPE
{{!}} style="padding-left: 8px;" {{!}} [[File:Proficiency Icon.png|24px|link=Proficiency]]&nbsp;&nbsp;Proficiency Bonus
------------
{{!}} +{{{proficiency|}}}
-->{{#if: {{{type|}}} |
{{!}}-|}}
<tr style="line-height:0.5;text-align:left;">
{{#if:{{{initiative|}}}|{{!}}-
<td colspan="{{#if: {{{6|}}} | 3 | 2}}"><p style="margin:0px;">[[File:Creature Type Icon.png|frameless|x24px|link=]] Type</p></td>
{{!}} style="padding-left: 8px;" {{!}} [[File:Initiative Icon.png|24px|link=Initiative]]&nbsp;&nbsp;Initiative
<td colspan="{{#if: {{{6|}}} | 3 | 1}}"><p style="margin:0px;">{{{type}}}</td>
{{!}} {{{initiative|}}}
</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:{{{passive|}}}|
------------
{{!}} colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;"  {{!}} '''Passive features'''
PROFICIENCY
{{!}}-
------------
{{!}} colspan="2" style="padding-left: 38px;" {{!}} {{{passive|}}}
-->{{#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:{{{bludgeoning|}}}{{{piercing|}}}{{{magic|}}}{{{slashing|}}}{{{acid|}}}{{{cold|}}}{{{fire|}}}{{{lightning|}}}{{{necrotic|}}}{{{poison|}}}{{{psychic|}}}{{{radiant|}}}{{{thunder|}}}|{{!}}-
------------
{{!}} colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;" {{!}} '''Resistances'''}}
INITIATIVE
{{!}}-
------------
{{!}} colspan="2" align="center" {{!}} {{#if:{{{slashing|}}}|{{Resistance|Slashing|{{{slashing|resistant}}}}}}}{{#if:{{{piercing|}}}|{{Resistance|Piercing|{{{piercing|resistant}}}}}}}{{#if:{{{bludgeoning|}}}|{{Resistance|Bludgeoning|{{{bludgeoning|resistant}}}}}}}{{#if:{{{acid|}}}|{{Resistance|Acid|{{{acid|resistant}}}}}}}{{#if:{{{thunder|}}}|{{Resistance|Thunder|{{{thunder|resistant}}}}}}}{{#if:{{{necrotic|}}}|{{Resistance|Necrotic|{{{necrotic|resistant}}}}}}}{{#if:{{{fire|}}}|{{Resistance|Fire|{{{fire|resistant}}}}}}}{{#if:{{{lightning|}}}|{{Resistance|Lightning|{{{lightning|resistant}}}}}}}{{#if:{{{cold|}}}|{{Resistance|Cold|{{{cold|resistant}}}}}}}{{#if:{{{psychic|}}}|{{Resistance|Psychic|{{{psychic|resistant}}}}}}}{{#if:{{{poison|}}}|{{Resistance|Poison|{{{poison|resistant}}}}}}}{{#if:{{{radiant|}}}|{{Resistance|Radiant|{{{radiant|resistant}}}}}}}{{#if:{{{force|}}}|{{Resistance|Force|{{{force|resistant}}}}}}}{{#if:{{{magic|}}}|{{Resistance|Magic|{{{magic|resistant}}}}}}}
-->{{#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.


{{#if:{{{class|}}}{{{background|}}}{{{location|}}}{{{faction|}}}{{{family|}}}{{{allies|}}}{{{enemies|}}} | {{!}}-
<pre>
! colspan="2" align="center" style="font-size: 110%;background: #281C14; color: #C1A886;"  {{!}} '''Character information'''
{{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>
{{#if:{{{class|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Class
{{!}} {{Class| {{{class|}}} }}
{{!}}-|}}
{{#if:{{{background|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Background
{{!}} [[{{{background|}}}]]
{{!}}-|}}
{{#if:{{{location|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Location
{{!}} {{{location|}}}
{{!}}-|}}
{{#if:{{{faction|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Faction
{{!}} {{{faction|}}}
{{!}}-|}}
{{#if:{{{family|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Family
{{!}} {{{family|}}}
{{!}}-|}}
{{#if:{{{allies|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Allies
{{!}} {{{allies|}}}
{{!}}-|}}
{{#if:{{{enemies|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Enemies
{{!}} {{{enemies|}}}
{{!}}-|}}


|-
<hr>
{{#if:{{{alt-name|}}}|{{!}}-
<h4>Examples:</h4>
! colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;"  {{!}} '''{{{alt-name}}}'''}}
 
|-
Full stat block:
{{#if:{{{alt-image|}}}|
{{!}} colspan="2" align="center" style="padding: 0;" {{!}} {{{alt-image}}}{{ #if: {{{alt-imageimagename|}}} | <br />{{{alt-imagename}}} }}
}}
|}<div class="mobileonly" style="clear: both;"></div></includeonly><noinclude>


{{User:Lavaeolus/Sandbox
<pre>
|title = Archduke
{{AttributeBlock|15|8|11|9|18|10
|name = Noober
|str save = proficient
|image=[[File:Astarion-promotional.webp|350px]]
|wis save = proficient
|STR=
|level=3
|DEX=
|CON=
|INT=
|WIS=
|CHA=
|str save=
|dex save=y
|con save=
|int save=y
|wis save=
|cha save=
|level=
|race=Skeleton
|race=Skeleton
|type=Undead
|type=Undead
|HP=28
|hp=28
|AC=15
|ac=15
|speed=10m / 30ft
|ms=10m / 30ft
|size=Medium
|size=Medium
|weight=20kg / 40lbs
|weight=20kg / 40lbs
|proficiency=2
|prof=2
|initiative=-1
|init=-1
|passive = {{SmallIcon|Darkvision Icon.png|link=Darkvision (Passive Feature)}} [[Darkvision_(Passive_Feature)|Darkvision]]
Vampire Spawn
|class = Barbarian
|background= Acolyte
|location = Netheril
|faction = [[Tiefling Refugees]]
|family = [[Halsin]] (partner)
|allies = [[Astarion]]
|enemies = [[Shadowheart]], [[Wyll]]
|bludgeoning = resistant
|psychic = Vulnerable
|poison = Immune
|magic = magical
|lightning = double
|alt-name = True form
|alt-image = [[File:Astarionheadshot.jpg|350px]]
}}
}}
Filling in the 6 Ability Score stats is optional. However, this template only currently supports being provided none or all of them.
</pre>


Example:
{{AttributeBlock|15|8|11|9|18|10
<pre>
|str save = proficient
{{CharacterInfo
|wis save = proficient
|title = Archduke
|name = Noober
|image=[[File:Astarion-promotional.webp|350px]]
|STR=15
|DEX=8
|CON=11
|INT=9
|WIS=18
|CHA=10
|str save=
|dex save=yes
|con save=
|int save=yes
|wis save=
|cha save=
|level=3
|level=3
|race=Skeleton
|race=Skeleton
|type=Undead
|type=Undead
|HP=28
|hp=28
|AC=15
|ac=15
|speed=10m / 30ft
|ms=10m / 30ft
|size=Medium
|size=Medium
|weight=20kg / 40lbs
|weight=20kg / 40lbs
|proficiency=2
|prof=2
|initiative=-1
|init=-1
|passive =[[File:Darkvision Icon.png|frameless|upright=0.1|link=Darkvision (Passive Feature)]] [[Darkvision_(Passive_Feature)|Darkvision]]
}}
Vampire Spawn
|class = Barbarian
|background = Acolyte
|location = Netheril
|faction = [[Tiefling Refugees]]
|family = [[Halsin]] (partner)
|allies = [[Astarion]]
|enemies = [[Shadowheart]], [[Wyll]]
|bludgeoning = resistant
|psychic = Vulnerable
|poison = Immune
|magic = magical
|lightning = double
|alt-name = True form
|alt-image = [[File:Astarionheadshot.jpg|350px]]
}}</pre>


Clean version:


<pre>
<!-----------
{{CharacterInfo
EXAMPLE 2
|title =
-------------->
|name =
Stat block with only ability scores and saves:
|image = [[File:|350px]]
 
|STR =
<pre>{{AttributeBlock|15|8|11|9|18|10
|DEX =
|str save = proficient
|CON =
|wis same = proficient}}</pre>
|INT =
 
|WIS =
{{AttributeBlock|15|8|11|9|18|10|str save=y|wis save=y}}
|CHA =
 
|str save =
 
|dex save =
<!-----------
|con save =
EXAMPLE 3
|int save =
-------------->
|wis save =
Stat block with only physical attributes - useful for Wild Shape stat blocks or other transformations:
|cha save =
 
|level =
<pre>{{AttributeBlock|15|8|11|hp=12}}</pre>
|race =
 
|type =
{{AttributeBlock|15|8|11|hp=12}}
|HP =
 
|AC =
 
|speed =
<!-----------
|size =
EXAMPLE 4
|weight =
-------------->
|proficiency =
Stat block without ability scores:
|initiative =
 
|passive =
<pre>{{AttributeBlock|hp=12|race=Human|size=Medium}}</pre>
|bludgeoning =
 
|piercing =
{{AttributeBlock|hp=12|race=Human|size=Medium}}
|slashing =
 
|acid =
[[Category: Templates]]</noinclude>
|cold =
|fire =
|force =
|lightning =
|necrotic =
|poison =
|psychic =
|radiant =
|thunder =
|class =
|background=
|location =
|faction =
|family =  
|allies =
|enemies =  
|alt-name =
|alt-image = [[File:|350px]]
}}</pre>
</noinclude>

Navigation menu