Template:Storynpcbox: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
m (update instructions)
(trying category parser function)
Line 49: Line 49:
|}
|}


<includeonly>{{#if: {{{storyline|}}} | [[Category: {{{storyline}}}]] }} {{#if: {{{storyline2|}}} | [[Category: {{{storyline2}}}]] }} {{#if: {{{storyline3|}}} | [[Category: {{{storyline3}}}]] }} {{#if: {{{storyline4|}}} | [[Category: {{{storyline4}}}]] }}
<includeonly>{{#switch: {{{include}}}|#default={{#if: {{{storyline|}}} | [[Category: {{{storyline}}}]] }} {{#if: {{{storyline2|}}} | [[Category: {{{storyline2}}}]] }} {{#if: {{{storyline3|}}} | [[Category: {{{storyline3}}}]] }} {{#if: {{{storyline4|}}} | [[Category: {{{storyline4}}}]] }} |no= }}
[[Category: Non-Player Characters]]</includeonly><noinclude>
[[Category: Non-Player Characters]]</includeonly><noinclude>
This template will insert the box on the right into a page. Blank fields will not appear in the box. The template will also place the page in the corresponding category for the storyline, so this template should only be used for GM NPCs in officially named storylines (e.g. [[Cross Into Shadows]]).
This template will insert the box on the right into a page. Blank fields will not appear in the box. The template will also place the page in the corresponding category for the storyline, so this template should only be used for GM NPCs in officially named storylines (e.g. [[Cross Into Shadows]]).

Revision as of 13:36, 9 September 2017

Storynpcbox


This template will insert the box on the right into a page. Blank fields will not appear in the box. The template will also place the page in the corresponding category for the storyline, so this template should only be used for GM NPCs in officially named storylines (e.g. Cross Into Shadows).

The template should be used in conjunction with the format on the Help:Storyline NPCs page.

The template is based off of the deity template by ZHOUY1.

Copy/paste code:

{{storynpcbox
|storyline = 
|gender = 
|race = 
|life = 
|hometown = 
|relationships = 
|alias = 
|affiliation = }}

If the NPC is part of multiple storylines, add storyline2, storyline3, and storyline4 fields, as appropriate. If there are more than 4 storylines, this template will need to be revised to add more fields.