Template:Npcbox

From Syra D&D Wiki

(Difference between revisions)
Jump to: navigation, search
 
(39 intermediate revisions not shown)
Line 1: Line 1:
-
<div class="npcbox">
+
<includeonly>{{Infobox
-
{| class="darktable" style="float: right; width: 20em; margin: 0 0 20px 10px"
+
| bodyclass  = vcard
-
|-
+
| bodystyle  = width: 25em; padding: 0em;
-
! 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}}}{{#ifeq:{{{resizing}}}|no||{{!}}{{{size|200px}}}}}]]}}
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Title
+
| caption    = {{{title|}}}
-
{{!}} {{#if:{{{title|}}}|<small>&lt;{{{title}}}&gt;</small>|{{{titles}}}}} {{#if:{{{title ref|}}}|<small><ref>{{{title ref}}}</ref></small>}} }}  
+
 
-
|-
+
| label1      = Nickname
-
{{#if:{{{gender|{{{sex|}}}}}}|
+
| data1      = {{{nickname|}}}
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Gender
+
 
-
{{!}} {{{gender|{{{sex}}}}}} }}
+
| label2      = Race
-
|-
+
| data2      = {{{race|}}} {{#if:{{{type|}}}|({{{type|}}})}}
-
{{#if:{{{race|}}}{{{races|}}}{{{creature|}}}|
+
 
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} {{#if:{{{races|}}}|Race(s)|Race}}
+
| label3      = Gender
-
{{!}} {{#if:{{{races|}}}|{{{races}}}|{{#ifeq:{{{race|}}}||Unknown|[[{{ucfirst:{{lc:{{{race}}}}}}}]]}} {{#if:{{{creature|}}}|({{{creature}}})}}}} }}
+
| data3      = {{{gender|}}}
-
|-
+
 
-
{{#if:{{{level|}}}|
+
| label4      = Lifespan
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Level
+
| data4      = {{#if:{{{life|}}}|[[Calendar#Timeline|{{{life|}}}]]}}
-
{{!}} {{{level}}} {{{type|}}} }}
+
 
-
|-
+
| label5      = Character Class
-
{{#if:{{{character|}}}|
+
| data5      = {{{character|}}}
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Character class
+
 
-
{{!}} {{{character}}} }}
+
| class6      = deity
-
|-
+
| label6      = Patron Deity
-
{{#if:{{{occupation|}}}|
+
| data6      ={{{deity|}}}
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Occupation
+
 
-
{{!}} {{{occupation}}} }}
+
| label7      = Status
-
|-
+
| data7      = {{{status|}}}
-
{{!}} style="font-weight: bold; vertical-align: top; padding-right: 1em;" {{!}} Location
+
 
-
{{!}} {{{location|Unknown}}}
+
| label8      = Alignment
-
|-
+
| data8      = {{{alignment|}}}
-
{{#if:{{{status|}}}|
+
 
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Status
+
}}</includeonly><noinclude>
-
{{!}} {{{status}}} }}
+
{{documentation}}[[Category:Templates|{{PAGENAME}}]]
-
|-
+
</noinclude>
-
{{#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}}
+

Current revision as of 23:18, 25 February 2012

Jimmy the Mind Flayer

His Most Divine, The Radical One, Mind Muncher
Race Illithid Nerd
Gender Male
Lifespan 1999 - 2300
Character Class Paladin
Patron Deity Jebus
Status Alive
Alignment Chaotic Awesome
{{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
}}
Personal tools