Difference between revisions of "Template:Alliance"
From eRepublik Official Wiki
m (small corrections) |
m (link correction) |
||
(2 intermediate revisions by 2 users 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:98%; 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:98%; background-color:#F1FAFF; margin:0px 0px 10px 10px; padding:10px 0px 5px 0px; text-align:left;"> | ||
− | <div align="center"><span class="plainlinks" style="padding:1px; | + | <div align="center"><span class="plainlinks" style="padding:1px; font-size:130%; font-weight:bold; text-align:center; color:#3C8FA7">{{#if: {{{alliance number|}}}|[http://www.erepublik.com/en/main/alliances/{{{alliance number|}}} <span style="border-bottom:1px dotted #C4E1E9; color:#3C8FA7">{{{alliance name|Unnamed Alliance}}}</span>]|{{{alliance name|<font color="{{{border|#C6E4F2}}}">Unnamed Alliance</font>}}}}} </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"> | ||
{| style="background:transparent;" | {| style="background:transparent;" | ||
Line 34: | Line 34: | ||
==Usage== | ==Usage== | ||
− | <pre>{{Alliance | + | <pre>{{Alliance |
− | + | <!-- constant variables --> | |
− | alliance name= | + | |alliance name = |
− | alliance number= | + | |alliance number = |
− | alliance flag= | + | |alliance flag = |
− | alliance map= | + | |alliance map = |
− | + | ||
− | + | <!-- military variables --> | |
− | formation= | + | |formation = |
− | dissolution= | + | |dissolution = |
− | type= | + | |type = |
− | headquarters= | + | |headquarters = |
− | secretary general= | + | |secretary general = |
− | members= | + | |members = |
− | trial members= | + | |trial members = |
− | newspaper= | + | |newspaper = |
− | soldiers= | + | |soldiers = |
− | average strength= | + | |average strength = |
}}</pre> | }}</pre> | ||
Line 59: | Line 59: | ||
<!-- constant variables --> | | <!-- constant variables --> | | ||
alliance name=PEACE Global Community<br>PEACEKeeping Force<br> | | alliance name=PEACE Global Community<br>PEACEKeeping Force<br> | | ||
− | alliance flag= | + | alliance flag=Flag-PEACE white.png | |
− | alliance map=PEACE | + | alliance map=Map-PEACE.gif | |
<!-- military variables --> | | <!-- military variables --> | | ||
Line 74: | Line 74: | ||
== Example == | == Example == | ||
− | <pre>{{Alliance | + | <pre>{{Alliance |
− | + | <!-- constant variables --> | |
− | alliance name=PEACE Global Community<br>PEACEKeeping Force< | + | |alliance name = PEACE Global Community<br>PEACEKeeping Force |
− | alliance flag= | + | |alliance number = <!-- add in-game alliance page number if exists --> |
− | alliance map= | + | |alliance flag = Flag-PEACE white.png |
+ | |alliance map = Map-PEACE.gif | ||
− | + | <!-- military variables --> | |
− | formation=August 26, 2008 | | + | |formation = August 26, 2008 |
− | headquarters=Islamabad, [[Pakistan]] (''de facto'') | + | |dissolution = December 2009 |
− | secretary general=[[Nicolae Carpathia]] | + | |type = Military |
− | members=15 | + | |headquarters = Islamabad, [[Pakistan]] (''de facto'') |
− | trial members= | + | |secretary general = [[Nicolae Carpathia]] |
− | soldiers=14,000 | + | |members = 15 |
− | average strength=2.3 | + | |trial members = Test (4) |
+ | |newspaper = No official newspaper reported | ||
+ | |soldiers = 14,000 | ||
+ | |average strength = 2.3 | ||
}}</pre> | }}</pre> | ||
[[Category:Main Templates|Alliance]] | [[Category:Main Templates|Alliance]] | ||
</noinclude> | </noinclude> |
Latest revision as of 07:29, 18 April 2019
NOTE
FOR TRANSLATION USE Template:IAlliance!!!
Usage
{{Alliance <!-- constant variables --> |alliance name = |alliance number = |alliance flag = |alliance map = <!-- military variables --> |formation = |dissolution = |type = |headquarters = |secretary general = |members = |trial members = |newspaper = |soldiers = |average strength = }}
All variables have a default value.
PEACE Global Community
PEACEKeeping Force
PEACEKeeping Force
|
Example
{{Alliance <!-- constant variables --> |alliance name = PEACE Global Community<br>PEACEKeeping Force |alliance number = <!-- add in-game alliance page number if exists --> |alliance flag = Flag-PEACE white.png |alliance map = Map-PEACE.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 |soldiers = 14,000 |average strength = 2.3 }}