Difference between revisions of "Template:NPC"

From AetoliaWiki
Jump to navigation Jump to search
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        = NPCPage
|-
|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
|header1  = {{BASEPAGENAME}}
{{!}} {{{name}}}
 
{{!}}-
|label  = Titles
}}
|data1    = {{{titles|}}}
{{#if:{{{titles|}}}|
 
! Titles
|label2  = Guild
{{!}} {{{titles}}}
|data2    = {{{guild|}}}
{{!}}-
 
}}
|label3  = City
{{#if:{{{guild|}}}|
|data3    = {{{city|}}}
! Guild
 
{{!}} {{{guild}}}
|label4  = Race
{{!}}-
|data4    = {{{race|}}}
}}
 
{{#if:{{{city|}}}|
! City
{{!}} {{{city}}}
{{!}}-
}}
{{#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>

Revision as of 12:29, 13 April 2014