Difference between revisions of "Template:Infobox NPC"

From UnderWiki
Jump to navigation Jump to search
Line 5: Line 5:
 
{{!}} colspan="2" style="text-align:center;" {{!}} {{#ifexist: File:{{{image|{{#replace:{{#replace:{{{name}}}|:|-}}|/|-}}_image.png}}} |<!--
 
{{!}} colspan="2" style="text-align:center;" {{!}} {{#ifexist: File:{{{image|{{#replace:{{#replace:{{{name}}}|:|-}}|/|-}}_image.png}}} |<!--
 
-->[[NPC image::File:{{{image|{{#replace:{{#replace:{{{name}}}|:|-}}|/|-}}_icon.png}}}|{{{imagewidth|392}}}px]]
 
-->[[NPC image::File:{{{image|{{#replace:{{#replace:{{{name}}}|:|-}}|/|-}}_icon.png}}}|{{{imagewidth|392}}}px]]
 +
}}<nowiki>
 +
</nowiki>
 +
{{!}}-
 +
{{!}} Race:
 +
{{!}} {{{race|''Unknown''}}}
 +
}}<nowiki>
 +
</nowiki>
 +
{{!}}-
 +
{{!}} Sex:
 +
{{!}} {{{sex|''Unknown''}}}
 +
}}<nowiki>
 +
</nowiki>
 +
{{!}}-
 +
{{!}} Role:
 +
{{!}} {{{role|''Unknown''}}}
 +
}}<nowiki>
 +
</nowiki>
 +
{{!}}-
 +
{{!}} Location:
 +
{{!}} {{{location|''Unknown''}}}
 
}}{{#if: {{{location|}}}|<nowiki>
 
}}{{#if: {{{location|}}}|<nowiki>
 
</nowiki>
 
</nowiki>
 
{{!}}- valign="top"
 
{{!}}- valign="top"
{{!}} colspan="2" {{!}} {{{map}}}[[Memora coordinates::{{{location}}}| ]]
+
{{!}} colspan="2" {{!}} {{{map}}}[[NPC coordinates::{{{coordinates}}}| ]]
 
|}}<nowiki>
 
|}}<nowiki>
 
</nowiki>
 
</nowiki>
{{Tablebottom}}[[Category:NPCs]]</includeonly><noinclude>
+
{{Tablebottom}}{{#if:{{{actor|}}}<nowiki>
 +
</nowiki>
 +
{| class="wikitable" style="width:400px; float: right; clear: right;"
 +
|+ Additional Information<nowiki>
 +
</nowiki>
 +
{{!}}-
 +
{{!}} Played By:
 +
{{!}} {{{actor}}}
 +
{{!}}-
 +
{{!}} Dialogue:
 +
{{!}} [[{{PAGENAME}}/Dialogue|{{{dialogue|''Unknown''}}}]]<nowiki>
 +
</nowiki>
 +
{{Tablebottom}}|}}[[Category:NPCs]]</includeonly><noinclude>
 
[[Category:Utility templates]]
 
[[Category:Utility templates]]
 
</noinclude>
 
</noinclude>

Revision as of 11:29, 3 March 2019