Difference between revisions of "Template:IParty/Core"
From eRepublik Official Wiki
(matching to the Party template) |
(test) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{#ifeq: {{{name|}}} | {{BASEPAGENAME}} | | {{DISPLAYTITLE:{{{name|{{BASEPAGENAME}}}}}}} }} | ||
{{#if: {{{succeeded|}}} | {{rellink|{{{ihistorical|This is a historical party, for succeeding party:}}} [[{{{succeeded|}}}]]}} }} | {{#if: {{{succeeded|}}} | {{rellink|{{{ihistorical|This is a historical party, for succeeding party:}}} [[{{{succeeded|}}}]]}} }} | ||
<div style="float:right; clear:right; opacity:1; width:250px; border:2px solid #C6E4F2; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; background-color:#F1FAFF; margin:0px 0px 10px 10px; padding:10px 0px 5px 0px; text-align:left;"> | <div style="float:right; clear:right; opacity:1; width:250px; border:2px solid #C6E4F2; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; background-color:#F1FAFF; margin:0px 0px 10px 10px; padding:10px 0px 5px 0px; text-align:left;"> | ||
Line 23: | Line 24: | ||
{{RowV2|{{{iabbreviation|Abbreviation}}}|{{{abbreviation|}}}}} | {{RowV2|{{{iabbreviation|Abbreviation}}}|{{{abbreviation|}}}}} | ||
{{RowV2|{{{iwebsite|Website}}}|{{#if:{{{website|}}}|[{{{website|}}}]}} }} | {{RowV2|{{{iwebsite|Website}}}|{{#if:{{{website|}}}|[{{{website|}}}]}} }} | ||
− | {{ | + | {{RowV2|{{{inewspaper|Newspaper}}}|{{{newspaper|}}}}} |
− | {{ | + | {{RowV2|{{{iorganization|Organization}}}|{{{organization|}}}}} |
{{RowV2|{{{iforum|Forum link}}}|{{#if:{{{forum|}}}|[{{{forum|}}}]}} }} | {{RowV2|{{{iforum|Forum link}}}|{{#if:{{{forum|}}}|[{{{forum|}}}]}} }} | ||
+ | {{RowV2|{{{iirc|Chat link}}}|{{#if:{{{irc|}}}|[{{{irc|}}}]}} }} | ||
{{RowV2|{{{icolors|Colors}}}|{{{colors|}}}}} | {{RowV2|{{{icolors|Colors}}}|{{{colors|}}}}} | ||
− | {{RowV2|{{{ | + | {{RowV2|{{{ifounded|Founded}}}|{{{founded|}}}}} |
{{RowV2|{{{idissolution|Dissolution}}}|{{{dissolution|}}}}} | {{RowV2|{{{idissolution|Dissolution}}}|{{{dissolution|}}}}} | ||
Line 43: | Line 45: | ||
{{RowV2|{{{ispokesman|Spokesman}}}|{{{spokesman|}}}}} | {{RowV2|{{{ispokesman|Spokesman}}}|{{{spokesman|}}}}} | ||
{{RowV2|{{{imembers|Members}}}|{{{members|}}}}} | {{RowV2|{{{imembers|Members}}}|{{{members|}}}}} | ||
+ | {{RowV2|{{{irank|Rank}}}|{{{rank|}}}}} | ||
{{RowV2|{{{icongress|Congress}}}|{{#if: {{{congress|}}} |{{#iferror: {{#expr: 1 * {{{congress|}}} }}|{{{congress|}}}|{{{congress|0}}}/{{CongressNumbers|{{{country}}} }} {{{iseats|seats}}}, {{#expr:(({{{congress|0}}}/{{CongressNumbers|{{{country|}}}}})*100) round 0}}% }} | {{RowV2|{{{icongress|Congress}}}|{{#if: {{{congress|}}} |{{#iferror: {{#expr: 1 * {{{congress|}}} }}|{{{congress|}}}|{{{congress|0}}}/{{CongressNumbers|{{{country}}} }} {{{iseats|seats}}}, {{#expr:(({{{congress|0}}}/{{CongressNumbers|{{{country|}}}}})*100) round 0}}% }} | ||
|0 /{{CongressNumbers|{{{country|}}}}} {{{iseats|seats}}}, 0%}}}} | |0 /{{CongressNumbers|{{{country|}}}}} {{{iseats|seats}}}, 0%}}}} |
Latest revision as of 19:33, 5 March 2019