User:ECHEAUX/Templates: Difference between revisions

The official GemStone IV encyclopedia.
< User:ECHEAUX
Jump to navigation Jump to search
No edit summary
No edit summary
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: {{{town|}}} |
! Town
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{town}}}]]
{{!}}- |}}
{{!}}- |}}
{{#if: {{{gender|}}} |
{{#if: {{{gender|}}} |
! Gender
! Gender
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{Gender}}}]]
{{!}} 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: {{{profession|}}} |
{{#if: {{{alias|}}} |
!valign="top" {{!}} Alias/Title
! Profession
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{profession}}}]]
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{alias|Known alias or title}}}
{{!}}- |}}
{{!}}- |}}
{{#if: {{{title|}}} |
{{#if: {{{job|}}} |
!valign="top" {{!}} Title
!valign="top" {{!}} Job
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{title}}}
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{job}}}
{{!}}- |}}
{{!}}- |}}
{{#if: {{{service|}}} |
{{#if: {{{shop|}}} |
!valign="top" {{!}} Service
!valign="top" {{!}} Shop Name
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{Service}}}
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{shop}}}
{{!}}- |}}
{{!}}- |}}
{{#if: {{{Creation|}}} |
{{#if: {{{affiliation|}}} |
!valign="top" {{!}} Creation
!valign="top" {{!}} Affiliation(s)
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{Creation}}}
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{affiliation}}}
{{!}}- |}}
{{#if: {{{festival|}}} |
!valign="top" {{!}} Festival(s)
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{festival}}}
|}}
|}}
|}
|}
|}
|}


<includeonly>{{#switch: {{{include}}}|#default={{#if: {{{town|}}} | [[Category: {{{town}}}]] }} |no= }}
[[Category:Town NPCs]]</includeonly><noinclude>
<noinclude>
<noinclude>
A template to use with merchants.<br>
A template to use with town npcs.<br>
'''<big>Copy/paste code:</big>'''
'''<big>Copy/paste code:</big>'''
<pre><nowiki>
<pre><nowiki>
{{townnpc
{{merchant
|town =
|gender =
|gender =
|race =
|race =
|alias =
|profession = <!--Seamstress, Weaponsmith, Armorsmith, Toymaker, Tattoist, etc.-->
|job =
|title = <!--only if different than profession-->
|shop =
|service = <!--Tattoos, Features, GALD, LD, etc. Use Other is necessary-->
|affiliation = }}</nowiki>
|creation = <!--Any scripts they may have created/are responsible for (ie, Veola, ClimateWear, Tall Shoes, etc-->
|festival = <!--What festivals do the frequent. If more than three, just list the top three -->}}</nowiki>
</pre>
</pre>
This template is built from the [[:Template:Storynpcbox|Storyline NPC box template]] by [[USER:VANKRASN39|VANKRASN39]] which is based on the [[:Template:Deity|deity template]] by [[USER:ZHOUY1|ZHOUY1]].
[[Category:Templates]]
</noinclude>
</noinclude>





<strong><span style="color:red;">'''This space is for creating templates to [[User:ECHEAUX/Templates_test|test]].'''</span></strong>

Revision as of 16:30, 22 November 2019

ECHEAUX/Templates


A template to use with town npcs.
Copy/paste code:

{{townnpc
|town =
|gender = 
|race =  
|alias = 
|job = 
|shop =
|affiliation = }}

This template is built from the Storyline NPC box template by VANKRASN39 which is based on the deity template by ZHOUY1.