Open main menu

Project: Gorgon Wiki β

Changes

Template:NPC infobox

385 bytes added, 13:34, 21 October 2015
should work now, will need to test on page to see if auto categories work though
{{NPC infobox| style="margin:0 0 0.5em 1em; border:1px solid #ccc; float:right; text-align:left; background:#f9f9f9;" cellpadding="5"! colspan="2" style="font-size:17px; text-align:center; background-color:#44a6d8;color:#ffffff;" | title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}| image -| style= {{#invoke"width:InfoboxImage250px;" colspan="2" align="center" |InfoboxImage|image={{{image|{[[Image:{{PAGENAME|}}.png{{pipe}}300px{{pipe}}|size={{{image_size|]]}}}|sizedefault=300px|alt<br/><div style="font-size:11px;">{{{image_alt|}}}PAGENAME}} (click for larger size)</div>|- valign="top"! style="width:75px;font-weight:normal;" | label1 = Caption| data1 = {{{captionconnects|-}}}| label2 -! style= "width:75px;font-weight:normal;" | Zone| data2 = {{{zone|-}}}| label3 -! style= Building"width:75px;font-weight:normal;" | Location| data3 = {{{buildinglocation|-}}}| label4 -! style= Friendly "width:75px;font-weight:normal;" | Speaks to Animals| data4 = {{{friendly_animals|-}}}| below -| style= "width:75px;font-weight:normal;" | Footnotes| {{{footnotes|-}}}|}
<!-- automatic categories -->
{{ #if: {{{type|}}} | [[Category:{{{type}}}]] }}
{{ #if: {{{Vendor|}}} | [[Category:{{{Vendor}}}]] }}
{{ #if: {{{Skill Trainer|}}} | [[Category:{{{Skill Trainer}}}]] }}<!-- end categories --> }}<noinclude> {{clear}}__NOTOC__
__NOTOC__
==Syntax==
|caption =
|zone =
|building location =
|friendly_animals =
|footnotes =
;zone
:Optional. The zone where the NPC can be found.
;building location :Optional. Specifically where the NPC is located in a Zone. (i.e. [[Hogans Hogan's Keep]] in [[EltableEltibule]])
;friendly_animals
:Optional. Animals that the NPC will talk to, if any.
547
edits