Template:Storynpcbox: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(now supporting up to 4 storylines)
(added requested fields. Made every field optional)
Line 12: Line 12:
|}}
|}}
|-
|-
{{#if: {{{storyline|}}} |
! 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}}}]] }} {{#if: {{{storyline3|}}} |
<br>[[{{{storyline2}}}]] }} {{#if: {{{storyline3|}}} |
<br>[[{{{storyline3}}}]] }} {{#if: {{{storyline4|}}} |
<br>[[{{{storyline3}}}]] }} {{#if: {{{storyline4|}}} |
<br>[[{{{storyline4}}}]] }}
<br>[[{{{storyline4}}}]] }}
|}}
|-
|-
{{#if: {{{gender|}}} |
! Importance
! Gender
| align="right" valign="top" style="white-space: nowrap;" | {{{importance|major or minor?}}}
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{gender|Male of female?}}}
|}}
|-
|-
{{#if: {{{race|}}} |
! Race
! Race
| align="right" valign="top" style="white-space: nowrap;" | [[{{{race}}}]]
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{race}}}]]
|}}
|-
{{#if: {{{life|}}} |
!Status
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{life|Dead or alive?}}}
|}}
|-
|-
{{#if: {{{hometown|}}} |
{{#if: {{{hometown|}}} |
Line 30: Line 41:
|-
|-
{{#if: {{{relationships|}}} |
{{#if: {{{relationships|}}} |
!valign="top" {{!}} Relationships
!valign="top" {{!}} Relationship(s)
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{relationships}}}
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{relationships|Familial relationships only}}}
|}}
|-
{{#if: {{{alias|}}} |
!valign="top" {{!}} Alias/Title
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{alias|Known alias or title}}}
|}}
|-
{{#if: {{{affiliation|}}} |
!valign="top" {{!}} Affiliation(s)
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{affiliation}}}
|}}
|}}
|}
|}
Line 49: Line 70:
<nowiki>{{storynpcbox</nowiki>
<nowiki>{{storynpcbox</nowiki>
<nowiki>|storyline = </nowiki>
<nowiki>|storyline = </nowiki>
<nowiki>|importance = </nowiki>
<nowiki>|gender = </nowiki>
<nowiki>|race = </nowiki>
<nowiki>|race = </nowiki>
<nowiki>|life = </nowiki>
<nowiki>|hometown = </nowiki>
<nowiki>|hometown = </nowiki>
<nowiki>|relationships = }}</nowiki>
<nowiki>|relationships = </nowiki>
<nowiki>|alias = </nowiki>
<nowiki>|affiliation = }}</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.
'''Remove any field that will not be completed.''' 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.


[[Category:Templates]]
[[Category:Templates]]

Revision as of 14:55, 10 August 2016

Storynpcbox


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 = 
|gender = 
|race = 
|life = 
|hometown = 
|relationships = 
|alias = 
|affiliation = }}

Remove any field that will not be completed. 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.