Template:Storynpcbox: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(try to add storyline2 category)
(now supporting up to 4 storylines)
Line 14: Line 14:
! valign="top" {{!}} Storyline
! valign="top" {{!}} Storyline
| align="right" valign="top" style="white-space: nowrap;" | [[{{{storyline}}}]] {{#if: {{{storyline2|}}} |
| align="right" valign="top" style="white-space: nowrap;" | [[{{{storyline}}}]] {{#if: {{{storyline2|}}} |
<br>[[{{{storyline2}}}]] }}
<br>[[{{{storyline2}}}]] }} {{#if: {{{storyline3|}}} |
<br>[[{{{storyline3}}}]] }} {{#if: {{{storyline4|}}} |
<br>[[{{{storyline4}}}]] }}
|-
|-
! Importance
! Importance
Line 34: Line 36:
|}
|}


<includeonly>[[Category: {{{storyline}}}]] {{#if: {{{storyline2|}}} | [[Category: {{{storyline2}}}]] }}
<includeonly>[[Category: {{{storyline}}}]] {{#if: {{{storyline2|}}} | [[Category: {{{storyline2}}}]] }} {{#if: {{{storyline3|}}} | [[Category: {{{storyline3}}}]] }} {{#if: {{{storyline4|}}} | [[Category: {{{storyline4}}}]] }}
[[Category: Non-Player Characters]]</includeonly><noinclude>
[[Category: Non-Player Characters]]</includeonly><noinclude>
Line 52: Line 54:
<nowiki>|relationships = }}</nowiki>
<nowiki>|relationships = }}</nowiki>
</pre>
</pre>
If the NPC is part of multiple storylines, add storyline2, storyline3, and storyline4 fields, if needed. If there are more than 4 storylines, this template will need to be revised to add more fields.

[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 11:06, 9 August 2016

Storynpcbox
Storyline [[{{{storyline}}}]]
Importance major or minor?
Race [[{{{race}}}]]


This template will insert the box on the right into a page. Remove any code below not being used and it 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 = 
|importance = 
|race = 
|hometown = 
|relationships = }}

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