Template:Npcbox

From Syra D&D Wiki

(Difference between revisions)
Jump to: navigation, search
 
(38 intermediate revisions not shown)
Line 1: Line 1:
-
<onlyinclude><includeonly><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;">{{FactionIcon|{{{faction}}}}}</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|}}}}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Title
+
-
{{!}} {{#if:{{{title|}}}|<small>&lt;{{{title}}}&gt;</small>|{{{titles}}}}} {{#if:{{{title ref|}}}|<small><ref>{{{title ref}}}</ref></small>}} }}
+
-
|-
+
-
{{#if:{{{gender|{{{sex|}}}}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Gender
+
-
{{!}} {{{gender|{{{sex}}}}}} }}
+
-
|-
+
-
{{#if:{{{race|}}}{{{races|}}}{{{creature|}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} {{#if:{{{races|}}}|Race(s)|Race}}
+
-
{{!}} {{#if:{{{races|}}}|{{{races}}}|{{#ifeq:{{{race|}}}||Unknown|[[{{ucfirst:{{lc:{{{race}}}}}}}]]}} {{#if:{{{creature|}}}|({{{creature}}})}}}} }}
+
-
|-
+
-
{{#if:{{{level|}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Level
+
-
{{!}} {{{level}}} {{{type|}}} }}
+
-
|-
+
-
{{#if:{{{character|}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Character class
+
-
{{!}} {{{character}}} }}
+
-
|-
+
-
{{#if:{{{health|}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Health
+
-
{{!}} {{{health}}} }}
+
-
|-
+
-
{{#if:{{{mana|}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Mana
+
-
{{!}} {{{mana}}} }}
+
-
|-
+
-
{{#if:{{{money|}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Wealth
+
-
{{!}} {{{money}}} }}
+
-
|-
+
-
{{#if:{{{aggro|}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Reaction
+
-
{{!}} {{{aggro}}} }}
+
-
|-
+
-
{{#if:{{{repfaction|{{{city|{{{affiliation|}}}}}}}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top; padding-right: 1em;" {{!}} Affiliation
+
-
{{!}} {{#if:{{{repfaction|{{{city|}}}}}}|[[{{{repfaction|{{{city}}}}}}]]|{{{affiliation}}}}} }}
+
-
|-
+
-
{{#if:{{{occupation|}}}|
+
-
{{!}} 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:{{{mentors|}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Mentor(s)
+
-
{{!}} {{{mentors}}} }}
+
-
|-
+
-
{{#if:{{{students|}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Student(s)
+
-
{{!}} {{{students}}} }}
+
-
|-
+
-
{{#if:{{{companions|}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Companion(s)
+
-
{{!}} {{{companions}}} }}
+
-
|-
+
-
{{#if:{{{alignment|}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Alignment
+
-
{{!}} {{{alignment}}} }}
+
-
|-
+
-
{{#if:{{{source|}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Found in
+
-
{{!}} {{{source}}} }}
+
-
|-
+
-
{{#if:{{{pet|}}}|
+
-
{{!}} class="title" colspan="2" {{!}} Pet information }}
+
-
|-
+
-
{{#if:{{{pet|}}}|
+
-
{{!}} style="font-weight: bold; vertical-align: top; padding-right: 1em;" {{!}} Family
+
-
{{!}} [[{{{pet}}}]] }}
+
-
|-
+
-
{{#if:{{{instance|}}}|
+
-
{{!}} colspan="2" {{!}}
+
-
<div class="NavFrame" style="border: none;">
+
-
<div class="NavHead">[[{{{instance}}}]]</div>
+
-
<div class="NavContent" style="display:none">
+
-
{{{{{instance}}}}}
+
-
</div></div> }}<!--
+
-
###Pet stuff###
+
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}{{#ifeq:{{{resizing}}}|no||{{!}}{{{size|200px}}}}}]]}}
-
-->{{#if:{{{doc|}}}||{{#switch:{{lc:{{{pet}}}}}
+
| caption    = {{{title|}}}
-
|bat|bird of prey|chimera|chimaera|dragonhawk|monkey|nether ray|ravager|serpent|silithid|spider|sporebat|wind serpent= [[Category:Cunning beasts]]
+
 
-
|carrion bird|cat|core hound|devilsaur|dog|fox|hyena|moth|raptor|spirit beast|tallstrider|wasp|wolf = [[Category:Ferocity beasts]]
+
| label1      = Nickname
-
|bear|beetle|boar|crab|crocolisk|gorilla|rhino|scorpid|shale spider|turtle|warp stalker|worm = [[Category:Tenacity beasts]]}}}}
+
| data1      = {{{nickname|}}}
-
|}</div><div class="tooltip-content" style="display:none; text-align:center;">{{#if:{{{image|}}}|{{#ifexist:File:{{{image}}}|[[File:{{{image}}}|100x150px|{{{name|{{PAGENAME}}}}}]]<br />}}}}<span style="float:right;">{{FactionIcon|{{{faction}}}}}</span>{{{name|{{PAGENAME}}}}}{{#if:{{{title|}}}|<br /><small>&lt;{{{title}}}&gt;</small>}}{{#if:{{{level|}}}|<br />Level: {{{level|}}}}}{{#if:{{{location|}}}|<br />{{{location}}}}}</div></includeonly></onlyinclude> {{Documentation}}
+
 
 +
| label2      = Race
 +
| data2      = {{{race|}}} {{#if:{{{type|}}}|({{{type|}}})}}
 +
 
 +
| label3      = Gender
 +
| data3      = {{{gender|}}}
 +
 
 +
| label4      = Lifespan
 +
| data4      = {{#if:{{{life|}}}|[[Calendar#Timeline|{{{life|}}}]]}}
 +
 
 +
| label5      = Character Class
 +
| data5      = {{{character|}}}
 +
 
 +
| class6      = deity
 +
| label6      = Patron Deity
 +
| data6      ={{{deity|}}}
 +
 
 +
| label7      = Status
 +
| data7      = {{{status|}}}
 +
 
 +
| label8      = Alignment
 +
| data8      = {{{alignment|}}}
 +
 
 +
}}</includeonly><noinclude>
 +
{{documentation}}[[Category:Templates|{{PAGENAME}}]]
 +
</noinclude>

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