Difference between revisions of "Template:IAlliance"

From eRepublik Official Wiki
Jump to: navigation, search
(Update + styling fixes)
Line 3: Line 3:
 
<!-- constant variables --> |
 
<!-- constant variables --> |
 
   alliance name= {{{alliance name|}}}|
 
   alliance name= {{{alliance name|}}}|
 +
  alliance number= {{{alliance number|}}}|
 
   alliance flag= {{{alliance flag|}}}|
 
   alliance flag= {{{alliance flag|}}}|
 
   alliance map= {{{alliance map|}}}|
 
   alliance map= {{{alliance map|}}}|
Line 15: Line 16:
 
   trial members= {{{trial members|}}}|
 
   trial members= {{{trial members|}}}|
 
   newspaper= {{{newspaper|}}}|
 
   newspaper= {{{newspaper|}}}|
  soldiers= {{{soldiers|}}}|
 
  average strength= {{{average strength|}}}|
 
 
 
}}
 
}}
 
</includeonly><noinclude>{{LangMenu|Template:IAlliance}}
 
</includeonly><noinclude>{{LangMenu|Template:IAlliance}}
Line 23: Line 21:
 
See [[:Template:IAlliance/Suomi]] to see how this template should be translated.
 
See [[:Template:IAlliance/Suomi]] to see how this template should be translated.
 
==Usage==
 
==Usage==
<pre>{{IAlliance|
+
<pre>{{IAlliance
   <!-- constant variables --> |
+
   <!-- constant variables -->  
   alliance name= |
+
   |alliance name =  
   alliance flag= |
+
  |alliance number = <!-- add in-game alliance page number if exists -->
   alliance map= |
+
   |alliance flag =  
 +
   |alliance map =  
 
    
 
    
   <!-- military variables --> |
+
   <!-- military variables -->  
   formation= |
+
   |formation =  
   dissolution= |
+
   |dissolution =  
   type= |
+
   |type =  
   headquarters= |
+
   |headquarters =  
   secretary general= |
+
   |secretary general =  
   members= |
+
   |members =  
   trial members=|
+
   |trial members =  
   newspaper=|
+
   |newspaper =  
  soldiers= |
+
  average strength= |
+
 
}}</pre>
 
}}</pre>
  
 
All variables have a default value.
 
All variables have a default value.
  
{{IAlliance/English|
+
{{IAlliance/English
   <!-- constant variables --> |
+
   <!-- constant variables -->
   alliance name=PEACE Global Community<br>PEACEKeeping Force<br> |
+
   |alliance name = PEACE Global Community<br>PEACEKeeping Force
   alliance flag=Seal-PEACE-DPKO.jpg |
+
  |alliance number =
   alliance map=PEACE-GC-Map.gif|
+
   |alliance flag = Seal-PEACE-DPKO.jpg
 +
   |alliance map = PEACE-GC-Map.gif
 
    
 
    
   <!-- military variables --> |
+
   <!-- military variables -->
   formation=August 26, 2008 |
+
   |formation = August 26, 2008
   dissolution=December 2009|
+
   |dissolution = December 2009
   type=Military|
+
   |type = Military
   headquarters=Islamabad, [[Pakistan]] (''de facto'') |
+
   |headquarters = Islamabad, [[Pakistan]] (''de facto'')
   secretary general=[[Nicolae Carpathia]] |
+
   |secretary general = [[Nicolae Carpathia]]
   members=15 |
+
   |members = 15
   trial members=Test (4)|
+
   |trial members = Test (4)
   newspaper=No official newspaper reported|
+
   |newspaper = No official newspaper reported
  soldiers=14,000 |
+
  average strength=2.3 |
+
 
}}
 
}}
  
 
== Example ==
 
== Example ==
  
<pre>{{IAlliance|
+
<pre>{{IAlliance
   <!-- constant variables --> |
+
   <!-- constant variables -->
   alliance name=PEACE Global Community<br>PEACEKeeping Force<br> |
+
   |alliance name = PEACE Global Community<br>PEACEKeeping Force
   alliance flag=Seal-PEACE-DPKO.jpg |
+
  |alliance number = <!-- add in-game alliance page number if exists -->
   alliance map=PEACE-GC-Map.gif|
+
   |alliance flag = Seal-PEACE-DPKO.jpg
 +
   |alliance map = PEACE-GC-Map.gif
 
    
 
    
   <!-- military variables --> |
+
   <!-- military variables -->
   formation=August 26, 2008 |
+
   |formation = August 26, 2008
   dissolution=December 2009|
+
   |dissolution = December 2009
   type=Military|
+
   |type = Military
   headquarters=Islamabad, [[Pakistan]] (''de facto'') |
+
   |headquarters = Islamabad, [[Pakistan]] (''de facto'')
   secretary general=[[Nicolae Carpathia]] |
+
   |secretary general = [[Nicolae Carpathia]]
   members=15 |
+
   |members = 15
   trial members=Test (4)|
+
   |trial members = Test (4)
   newspaper=No official newspaper reported|
+
   |newspaper = No official newspaper reported
  soldiers=14,000 |
+
  average strength=2.3 |
+
 
}}</pre>
 
}}</pre>
 
[[Category:Main Templates|Alliance]]
 
[[Category:Main Templates|Alliance]]
 
</noinclude>
 
</noinclude>

Revision as of 16:38, 6 April 2019

Languages: 
EnglishIcon-English.png
SuomiIcon-Finland.png
FrançaisIcon-France.png
ΕλληνικάIcon-Greece.png
한글Icon-South Korea.png
PortuguêsIcon-Portugal.png
RomânăIcon-Romania.png
РусскийIcon-Russia.png
СрпскиIcon-Serbia.png

Translation

See Template:IAlliance/Suomi to see how this template should be translated.

Usage

{{IAlliance
  <!-- constant variables --> 
  |alliance name = 
  |alliance number = <!-- add in-game alliance page number if exists -->
  |alliance flag = 
  |alliance map = 
  
  <!-- military variables --> 
  |formation = 
  |dissolution = 
  |type = 
  |headquarters = 
  |secretary general = 
  |members = 
  |trial members = 
  |newspaper = 
}}

All variables have a default value.

PEACE Global Community
PEACEKeeping Force
Formation August 26, 2008
Dissolution December 2009
Type Military
Headquarters Islamabad, Pakistan (de facto)
Secretary-General Nicolae Carpathia
Members 15
Trial Members Test (4)
Newspaper No official newspaper reported


Example

{{IAlliance
  <!-- constant variables -->
  |alliance name = PEACE Global Community<br>PEACEKeeping Force
  |alliance number = <!-- add in-game alliance page number if exists -->
  |alliance flag = Seal-PEACE-DPKO.jpg
  |alliance map = PEACE-GC-Map.gif
  
  <!-- military variables -->
  |formation = August 26, 2008
  |dissolution = December 2009
  |type = Military
  |headquarters = Islamabad, [[Pakistan]] (''de facto'')
  |secretary general = [[Nicolae Carpathia]]
  |members = 15
  |trial members = Test (4)
  |newspaper = No official newspaper reported
}}