Difference between revisions of "Template:Government"

From eRepublik Official Wiki
Jump to: navigation, search
m (Added {{{budget|}}})
 
(http --> https change)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly><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;font-size:100%; background-color:#F1FAFF; margin:0px 0px 10px 10px; padding:10px 0px 5px 0px; text-align:left;">
 
<includeonly><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;font-size:100%; background-color:#F1FAFF; margin:0px 0px 10px 10px; padding:10px 0px 5px 0px; text-align:left;">
<div align="center">
+
<div align="center">{{#if:{{{number|}}}|<span class="plainlinks" style="padding:1px;  font-size:130%; font-weight:bold; text-align:center; color:#3C8FA7">[https://www.erepublik.com/en/economy/citizen-accounts/{{{number|}}} {{{name|Unnamed ministry}}}]</span>|<span class="plainlinks" style="padding:1px; font-size:130%; font-weight:bold; text-align:center; color:#000000">{{{name|Unnamed ministry}}}</span> }}<br/> <span class="plainlinks" style="padding:1px;  font-size:90%; font-weight:bold; text-align:center; color:#000000">Government of {{{country}}}</span>
<span style="font-family:sans-serif; font-size:120%; font-weight:bold;">{{{name|Ministry}}}</span>
+
  
 
<div style="padding: 5px 8px 5px 8px; margin:10px 5px; width:222px; border:1px solid #C6E4F2; background-color:white"  align="center">
 
<div style="padding: 5px 8px 5px 8px; margin:10px 5px; width:222px; border:1px solid #C6E4F2; background-color:white"  align="center">
Line 31: Line 30:
 
{{RowV2/small|{{{leader_title|Minister}}}|{{{leader|}}}}}
 
{{RowV2/small|{{{leader_title|Minister}}}|{{{leader|}}}}}
 
{{RowV2/small|{{{deputy_title|Under Minister}}}|{{{deputy|}}}}}
 
{{RowV2/small|{{{deputy_title|Under Minister}}}|{{{deputy|}}}}}
{{RowV2/small|Staff|{{{staff|}}}}}
+
{{RowV2/small|Team|{{{team|}}}}}
 
|}
 
|}
 
|}
 
|}
Line 41: Line 40:
 
{{Government
 
{{Government
 
   |name=Ministry of Foreign Affairs
 
   |name=Ministry of Foreign Affairs
   |country=UK
+
  |number=
 +
  |abbreviation=
 +
   |country=United Kingdom
 
   |motto=Boblo save Ireland, 'cos we sure won't
 
   |motto=Boblo save Ireland, 'cos we sure won't
 
   |newspaper={{eLink|newspaper|239373|UK Foreign Office}}
 
   |newspaper={{eLink|newspaper|239373|UK Foreign Office}}
Line 50: Line 51:
 
   |closed=
 
   |closed=
 
   |budget=
 
   |budget=
   |leader=[[Mcafee01]]
+
   |leader=Mcafee01
 
   |leader_title=Minister
 
   |leader_title=Minister
 
   |deputy=[[Mr Woldy]]
 
   |deputy=[[Mr Woldy]]
 
   |deputy_title=Under Minister
 
   |deputy_title=Under Minister
   |staff=King [[Kumnaa]], some dude
+
   |team=King [[Kumnaa]], some dudes
   |partof=[[Government of the United Kingdom]]
+
   |partof=Government of the United Kingdom
 
}}
 
}}
This template is for use on ministry, department, agency and other government organisation articles.
+
This template is for use on '''ministry''', '''department''', '''agency''' and other '''government organisation''' articles.
 +
 
 +
All variables have a default value (no data).
 +
 
 +
The parameters marked with a <nowiki>*</nowiki> automatically add links
 +
 
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
 
{{Government
 
{{Government
 
   |name=
 
   |name=
 +
  |number= <!-- *if it has erepublik page; URL ID number -->
 
   |abbreviation=
 
   |abbreviation=
   |country= <!-- UK and USA use abbreviations -->
+
   |country= <!-- *as it is spelled in eRepublik! -->
 
   |motto=
 
   |motto=
 
   |newspaper=
 
   |newspaper=
   |logo=
+
   |logo= *
 
   |type=
 
   |type=
 
   |budget=
 
   |budget=
Line 76: Line 83:
 
   |deputy=
 
   |deputy=
 
   |deputy_title=
 
   |deputy_title=
   |staff=
+
   |team=
 
   |partof=
 
   |partof=
 
}}
 
}}
 
</pre>
 
</pre>
  
 +
==Example==
 +
The example is for the Ministry of Foreign Affairs (United Kingdom) and it gives the result visible on the right side.
 +
 +
<pre>
 +
{{Government
 +
  |name=Ministry of Foreign Affairs
 +
  |number=
 +
  |abbreviation=
 +
  |country=United Kingdom
 +
  |motto=Boblo save Ireland, 'cos we sure won't
 +
  |newspaper={{eLink|newspaper|239373|UK Foreign Office}}
 +
  |logo=Seal_of_the_Ministry_of_Foreign_Affairs.png
 +
  |type=Ministry
 +
  |headquarters=[[London]]
 +
  |opened=December 2007
 +
  |closed=
 +
  |budget=
 +
  |leader=Mcafee01
 +
  |leader_title=Minister
 +
  |deputy=[[Mr Woldy]]
 +
  |deputy_title=Under Minister
 +
  |team=King [[Kumnaa]], some dudes
 +
  |partof=Government of the United Kingdom
 +
}}
 +
</pre>
 +
[[Category:Main Templates|Government]]
 
</noinclude>
 
</noinclude>

Latest revision as of 20:41, 20 April 2020


Ministry of Foreign Affairs
Government of United Kingdom
Seal of the Ministry of Foreign Affairs.png

"Boblo save Ireland, 'cos we sure won't"

General Information
Country United KingdomUnited Kingdom
Headquarters London
Established December 2007
Newspaper UK Foreign Office
Organisation
Part of Government of the United Kingdom
Type Ministry
Minister Mcafee01
Under Minister Mr Woldy
Team King Kumnaa, some dudes


This template is for use on ministry, department, agency and other government organisation articles.

All variables have a default value (no data).

The parameters marked with a * automatically add links

Usage

{{Government
  |name=
  |number= <!-- *if it has erepublik page; URL ID number -->
  |abbreviation=
  |country= <!-- *as it is spelled in eRepublik! -->
  |motto=
  |newspaper=
  |logo= *
  |type=
  |budget=
  |headquarters=
  |opened=
  |closed=
  |leader=
  |leader_title=
  |deputy=
  |deputy_title=
  |team=
  |partof=
}}

Example

The example is for the Ministry of Foreign Affairs (United Kingdom) and it gives the result visible on the right side.

{{Government
  |name=Ministry of Foreign Affairs
  |number=
  |abbreviation=
  |country=United Kingdom
  |motto=Boblo save Ireland, 'cos we sure won't
  |newspaper={{eLink|newspaper|239373|UK Foreign Office}}
  |logo=Seal_of_the_Ministry_of_Foreign_Affairs.png
  |type=Ministry
  |headquarters=[[London]]
  |opened=December 2007
  |closed=
  |budget=
  |leader=Mcafee01
  |leader_title=Minister
  |deputy=[[Mr Woldy]]
  |deputy_title=Under Minister
  |team=King [[Kumnaa]], some dudes
  |partof=Government of the United Kingdom
}}