|
|
| Line 55: |
Line 55: |
| {{!}} colspan="2" {{!}} {{{ac}}} | | {{!}} colspan="2" {{!}} {{{ac}}} |
| }} | | }} |
| {{#if:{{{str|}}}{{{dex|}}}{{{con|}}}{{{int|}}}{{{wis|}}}{{{cha|}}}| | | {{#if:{{{str|}}}| |
| {{!}}- | | {{!}}- |
| {{!}} colspan="4" {{!}} | | ! colspan="2" {{!}} Strength |
| <div class="infobox-stats">
| | {{!}} colspan="2" {{!}} {{{str}}} |
| <div><span class="infobox-stat-label">STR</span><span class="infobox-stat-value">{{{str|—}}}</span></div>
| | }} |
| <div><span class="infobox-stat-label">DEX</span><span class="infobox-stat-value">{{{dex|—}}}</span></div>
| | {{#if:{{{dex|}}}| |
| <div><span class="infobox-stat-label">CON</span><span class="infobox-stat-value">{{{con|—}}}</span></div>
| | {{!}}- |
| <div><span class="infobox-stat-label">INT</span><span class="infobox-stat-value">{{{int|—}}}</span></div>
| | ! colspan="2" {{!}} Dexterity |
| <div><span class="infobox-stat-label">WIS</span><span class="infobox-stat-value">{{{wis|—}}}</span></div>
| | {{!}} colspan="2" {{!}} {{{dex}}} |
| <div><span class="infobox-stat-label">CHA</span><span class="infobox-stat-value">{{{cha|—}}}</span></div>
| | }} |
| </div>
| | {{#if:{{{con|}}}| |
| | {{!}}- |
| | ! colspan="2" {{!}} Constitution |
| | {{!}} colspan="2" {{!}} {{{con}}} |
| | }} |
| | {{#if:{{{int|}}}| |
| | {{!}}- |
| | ! colspan="2" {{!}} Intelligence |
| | {{!}} colspan="2" {{!}} {{{int}}} |
| | }} |
| | {{#if:{{{wis|}}}| |
| | {{!}}- |
| | ! colspan="2" {{!}} Wisdom |
| | {{!}} colspan="2" {{!}} {{{wis}}} |
| | }} |
| | {{#if:{{{cha|}}}| |
| | {{!}}- |
| | ! colspan="2" {{!}} Charisma |
| | {{!}} colspan="2" {{!}} {{{cha}}} |
| }} | | }} |
| {{#if:{{{player|}}}{{{campaign|}}}{{{status|}}}| | | {{#if:{{{player|}}}{{{campaign|}}}{{{status|}}}| |
| Line 99: |
Line 117: |
|
| |
|
| If ''player'' is set to anything, the Player Characters category is added, otherwise NPCs. If ''nocat'' is set (e.g. <nowiki>|nocat=1</nowiki>), no category is added. | | If ''player'' is set to anything, the Player Characters category is added, otherwise NPCs. If ''nocat'' is set (e.g. <nowiki>|nocat=1</nowiki>), no category is added. |
|
| |
| ==Example==
| |
| {{Infobox_character
| |
| | name = Nomad
| |
| | image = Nomad.png
| |
| | image_caption = Token
| |
| | race = Warforged
| |
| | class = Monk
| |
| | subclass = Warrior of Mercy
| |
| | alignment = Lawful Neutral
| |
| | background = Soldier
| |
| | faction = [[This can be whatever you want baybeee|The One Thousand Strong]]
| |
| | level = 6
| |
| | hp = 45
| |
| | ac = 18
| |
| | str = 12
| |
| | dex = 18
| |
| | con = 14
| |
| | int = 10
| |
| | wis = 16
| |
| | cha = 8
| |
| | player = [[User:Olivinism|Ronan]]
| |
| | campaign = [[Nightmare]], [[Prime]]
| |
| | status = Alive
| |
| | nocat = 1
| |
| }}
| |
| <pre>
| |
| {{Infobox_character
| |
| | name = Nomad
| |
| | image = Nomad.png
| |
| | image_caption = Token
| |
| | race = Warforged
| |
| | class = Monk
| |
| | subclass = Warrior of Mercy
| |
| | alignment = Lawful Neutral
| |
| | background = Soldier
| |
| | faction = [[factionname|The One Thousand Strong]]
| |
| | level = 6
| |
| | hp = 45
| |
| | ac = 18
| |
| | str = 12
| |
| | dex = 18
| |
| | con = 14
| |
| | int = 10
| |
| | wis = 16
| |
| | cha = 8
| |
| | player = [[User:Olivinism|Ronan]]
| |
| | campaign = [[Nightmare]], [[Prime]]
| |
| | status = Alive
| |
| | nocat = 1
| |
| }}
| |
| </pre>
| |
| [[Category:Infobox Templates]]
| |
| </noinclude> | | </noinclude> |