Template:Townnpc: Difference between revisions
Jump to navigation
Jump to search
(46 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| style="margin-left: 2em; margin-bottom: 0.5em; background: inherit; clear:both; float: right;" |
{| style="margin-left: 2em; margin-bottom: 0.5em; background: inherit; clear:both; float: right;" |
||
|- |
|- |
||
| |
| |
||
{| style="width: 23em; font-size: 95%; text-align: left; Border:thin solid #aaa; margin-bottom: 1em; background: #F9F9F9;" |
{| style="width: 23em; font-size: 95%; text-align: left; Border:thin solid #aaa; margin-bottom: 1em; background: #F9F9F9;" |
||
| colspan = "2" style="white-space: nowrap; font-size: larger; text-align: center; background: # |
| colspan = "2" style="white-space: nowrap; font-size: larger; text-align: center; background: #edbb99 " | '''{{PAGENAME}}''' |
||
|- |
|- |
||
| |
| |
||
Line 14: | Line 13: | ||
{{#if: {{{town|}}} | |
{{#if: {{{town|}}} | |
||
! Town |
! Town |
||
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{town}}} |
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{town}}}]] |
||
{{!}}- |}} |
{{!}}- |}} |
||
{{#if: {{{gender|}}} | |
{{#if: {{{gender|}}} | |
||
Line 23: | Line 22: | ||
! Race |
! Race |
||
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{race}}}]] |
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{race}}}]] |
||
{{!}}- |}} |
|||
{{#if: {{{hometown|}}} | |
|||
! Hometown |
|||
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{hometown}}}]] |
|||
{{!}}- |}} |
{{!}}- |}} |
||
{{#if: {{{alias|}}} | |
{{#if: {{{alias|}}} | |
||
Line 47: | Line 42: | ||
|} |
|} |
||
<includeonly>{{#switch: {{{include}}}|#default={{#if: {{{town|}}} | [[Category: {{{town}}}]] }} |no= }} |
|||
[[Category:Town NPCs]]</includeonly> |
|||
<noinclude> |
|||
A template to use with town npcs.<br> |
|||
'''<big>Copy/paste code:</big>''' |
'''<big>Copy/paste code:</big>''' |
||
<pre><nowiki> |
<pre><nowiki> |
||
{{townnpc |
{{townnpc |
||
|town = |
|town = |
||
|gender = |
|gender = |
||
|race = |
|race = |
||
|alias = |
|alias = |
||
|job = |
|job = |
||
|shop = |
|shop = |
||
|affiliation = }}</nowiki> |
|affiliation = }}</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: |
[[Category:NPC templates]] |
||
</noinclude> |
</noinclude> |
Latest revision as of 17:30, 3 December 2022
|
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.