Template:Corr: Difference between revisions

From Timaresh
Jump to navigationJump to search
(Created page with "{{#vardefine:gov| {{citygov|{{{3}}}|{{{5}}}}} }} {{#vardefine:output| {{#expr: {{citymod| {{citysize|{{{1|1}}} }} }} + {{#if: {{#pos:{{{2}}}|E}} |1|0}} + ...")
 
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:gov|
{{#vardefine:gov|
   {{citygov|{{{3}}}|{{{5}}}}}
   {{citygov|{{{3}}}|{{{5}}}}}
}}
}}{{#vardefine:output|
{{#vardefine:output|
   {{#expr:
   {{#expr:
       {{citymod| {{citysize|{{{1|1}}} }} }} +
       {{citymod| {{citysize|{{{1|1}}} }} }} +
       {{#if: {{#pos:{{{2}}}|E}} |1|0}} +
       {{#if: {{#pos:{{{2}}}|E}} |1|0}}*{{#if: {{#pos:{{#var:gov}}|theocracy}} |2|1}} +
       {{#if: {{#pos:{{#var:gov}}|anarchy}} |4|0}} +
       {{#if: {{#pos:{{#var:gov}}|anarchy}} |4|0}} +
      {{#if: {{#pos:{{#var:gov}}|colonial}} |2|0}} +
      {{#if: {{#pos:{{#var:gov}}|dynasty}} |1|0}} +
      {{#if: {{#pos:{{#var:gov}}|magical}} |-2|0}} +
      {{#if: {{#pos:{{#var:gov}}|military}} |-1|0}} +
       {{#if: {{#pos:{{#var:gov}}|overlord}} |2|0}} +
       {{#if: {{#pos:{{#var:gov}}|overlord}} |2|0}} +
       {{#if: {{#pos:{{#var:gov}}|secret syndicate}} |2|0}} +
       {{#if: {{#pos:{{#var:gov}}|secret syndicate}} |2|0}} +
      {{#if: {{#pos:{{#var:gov}}|theocracy}} |2|0}} +
      {{#if: {{#pos:{{{4}}}|abstinent}} |2|0}} +
      {{#if: {{#pos:{{{4}}}|cruel watch}} |1|0}} +
      {{#if: {{#pos:{{{4}}}|decadent}} |2|0}} +
      {{#if: {{#pos:{{{4}}}|defensible}} |1|0}} +
      {{#if: {{#pos:{{{4}}}|gambling}} |2|0}} +
      {{#if: {{#pos:{{{4}}}|guilds}} |1|0}} +
       {{#if: {{#pos:{{{4}}}|holy site}} |-2|0}} +
       {{#if: {{#pos:{{{4}}}|holy site}} |-2|0}} +
      {{#if: {{#pos:{{{4}}}|mobile: frontlines}} |-1|0}} +
      {{#if: {{#pos:{{{4}}}|unholy site}} |4|0}} +
       {{#if: {{#pos:{{{5}}}|impoverished}} |1|0}} +
       {{#if: {{#pos:{{{5}}}|impoverished}} |1|0}} +
       {{#if: {{#pos:{{{5}}}|plagued}} |-2|0}}
       {{#if: {{#pos:{{{5}}}|plagued}} |-2|0}}
   }}
   }}
}}
}}{{pm|{{#var:output}}}}{{#var:output}}
<onlyinclude>{{#var:output}}</onlyinclude>

Latest revision as of 01:40, 31 May 2013

-4