Template:Storynpcbox: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
m (weird that <pre><nowiki> combo didn't work in the past)
(make more like creature template, I believe this should remove requirement to delete unused fields.)
Line 10: Line 10:
{{#if: {{{1|}}} |
{{#if: {{{1|}}} |
{{!}} colspan="2" align="right" valign="top" style="white-space: nowrap;" {{!}} {{{1}}}
{{!}} colspan="2" align="right" valign="top" style="white-space: nowrap;" {{!}} {{{1}}}
|}}
{{!}}- |}}
|-
{{#if: {{{storyline|}}} |
{{#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|}}} |
{{#if: {{{gender|}}} |
! Gender
! Gender
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{gender|Male of female?}}}
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{gender}}}
|}}
{{!}}- |}}
|-
{{#if: {{{race|}}} |
{{#if: {{{race|}}} |
! Race
! Race
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{race}}}]]
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{race}}}]]
|}}
{{!}}- |}}
|-
{{#if: {{{life|}}} |
{{#if: {{{life|}}} |
!Status
!Status
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{life|Dead or alive?}}}
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{life}}}
|}}
{{!}}- |}}
|-
{{#if: {{{hometown|}}} |
{{#if: {{{hometown|}}} |
! Hometown
! Hometown
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{hometown}}}]]
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{hometown}}}]]
|}}
{{!}}- |}}
|-
{{#if: {{{relationships|}}} |
{{#if: {{{relationships|}}} |
!valign="top" {{!}} Relationship(s)
!valign="top" {{!}} Relationship(s)
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{relationships|Familial relationships only}}}
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{relationships|Familial relationships only}}}
|}}
{{!}}- |}}
|-
{{#if: {{{alias|}}} |
{{#if: {{{alias|}}} |
!valign="top" {{!}} Alias/Title
!valign="top" {{!}} Alias/Title
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{alias|Known alias or title}}}
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{alias|Known alias or title}}}
|}}
{{!}}- |}}
|-
{{#if: {{{affiliation|}}} |
{{#if: {{{affiliation|}}} |
!valign="top" {{!}} Affiliation(s)
!valign="top" {{!}} Affiliation(s)

Revision as of 20:35, 8 September 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.