Template:Npcbox: Difference between revisions

From Syra D&D Wiki
Jump to navigation Jump to search
Undo revision 681 by Dark T Zeratul (Talk)
No edit summary
Line 1: Line 1:
<div class="npcbox">
<includeonly>{{Infobox
{| class="darktable" style="float: right; width: 20em; margin: 0 0 20px 10px"
| bodyclass  = vcard
|-
 
! style="text-align: left; padding: 5px; font-size: 110%;" colspan="2" | <span style="margin-right: .75em;"><div style="display: inline;"></div></span><div style="display: inline;">{{{name|{{PAGENAME}}}}}</div>
| aboveclass  = fn
|-
| abovestyle  = background-color:lightsteelblue;
{{#if:{{{image|}}}|{{!}} colspan="2" {{!}} <div style="text-align: center; padding: 5px 0">[[File:{{{image}}}|200x300px|Image of {{{name|{{PAGENAME}}}}}]]</div>}}
| above      = {{{name|{{PAGENAME}}}}}
|-
 
{{#if:{{{title|{{{titles|}}}}}}|
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|{{px|{{{image_size|}}}|frameless}}|alt={{{alt|}}}]]}}
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Title
| caption  = {{{caption|}}}
{{!}} {{#if:{{{title|}}}|<small>&lt;{{{title}}}&gt;</small>|{{{titles}}}}} {{#if:{{{title ref|}}}|<small><ref>{{{title ref}}}</ref></small>}} }}  
 
|-
| class2      = nickname
{{#if:{{{gender|{{{sex|}}}}}}|
| label2      = Nickname
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Gender
| data2      = {{{nickname|}}}
{{!}} {{{gender|{{{sex}}}}}} }}
 
|-
| class3      = nickname
{{#if:{{{race|}}}{{{races|}}}{{{creature|}}}|
| label3      = Other names
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} {{#if:{{{races|}}}|Race(s)|Race}}
| data3      = {{{alias|}}}
{{!}} {{#if:{{{races|}}}|{{{races}}}|{{#ifeq:{{{race|}}}||Unknown|[[{{ucfirst:{{lc:{{{race}}}}}}}]]}} {{#if:{{{creature|}}}|({{{creature}}})}}}} }}
 
|-
| class4      = race
{{#if:{{{level|}}}|
| label4      = Race
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Level
| data4      = {{{race|}}}
{{!}} {{{level}}} {{{type|}}} }}
 
|-
| label7      = Allegiance
{{#if:{{{character|}}}|
| data7      = {{{allegiance|}}}
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Character class
 
{{!}} {{{character}}} }}
}}</includeonly><noinclude>
|-
{{documentation}}
{{#if:{{{occupation|}}}|
</noinclude>
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Occupation
{{!}} {{{occupation}}} }}
|-
{{!}} style="font-weight: bold; vertical-align: top; padding-right: 1em;" {{!}} Location
{{!}} {{{location|Unknown}}}
|-
{{#if:{{{status|}}}|
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Status
{{!}} {{{status}}} }}
|-
{{#if:{{{relatives|}}}|
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Relative(s)
{{!}} {{{relatives}}} }}
|-
{{#if:{{{alignment|}}}|
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Alignment
{{!}} {{{alignment}}} }}
|-
{{#if:{{{source|}}}|
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Found in
{{!}} {{{source}}} }}
</div></div> }} {{Documentation}}

Revision as of 23:15, 4 August 2011

Jimmy the Mind Flayer
Race Illithid
{{Npcbox
|name = The character's name
|image = A picture of the character
|title = Any titles the character holds
|race = The character's race
|type = Any acquired creature types (i.e. lich or vampire)
|gender = The character's gender
|life = The character's birth and death dates
|character = The character's class
|deity = The character's deity
|status = The character's status (i.e. alive or dead)
|alignment = The character's alignment
}}