Template:Test: Difference between revisions

The official GemStone IV encyclopedia.
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|}}} |
Line 23: Line 19:
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{race}}}]]
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{race}}}]]
{{!}}- |}}
{{!}}- |}}
{{#if: {{{alias|}}} |
{{#if: {{{title|}}} |
!valign="top" {{!}} Alias/Title
!valign="top" {{!}} Title
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{alias|Known alias or title}}}
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{alias|title}}}
{{!}}- |}}
{{!}}- |}}
{{#if: {{{job|}}} |
{{#if: {{{profession|}}} |
!valign="top" {{!}} Job
!valign="top" {{!}} Profession
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{job}}}
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{profession}}}
{{!}}- |}}
{{!}}- |}}
{{#if: {{{shop|}}} |
{{#if: {{{service|}}} |
!valign="top" {{!}} Shop Name
!valign="top" {{!}} Service(s)
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{shop}}}
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{service}}}
{{!}}- |}}
{{!}}- |}}
{{#if: {{{affiliation|}}} |
{{#if: {{{festival|}}} |
!valign="top" {{!}} Affiliation(s)
!valign="top" {{!}} Festival(s)
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{affiliation}}}
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{festival}}}
|}}
|}}
|}
|}
|}
|}



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

Revision as of 18:22, 22 November 2019

Test


A template to use with merchants.
Copy/paste code:

{{merchant
|gender = 
|race =  
|profession = <!--Seamstress, Weaponsmith, Armorsmith, Toymaker, Tattoist, etc.-->
|title = <!--only if different than profession-->
|service = <!--Tattoos, Features, GALD, LD, etc. Use Other is necessary-->
|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 -->}}






A space to create templates to test.