Difference between revisions of "Template:Town Info"

From Arkaz
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Deity]]</includeonly>
+
<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 19: Line 19:
 
{{#if: {{{population|<noinclude>-</noinclude>}}} |
 
{{#if: {{{population|<noinclude>-</noinclude>}}} |
 
! Population
 
! Population
{{!}} {{{pupulation}}}
+
{{!}} {{{population}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 29: Line 29:
 
{{#if: {{{p_note|<noinclude>-</noinclude>}}} |
 
{{#if: {{{p_note|<noinclude>-</noinclude>}}} |
 
! People of Note
 
! People of Note
{{!}} {{{p_note}}}{{#if: {{{p_note_2|<noinclude>-</noinclude>}}} |, {{{p_note_2}}}}}
+
{{!}} {{{p_note}}}{{#if: {{{p_note_2|<noinclude>-</noinclude>}}} |, {{{p_note_2}}}}}{{#if: {{{p_note_3|<noinclude>-</noinclude>}}} |, {{{p_note_3}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 37: Line 37:
 
}}
 
}}
 
|-
 
|-
|| &nbsp;
+
{{#ifeq: {{#expr: {{#if:{{{t_guard|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{i_army|}}}|1|0}} }} | 1 |
|-
+
{{!}}{{!}} &nbsp;
! style="font-size:120%; background:#FFEDCB; text-align:center;" colspan="2" | ''Protection''
+
{{!}}-
|-
+
! style="font-size:120%; background:#FFEDCB; text-align:center;" colspan="2" {{!}} ''Protection''
| {{#if: {{{t_guard|<noinclude>-</noinclude>}}} | {{{t_guard}}}}}
+
{{!}}-
|-
+
{{!}} {{#if: {{{t_guard|<noinclude>-</noinclude>}}} | {{{t_guard}}}}}
| {{#if: {{{i_army|<noinclude>-</noinclude>}}} | {{{i_army}}}}}
+
{{!}}-
|-
+
{{!}} {{#if: {{{i_army|<noinclude>-</noinclude>}}} | {{{i_army}}}}}
 +
{{!}}-
 +
}}
 
|}
 
|}
 
<!--
 
<!--

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}}}