Editing NPC info

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
<includeonly><div class="infobox-right"><!--
 
<includeonly><div class="infobox-right"><!--
 
DEFINITIONS
 
DEFINITIONS
 
disposition
 
used for CSS classes
 
-->{{#vardefine:disposition class|{{#switch:{{lc:{{{disposition|}}}}}
 
|ally=NPC-ally
 
|enemy=NPC-enemy
 
|neutral=NPC-neutral
 
|#default=NPC-neutral<!-- NPCs with no disposition are assumed to be neutral -->
 
}}}}<!--
 
  
 
organization
 
organization
Line 34: Line 25:
 
|wolves=,class="skill-infobox-row-heading",'''Enemy Type''',,class="skill-infobox-row-data",[[:Category:Wolves]]<!--
 
|wolves=,class="skill-infobox-row-heading",'''Enemy Type''',,class="skill-infobox-row-data",[[:Category:Wolves]]<!--
 
unique
 
unique
-->|critters=,class="skill-infobox-row-heading",'''Type''',,class="skill-infobox-row-data",[[:Category:Critters{{!}}Critter]]
+
-->|wandering bosses=,class="skill-infobox-row-heading",'''Type''',,class="skill-infobox-row-data",[[:Category:Wandering bosses{{!}}Wandering Boss]]
|wandering bosses=,class="skill-infobox-row-heading",'''Type''',,class="skill-infobox-row-data",[[:Category:Wandering bosses{{!}}Wandering Boss]]
 
 
|world bosses=,class="skill-infobox-row-heading",'''Type''',,class="skill-infobox-row-data",[[:Category:World bosses{{!}}World Boss]]
 
|world bosses=,class="skill-infobox-row-heading",'''Type''',,class="skill-infobox-row-data",[[:Category:World bosses{{!}}World Boss]]
 
}}}}<!--
 
}}}}<!--
Line 52: Line 42:
 
NPC image
 
NPC image
 
-->{{#if:{{{icon|}}}<!-- if icon exists
 
-->{{#if:{{{icon|}}}<!-- if icon exists
-->|<span class="{{#var:disposition class}}">[[{{{icon}}}|85px]]</span><!-- use provided icon
+
-->|[[{{{icon}}}|85px]]<!-- use provided icon
 
-->|{{#vardefine:defaultIcon|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}} Icon.png}}<!-- else use default icon
 
-->|{{#vardefine:defaultIcon|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}} Icon.png}}<!-- else use default icon
 
-->{{#ifexist:{{#var:defaultIcon}}<!-- if default icon exists
 
-->{{#ifexist:{{#var:defaultIcon}}<!-- if default icon exists
-->|<span class="{{#var:disposition class}}">[[{{#var:defaultIcon}}|85px]]</span><!-- use default icon
+
-->|[[{{#var:defaultIcon}}|85px]]<!-- use default icon
 
-->|[[{{#var:defaultIcon}}|Upload NPC icon.]]}}}}<!-- else prompt for icon upload
 
-->|[[{{#var:defaultIcon}}|Upload NPC icon.]]}}}}<!-- else prompt for icon upload
 
-->{{#if:{{{random|}}}|<br><small>(This NPC's appearance may change randomly.)</small>}}</center>
 
-->{{#if:{{{random|}}}|<br><small>(This NPC's appearance may change randomly.)</small>}}</center>
 
|-
 
|-
! colspan="2" class="{{#var:disposition class}}" | <center>{{{name|{{PAGENAME}}}}}</center><!-- name -->
+
! colspan="2" class="{{#switch:{{lc:{{{disposition|}}}}}
 +
|ally=NPC-ally
 +
|enemy=NPC-enemy
 +
|neutral=NPC-neutral
 +
|#default=NPC-neutral<!-- NPCs with no disposition are assumed to be neutral -->
 +
}}" | <center>{{{name|{{PAGENAME}}}}}</center><!-- name -->
 
|-
 
|-
 
{{#arrayprint:organizationRow|{{!}}}}<!-- prints the organization as a row-->
 
{{#arrayprint:organizationRow|{{!}}}}<!-- prints the organization as a row-->

Please note that all contributions to Corepunk Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: