Template:Infobox City: Difference between revisions

From Timaresh
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 3: Line 3:
[[Category:Cities]]
[[Category:Cities]]
</includeonly>
</includeonly>
{| class="infobox bordered" cellpadding="4" style="line-height: 1.1em;width: 20em; font-size: 95%;text-indent: -10px; padding-left: 10px;"
{| class="infobox bordered" cellpadding="4" style="line-height: 1.1em;width: 25em; font-size: 95%;text-indent: -10px; padding-left: 10px;"
|+ style="margin-left: inherit; " | {{PAGENAME}}
|+ style="margin-left: inherit; " | {{{nameor|{{PAGENAME}}}}}
|-
|-
| '''{{citysize|{{{pop|1}}}}}''' {{{govt}}}{{#if: {{{govtdesc|}}}|<nowiki> </nowiki>({{{govtdesc}}})}} '''AL''' {{{al}}}
| {{{al|N}}} {{citysize|{{{pop|1}}}}}
|-{{#vardefine:cash|{{#expr: ({{citygp|{{citysize|{{{pop|1}}}}}|{{{gpor|}}}}}*{{{pop|0}}}/10)+1}}}}
|-
| '''GP Limit''' {{citygp|{{citysize|{{{pop|0}}}}}|{{{gpor|}}}}} gp ('''Ready Cash''' {{#sub:{{#var:cash}}|0|-1}}{{#expr:{{#sub:{{#var:cash}}|-1}}-1}}&nbsp;gp)
| '''Corruption''' {{corr|{{{pop|1}}}|{{{al|}}}|{{{gov|}}}|{{{qual|}}}|{{{disad|}}}|{{{corrmod|0}}}}}; '''Crime''' {{crime|{{{pop|1}}}|{{{al|}}}|{{{gov|}}}|{{{qual|}}}|{{{disad|}}}|{{{crimemod|0}}}}}; '''Economy''' {{eco|{{{pop|1}}}|{{{al|}}}|{{{gov|}}}|{{{qual|}}}|{{{disad|}}}|{{{ecomod|0}}}}}; '''Law''' {{law|{{{pop|1}}}|{{{al|}}}|{{{gov|}}}|{{{qual|}}}|{{{disad|}}}|{{{lawmod|0}}}}}; '''Lore''' {{lore|{{{pop|1}}}|{{{al|}}}|{{{gov|}}}|{{{qual|}}}|{{{disad|}}}|{{{loremod|0}}}}}; '''Society''' {{soc|{{{pop|1}}}|{{{al|}}}|{{{gov|}}}|{{{qual|}}}|{{{disad|}}}|{{{socmod|0}}}}}
|-
| '''Qualities''' {{{qual|}}}
|-
| '''Danger''' {{dang|{{{pop|1}}}|{{{qual|}}}|{{{disad|}}}}}{{#if:{{{disad|}}}|<nowiki>; </nowiki>'''Disadvantages''' {{{disad}}}|}}
|- style="text-align: center;border-top: 1px solid #CA9E7B; border-bottom: 1px solid #CA9E7B"
|- style="text-align: center;border-top: 1px solid #CA9E7B; border-bottom: 1px solid #CA9E7B"
| '''Demographics'''
| '''Demographics'''
Line 14: Line 18:
| '''Location'''  {{#if: {{{plane|}}}|[[{{{plane}}}]]}}{{#if: {{{layer|}}} |/[[{{{layer}}}]]}}{{#if: {{{realm|}}}|/[[{{{realm}}}]]}}
| '''Location'''  {{#if: {{{plane|}}}|[[{{{plane}}}]]}}{{#if: {{{layer|}}} |/[[{{{layer}}}]]}}{{#if: {{{realm|}}}|/[[{{{realm}}}]]}}
|-
|-
| '''Population''' {{{pop}}} ({{{race}}})
| '''Government''' {{citygov|{{{gov|}}}|{{{disad|}}}}}
|-
| '''Population''' {{formatnum:{{{pop|1}}}}} ({{{folk|}}})
{{#if: {{{npc|}}}|{{!}}-
{{!}} '''Notable NPCs'''<br>
{{{npc}}}}}
|- style="text-align: center;border-top: 1px solid #CA9E7B; border-bottom: 1px solid #CA9E7B"
|- style="text-align: center;border-top: 1px solid #CA9E7B; border-bottom: 1px solid #CA9E7B"
{{#if: {{{auth|}}}|{{!}} '''Authority Figures'''
| '''Marketplace'''
{{!}}-
|-
{{!}} {{{auth}}}}}
| '''Base Value''' {{formatnum:{{basegp|{{{pop|1}}}|{{{qual|}}}|{{{disad|}}} }} }}&nbsp;gp; '''Purchase Limit''' {{formatnum:{{gplim|{{{pop|1}}}|{{{qual|}}}|{{{disad|}}} }} }}&nbsp;gp; '''Spellcasting''' {{ordinal|{{spell|{{{pop|1}}}|{{{gov|}}}|{{{qual|}}}|{{{disad|}}} }}}}
|}<noinclude>
|}<noinclude>
<br clear="all"><pre><nowiki>
<br clear="all"><pre><nowiki>
{{Infobox City|
{{Infobox City|
pop =  |
pop =  |
race =  |
folk =  |
govt =  |
govtdesc =  |
al =  |
al =  |
gov =  |
qual =  |
disad =  |
plane =  |
plane =  |
layer =  |
layer =  |
realm =  |
realm =  |
auth =  |
npc =  |
}}
}}
</nowiki></pre></noinclude>
</nowiki></pre></noinclude>

Latest revision as of 13:57, 20 May 2017

Infobox City
N thorp
Corruption -4; Crime -4; Economy -4; Law -4; Lore -4; Society -4
Qualities
Danger -10
Demographics
Location
Government
Population 1 ()
Marketplace
Base Value 50 gp; Purchase Limit 500 gp; Spellcasting 1st


{{Infobox City|
pop =  |
folk =  |
al =  |
gov =  |
qual =  |
disad =  |
plane =  |
layer =  |
realm =  |
npc =  |
}}