Difference between revisions of "Template:NPC"

From AetoliaWiki
Jump to navigation Jump to search
(Basic NPC template.)
 
m
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox vcard" cellspacing="4" style="color: {{{fontcolor|black}}}; width: {{{width|256px}}}; font-size: 90%; text-align: left;{{#if:{{{tablecolor|}}}|background-color: {{{tablecolor}}};}}"
<includeonly>{{Infobox
! colspan="2" style="background-color: {{{color}}}; text-align: center; font-size: 130%;" | {{BASEPAGENAME}} {{#if:{{{status|}}}|<br /><small>{{{status}}}<small>}}
|name        = NPC
|-
|bodystyle    = width: 20em;
{{#if:{{{image|}}}|
|title        = {{BASEPAGENAME}}
{{!}} colspan="2" style="text-align: center; font-size: 95%;" {{!}} [[Image:{{{image|}}}|{{{image_width|238px}}}|{{{image_caption|}}}]] {{#if:{{{image_caption|}}}|<br />{{{image_caption}}}}}
|labelstyle  = width: 33%; vertical-align: top;
{{!}}-
|datastyle    = vertical-align: top;
}}
|bodystyle    = background-color: #fff;
{{#if:{{{name|}}}|
 
! Name
|label  = Titles
{{!}} {{{name}}}
|data1    = {{{titles|}}}
{{!}}-
 
}}
|label2  = Guild
{{#if:{{{guild|}}}|
|data2    = {{{guild|}}}
! Guild
 
{{!}} {{{guild}}}
|label3  = City
{{!}}-
|data3    = {{{city|}}}
}}
 
{{#if:{{{city|}}}|
|label4  = Race
! City
|data4    = {{{race|}}}
{{!}} {{{city}}}
 
{{!}}-
| header5 = {{#if:{{{desc|}}}|Description}}
}}
| below  = {{{desc|}}}
{{#if:{{{race|}}}|
! Race
{{!}} {{{race}}}
{{!}}-
}}
}}


|}<includeonly>[[Category:NPCs]]</includeonly><noinclude>
[[Category:NPCs]]</includeonly>
----
Taken from http://en.wikipedia.org/wiki/Template:Infobox_user and edited to suit this wiki.


<noinclude>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 07:54, 1 May 2014