Difference between revisions of "Template:Town Info"
From Arkaz
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>[[Category: | + | <includeonly>[[Category:Towns]]</includeonly> |
{| style="border: 1px #DDD solid; background:#FFFBF5; padding: 1px; width:32em; text-align:left; font-size:90%;" cellspacing="2" | {| style="border: 1px #DDD solid; background:#FFFBF5; padding: 1px; width:32em; text-align:left; font-size:90%;" cellspacing="2" | ||
! style="font-size:120%; background:#FFEDCB; text-align:center;" colspan="2" | ''{{PAGENAME}}'' | ! style="font-size:120%; background:#FFEDCB; text-align:center;" colspan="2" | ''{{PAGENAME}}'' | ||
Line 7: | Line 7: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{town_alignment|<noinclude>-</noinclude>}}} | |
! Town Alignment | ! Town Alignment | ||
− | {{!}} {{{ | + | {{!}} {{{town_alignment}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{p_race|<noinclude>-</noinclude>}}} | |
! Primary Race | ! Primary Race | ||
− | + | {{!}} {{{p_race}}} | |
− | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{population|<noinclude>-</noinclude>}}} | |
! Population | ! Population | ||
− | {{!}} {{{ | + | {{!}} {{{population}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{p_export|<noinclude>-</noinclude>}}} | |
! Primary Export | ! Primary Export | ||
− | {{!}} {{{ | + | {{!}} {{{p_export}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{p_note|<noinclude>-</noinclude>}}} | |
! People of Note | ! People of Note | ||
− | {{!}} {{{ | + | {{!}} {{{p_note}}}{{#if: {{{p_note_2|<noinclude>-</noinclude>}}} |, {{{p_note_2}}}}}{{#if: {{{p_note_3|<noinclude>-</noinclude>}}} |, {{{p_note_3}}}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 38: | Line 37: | ||
}} | }} | ||
|- | |- | ||
− | || | + | {{#ifeq: {{#expr: {{#if:{{{t_guard|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{i_army|}}}|1|0}} }} | 1 | |
− | + | {{!}}{{!}} | |
− | ! style="font-size:120%; background:#FFEDCB; text-align:center;" colspan="2" | + | {{!}}- |
− | + | ! style="font-size:120%; background:#FFEDCB; text-align:center;" colspan="2" {{!}} ''Protection'' | |
− | ! | + | {{!}}- |
− | + | {{!}} {{#if: {{{t_guard|<noinclude>-</noinclude>}}} | {{{t_guard}}}}} | |
− | + | {{!}}- | |
− | ! | + | {{!}} {{#if: {{{i_army|<noinclude>-</noinclude>}}} | {{{i_army}}}}} |
− | + | {{!}}- | |
− | + | }} | |
|} | |} | ||
<!-- | <!-- | ||
− | --><noinclude>[[Category: | + | --><noinclude>[[Category:Town Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 18:41, 5 October 2007
Town Info | |
---|---|
{{{image}}} {{{caption}}} | |
Town Alignment | {{{town_alignment}}} |
Primary Race | {{{p_race}}} |
Population | {{{population}}} |
Primary Export | {{{p_export}}} |
People of Note | {{{p_note}}}, {{{p_note_2}}}, {{{p_note_3}}} |
Protection | |
{{{t_guard}}} | |
{{{i_army}}} |