Difference between revisions of "Template:IParty/doc"

From eRepublik Official Wiki
Jump to: navigation, search
(matching to the Party template)
(example added / some styling / small corrections)
Line 2: Line 2:
  
 
{{IParty/Suomi|
 
{{IParty/Suomi|
  name= Liberaali Edistyspuolue|
+
|name=Liberaali Edistyspuolue
  logo= Party-Liberaali Edistyspuolue.jpg|
+
|logo=Party-Liberaali Edistyspuolue.jpg
  number= 3063|  
+
|number=3063
  country= Finland|  
+
 
  abbreviation= LEP|
+
|general=show
  rank= |
+
|country=Finland
  website= |
+
|transcountry= Suomi
  newspaper= |
+
|abbreviation=LEP
  organization= |
+
|rank=1 {{Steady}}
  forum= http://www.erepublik.fi/viewforum.php?f=25 Forum|
+
|website=http://www.erepublik.fi/viewforum.php?f=25 Forum
  irc= |
+
|irc=irc://irc.rizon.net/erepublik.fi #erepublik.fi
  colors= Turkoosi, oranssi|
+
|newspaper=eRepublik Insider
  founded= |
+
|organization=Admin
  dissolution= |
+
|forum=http://forum.erepublik.com forum.erepublik.com
  president= Soil3d|
+
|colors=Turkoosi, oranssi
  vicepresident= |
+
|founded=November 2008 (est)
  secretarygeneral= |
+
|dissolution=2013 (est)
  councillor= |
+
|congress=5
  spokesman= |
+
|president=[[nanton]]
  members= 74|
+
|vicepresident=[[Scadens]]
  congress= 12| <!-- only number of the seats -->
+
|secretarygeneral=[[Kuhaa]]
  succeeds= Kansanpuolue|
+
|councillor=[[Erwin Schauman]]
  succeeded= |  
+
|spokesman={{eLink|citizen|1199128|Pete1}}
  orientation= Keskellä|
+
|members=600 {{Increase}}
  ideology= Liberaali|
+
 
  transcountry= Suomi|
+
|political=show
 +
|succeeds=Party
 +
|succeeded=Party{{!}}Petrin Partio
 +
|orientation= Keskellä
 +
|ideology=Liberaali
 
}}
 
}}
 +
{{TOCright}}
 +
==Example==
 +
This is just an example of how to use the {{Tl|IParty}} template on the translated article. The example is based on [[Liberaali Edistyspuolue/Suomi]] page, although some of the information was filled out just so you could see how it would look like in the template. Below is the overview of the template that you can see to your right.
 +
<pre>
 +
{{IParty|
 +
|name=Liberaali Edistyspuolue
 +
|logo=Party-Liberaali Edistyspuolue.jpg
 +
|number=3063
 +
 +
|general=show
 +
|country=Finland
 +
|transcountry= Suomi
 +
|abbreviation=LEP
 +
|rank=1 {{Steady}}
 +
|website=http://www.erepublik.fi/viewforum.php?f=25 Forum
 +
|irc=irc://irc.rizon.net/erepublik.fi #erepublik.fi
 +
|newspaper=eRepublik Insider
 +
|organization=Admin
 +
|forum=http://forum.erepublik.com forum.erepublik.com
 +
|colors=Turkoosi, oranssi
 +
|founded=November 2008 (est)
 +
|dissolution=2013 (est)
 +
|congress=5
 +
|president=[[nanton]]
 +
|vicepresident=[[Scadens]]
 +
|secretarygeneral=[[Kuhaa]]
 +
|councillor=[[Erwin Schauman]]
 +
|spokesman={{eLink|citizen|1199128|Pete1}}
 +
|members=600 {{Increase}}
 +
 +
|political=show
 +
|succeeds=Party
 +
|succeeded=Party{{!}}Petrin Partio
 +
|orientation= Keskellä
 +
|ideology=Liberaali
 +
}}
 +
</pre>
 +
 +
==Usage==
 +
To use the template in the translated article, add this template:
 
<pre>
 
<pre>
 
{{IParty|
 
{{IParty|
Line 58: Line 102:
 
   transcountry= | <!-- the name of the country in your language -->
 
   transcountry= | <!-- the name of the country in your language -->
 
}}</pre>
 
}}</pre>
All variables have a default value.
+
For English pages please use {{Tl|Party}}. {{Tl|IParty}} is only to be used in translated party articles.
 
+
English pages where this template is called are added to the <nowiki>[[Category:{{{orientation|}}} Parties]] and [[Category:Parties of {{{country|}}}]</nowiki>
+
 
+
If you set the succeeded parameter the pages are added to the <nowiki>[[Category:Historical {{{orientation|}}} Parties]] and [[Category:Historical Parties of {{{country|}}}] and there will be notice at the top of the page.</nowiki>
+
  
 
== Translating template ==
 
== Translating template ==

Revision as of 06:05, 21 February 2016

edit

Edit-copy green.png Documentation subpage

This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:IParty.



Liberaali Edistyspuolue

Unknown Party

Yhteisö
Valtio Flag-Finland.jpg Suomi
Lyhenne LEP
Linkit Forum
Sanomalehti eRepublik Insider
Organisaatio Admin
Keskustelu forum.erepublik.com
Chat #erepublik.fi
Värit Turkoosi, oranssi
Perustaminen November 2008 (est)
Hajoaminen 2013 (est)
Politiikka
Johtaja nanton
Varajohtaja Scadens
Secretary General Kuhaa
Councillor Erwin Schauman
Spokesman Pete1
Jäsenet 600
Rank 1
Eduskunta 5/40 seats, 13%
Edeltäjä Party
Seuraaja Petrin Partio
Suuntautuminen Keskellä
Ideologia Liberaali

Example

This is just an example of how to use the {{IParty}} template on the translated article. The example is based on Liberaali Edistyspuolue/Suomi page, although some of the information was filled out just so you could see how it would look like in the template. Below is the overview of the template that you can see to your right.

{{IParty|
|name=Liberaali Edistyspuolue
|logo=Party-Liberaali Edistyspuolue.jpg
|number=3063

|general=show
|country=Finland
|transcountry= Suomi 
|abbreviation=LEP
|rank=1 {{Steady}}
|website=http://www.erepublik.fi/viewforum.php?f=25 Forum
|irc=irc://irc.rizon.net/erepublik.fi #erepublik.fi
|newspaper=eRepublik Insider
|organization=Admin
|forum=http://forum.erepublik.com forum.erepublik.com
|colors=Turkoosi, oranssi
|founded=November 2008 (est)
|dissolution=2013 (est)
|congress=5
|president=[[nanton]]
|vicepresident=[[Scadens]]
|secretarygeneral=[[Kuhaa]]
|councillor=[[Erwin Schauman]]
|spokesman={{eLink|citizen|1199128|Pete1}}
|members=600 {{Increase}}

|political=show
|succeeds=Party
|succeeded=Party{{!}}Petrin Partio
|orientation= Keskellä
|ideology=Liberaali
}}

Usage

To use the template in the translated article, add this template:

{{IParty|
  name= |
  logo= |
  number= | <!---(number from the URL on eRepublik)--->
  country= | <!---(name of the country in English)--->
  abbreviation= |
  rank= |
  website= |
  newspaper= |
  organization= |
  forum= |
  irc= |
  colors= |
  founded= |
  dissolution= |
  president= |
  vicepresident= |
  secretarygeneral= |
  councillor= |
  spokesman= |
  members= |
  congress= | <!-- only number of the seats -->
  succeeds= |
  succeeded= | 
  orientation= |
  ideology= |
  transcountry= | <!-- the name of the country in your language -->
}}

For English pages please use {{Party}}. {{IParty}} is only to be used in translated party articles.

Translating template

To translate template, do following:

  1. Go to page IParty/yourlang
  2. Copy the following code and translate the strings
{{IParty/Core|
<!--#START: Translation -->
  ihistorical=This is a historical party, for succeeding party:|
  iunknown=Unknown Party|
  isocial=General information|
  icountry=Country|
  iabbreviation=Abbreviation|
  iwebsite=Website|
  inewspaper=Newspaper|
  iorganization=Organization|
  iforum=Forum link|
  iirc=Chat|
  icolors=Colors|
  ifounded=Founded|
  idissolution=Dissolution|
  ipolitical=Political|
  ipresident=President|
  ivicepresident=Vice President|
  isecretarygeneral=Secretary General|
  icouncillor=Councillor|
  ispokesman=Spokesman|
  imembers=Members|
  icongress=Congress|
  iseats=seats|
  isucceeds=Preceded By|
  isucceeded=Succeeded By|
  iorientation=Orientation|
  iideology=Ideology|
<!--#END: Translation -->
<!--#START: Content -->
  name= {{{name|}}}|
  logo= {{{logo|}}}|
  number= {{{number|}}}|
  country= {{{country|}}}|
  abbreviation= {{{abbreviation|}}}|
  rank= {{{rank|}}}|
  website= {{{website|}}}|
  newspaper= {{{newspaper|}}}|
  organization= {{{organization|}}}|
  forum= {{{forum|}}}|
  irc= {{{irc|}}}|
  colors= {{{colors|}}}|
  founded= {{{founded|}}}|
  dissolution= {{{dissolution|}}}|
  president= {{{president|}}}|
  vicepresident= {{{vicepresident|}}}|
  secretarygeneral= {{{secretarygeneral|}}}|
  councillor= {{{councillor|}}}|
  spokesman= {{{spokesman|}}}|
  members= {{{members|}}}|
  congress= {{{congress|}}}|
  succeeds= {{{succeeds|}}}|
  succeeded= {{{succeeded|}}}| 
  orientation= {{{orientation|}}}|
  ideology= {{{ideology|}}}|
  transcountry={{{transcountry|}}}
<!--#END: Content -->
}}