Difference between revisions of "Template:NPCInfoBox"

From EncyclopAtys

Jump to: navigation, search
 
Line 1: Line 1:
βˆ’
{{#vardefine:colour|476}}<!--
+
{{NPC
βˆ’
-->{| class="infobox"
+
|name={{{name}}}
βˆ’
|-
+
|image={{{image|}}}
βˆ’
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 2px;"| <font color="white">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font>
+
|title={{{title}}}
βˆ’
|-
+
|gender={{{sex}}}
βˆ’
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|250x350px|{{PAGENAME}}]] }}
+
|race={{{race}}}
βˆ’
|-
+
|affiliation={{{faction}}}
βˆ’
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 0px;height:8px;" |
+
|service={{{organization}}}
βˆ’
|-
 
βˆ’
|
 
βˆ’
|-
 
βˆ’
! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Title:'''</font>
 
βˆ’
! align="center" | {{{title}}}
 
βˆ’
|-
 
βˆ’
! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Gender:'''</font>
 
βˆ’
! align="center" | {{{gender}}}
 
βˆ’
|-
 
βˆ’
! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Race:'''</font>
 
βˆ’
! align="center" | {{{race}}}
 
βˆ’
|-
 
βˆ’
! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Affiliation:'''</font>
 
βˆ’
! align="center" | {{{affiliation}}}
 
βˆ’
|-
 
βˆ’
{{#if: {{{service|}}} | ! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Service:'''</font>
 
βˆ’
!align="center" {{!}} {{{service}}}
 
βˆ’
{{!}}- | }}
 
βˆ’
|}<!--
 
βˆ’
 
 
βˆ’
--><noinclude>{{clear}} __NOTOC__
 
βˆ’
{{Trad|EN=Template:NPCInfoBox|FR=Modèle:PNJ}}
 
βˆ’
== Description ==
 
βˆ’
 
 
βˆ’
== Usage ==
 
βˆ’
<pre>
 
βˆ’
{{NPCInfoBox
 
βˆ’
|name=
 
βˆ’
|image=
 
βˆ’
|title=
 
βˆ’
|gender=
 
βˆ’
|race=
 
βˆ’
|affiliation=
 
βˆ’
|service=
 
 
|}}
 
|}}
βˆ’
</pre>
+
<noinclude>
βˆ’
 
 
βˆ’
==Example==
 
βˆ’
 
 
 
[[Category: Infobox templates|RegionInfoBox]]
 
[[Category: Infobox templates|RegionInfoBox]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:01, 13 April 2019

Personal Amber
{{{name}}}
{{{title}}}
Race {{{race}}}
Gender
Nation
Organization
Worship
Faction
Guild
Rank
Birth
Death
Mother
Father
Non-playable character