Difference between revisions of "Template:Town Info"

From Arkaz
Jump to: navigation, search
 
(7 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 7: Line 7:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{full_title|<noinclude>-</noinclude>}}} |
+
{{#if: {{{town_alignment|<noinclude>-</noinclude>}}} |
 
! Town Alignment
 
! Town Alignment
{{!}} {{{full_title}}}
+
{{!}} {{{town_alignment}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{rank|<noinclude>-</noinclude>}}} |
+
{{#if: {{{p_race|<noinclude>-</noinclude>}}} |
 
! Primary Race
 
! Primary Race
<includeonly>{{!}} [[:Category:{{{rank}}} Deities|{{{rank}}}]][[Category:{{{rank}}} Deities]]</includeonly>
+
{{!}} {{{p_race}}}
<noinclude>{{!}} {{{rank}}}</noinclude>
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{alignment|<noinclude>-</noinclude>}}} |
+
{{#if: {{{population|<noinclude>-</noinclude>}}} |
 
! Population
 
! Population
{{!}} {{{alignment}}}
+
{{!}} {{{population}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{domain|<noinclude>-</noinclude>}}} |
+
{{#if: {{{p_export|<noinclude>-</noinclude>}}} |
 
! Primary Export
 
! Primary Export
{{!}} {{{domain}}}
+
{{!}} {{{p_export}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{color|<noinclude>-</noinclude>}}} |
+
{{#if: {{{p_note|<noinclude>-</noinclude>}}} |
 
! People of Note
 
! People of Note
{{!}} {{{color}}}{{#if: {{{color_2|<noinclude>-</noinclude>}}} |, {{{color_2}}}}}
+
{{!}} {{{p_note}}}{{#if: {{{p_note_2|<noinclude>-</noinclude>}}} |, {{{p_note_2}}}}}{{#if: {{{p_note_3|<noinclude>-</noinclude>}}} |, {{{p_note_3}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 38: 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''
! Town Guard
+
{{!}}-
| {{#if: {{{f_alignment|<noinclude>-</noinclude>}}} | {{{f_alignment}}} | Any }}
+
{{!}} {{#if: {{{t_guard|<noinclude>-</noinclude>}}} | {{{t_guard}}}}}
|-
+
{{!}}-
! Army
+
{{!}} {{#if: {{{i_army|<noinclude>-</noinclude>}}} | {{{i_army}}}}}
| {{#if: {{{f_class|<noinclude>-</noinclude>}}} | {{{f_class}}} | Any }}
+
{{!}}-
|-
+
}}
 
|}
 
|}
 
<!--
 
<!--
  
  
--><noinclude>[[Category:Deities Templates|{{PAGENAME}}]]</noinclude>
+
--><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}}}