Difference between revisions of "Template:NPCInfoBox"

From EncyclopAtys

Jump to: navigation, search
m (Reverted edits by Sidusar (Talk) to last revision by CeNobiteElf)
m
Line 6: Line 6:
 
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|250x350px|{{PAGENAME}}]] }}
 
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|250x350px|{{PAGENAME}}]] }}
 
|-
 
|-
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 11px;" |
+
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 0px;height:8px;" |
 
|-
 
|-
 
|
 
|
 
|-
 
|-
! align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Title:'''</font>
+
! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Title:'''</font>
 
! align="center" | {{{title}}}
 
! align="center" | {{{title}}}
 
|-
 
|-
! align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Gender:'''</font>
+
! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Gender:'''</font>
 
! align="center" | {{{gender}}}
 
! align="center" | {{{gender}}}
 
|-
 
|-
! align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Race:'''</font>
+
! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Race:'''</font>
 
! align="center" | {{{race}}}
 
! align="center" | {{{race}}}
 
|-
 
|-
! align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Affiliation:'''</font>
+
! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Affiliation:'''</font>
 
! align="center" | {{{affiliation}}}
 
! align="center" | {{{affiliation}}}
 
|-
 
|-
{{#if: {{{service|}}} | ! align="centre" style="background: #{{#var:colour}}; width:50%;" {{!}} <font color="white">'''Service:'''</font>
+
{{#if: {{{service|}}} | ! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Service:'''</font>
 
!align="center" {{!}} {{{service}}}
 
!align="center" {{!}} {{{service}}}
 
{{!}}- | }}
 
{{!}}- | }}

Revision as of 23:56, 21 August 2014

NPCInfoBox
Title: {{{title}}}
Gender: {{{gender}}}
Race: {{{race}}}
Affiliation: {{{affiliation}}}

Description

Usage

{{NPCInfoBox
|name=
|image=
|title=
|gender=
|race=
|affiliation=
|service=
|}}

Example