Difference between revisions of "Template:GuerrillaScore"
From eRepublik Official Wiki
Line 1: | Line 1: | ||
− | <includeonly><span style="font-family: 'Impact'; font-size: 20px; color: #404040; padding: | + | <includeonly><span style="font-family: 'Impact'; font-size: 20px; color: #404040; padding: 0px 32px 0px 0px;">Guerilla score:</span> |
− | {| style="text-align: center;" | + | {{Table |
− | | | + | |type = style="text-align:center; width: 200px;" |
− | + | |hdrs = [[File:Guerilla won.jpg]] !! [[File:Guerilla lost.jpg]] !! [[File:Guerilla fights icon.png|x21px]] | |
− | ! [[File:Guerilla lost.jpg | + | |row1 = <span style="font-family: 'Impact'; font-size: 20px; color: #95ab49;">{{{won|0}}}</span> {{!!}} <span style="font-family: 'Impact'; font-size: 20px; color: #c1585e;">{{{lost|0}}}</span> {{!!}} <span style="font-family: 'Impact'; font-size: 20px; color: #404040;">{{#ifexpr: {{{won|0}}}+{{{lost|0}}}>0|{{#expr:({{{won|0}}}*100/({{{won|0}}}+{{{lost|0}}})) round 0}}|0}}%</span>}}</includeonly> |
− | ! [[File:Guerilla fights icon.png| | + | |
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<noinclude>This is the '''GuerillaScore template'''. It display the fights won and lost, as well as the victory percentage. | <noinclude>This is the '''GuerillaScore template'''. It display the fights won and lost, as well as the victory percentage. | ||
− | '''Input:''' | + | '''Input:''' |
− | '''Output:''' {{GuerillaScore|won=100|lost=50}}</noinclude> | + | <nowiki>{{GuerillaScore|won=100|lost=50}}</nowiki> |
+ | |||
+ | '''Output:''' | ||
+ | |||
+ | {{GuerillaScore|won=100|lost=50}}</noinclude> |
Revision as of 15:57, 4 March 2014
This is the GuerillaScore template. It display the fights won and lost, as well as the victory percentage.
Input:
{{GuerillaScore|won=100|lost=50}}
Output: