Difference between revisions of "Template:Government"
From eRepublik Official Wiki
John F Baker (Talk | contribs) 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- | + | |
<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| | + | {{RowV2/small|Team|{{{team|}}}}} |
|} | |} | ||
|} | |} | ||
Line 41: | Line 40: | ||
{{Government | {{Government | ||
|name=Ministry of Foreign Affairs | |name=Ministry of Foreign Affairs | ||
− | |country= | + | |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= | + | |leader=Mcafee01 |
|leader_title=Minister | |leader_title=Minister | ||
|deputy=[[Mr Woldy]] | |deputy=[[Mr Woldy]] | ||
|deputy_title=Under Minister | |deputy_title=Under Minister | ||
− | | | + | |team=King [[Kumnaa]], some dudes |
− | |partof= | + | |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= <!-- | + | |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= | ||
− | | | + | |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
Government of United Kingdom
"Boblo save Ireland, 'cos we sure won't"
|
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 }}