Template:Townnpc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(27 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
| |
| |
||
{| 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 13: | 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 22: | 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 45: | Line 41: | ||
|} |
|} |
||
|} |
|} |
||
<includeonly> |
|||
{{#if: {{{town|}}} | [[Category: {{{town}}}]] }} |
<includeonly>{{#switch: {{{include}}}|#default={{#if: {{{town|}}} | [[Category: {{{town}}}]] }} |no= }} |
||
[[Category: |
[[Category:Town NPCs]]</includeonly> |
||
<noinclude> |
<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.