Difference between revisions of "Template:GuerrillaScore"

From eRepublik Official Wiki
Jump to: navigation, search
m
m (Undo revision 644444 by Bogohulja (talk))
Line 8: Line 8:
 
| <span style="font-family: 'Impact'; font-size: 20px; color: #95ab49; padding: 10px 10px 10px 10px; ">{{{won|0}}}</span>
 
| <span style="font-family: 'Impact'; font-size: 20px; color: #95ab49; padding: 10px 10px 10px 10px; ">{{{won|0}}}</span>
 
| <span style="font-family: 'Impact'; font-size: 20px; color: #c1585e; padding: 10px 10px 10px 10px; ">{{{lost|0}}}</span>
 
| <span style="font-family: 'Impact'; font-size: 20px; color: #c1585e; padding: 10px 10px 10px 10px; ">{{{lost|0}}}</span>
| <span style="font-family: 'Impact'; font-size: 20px; color: #404040; padding: 10px 10px 10px 10px;">{{#ifexpr: {{{won|0}}}+{{{lost|0}}}>0|{{#expr:({{{won|0}}}*100/({{{won|0}}}+{{{lost|0}}})) round 0}}|0}}%</span> |}</includeonly><noinclude>
+
| <span style="font-family: 'Impact'; font-size: 20px; color: #404040; padding: 10px 10px 10px 10px;">{{#ifexpr: {{{won|0}}}+{{{lost|0}}}>0|{{#expr:({{{won|0}}}*100/({{{won|0}}}+{{{lost|0}}})) round 0}}|0}}%</span>  
This is the '''GuerillaScore template'''. It display the fights won and lost, as well as the victory percentage.
+
|}</includeonly>
 +
 
 +
<noinclude>This is the '''GuerillaScore template'''. It display the fights won and lost, as well as the victory percentage.
  
 
'''Input:''' <nowiki>{{GuerillaScore|won=100|lost=50}}</nowiki>
 
'''Input:''' <nowiki>{{GuerillaScore|won=100|lost=50}}</nowiki>
  
 
'''Output:''' {{GuerillaScore|won=100|lost=50}}</noinclude>
 
'''Output:''' {{GuerillaScore|won=100|lost=50}}</noinclude>

Revision as of 11:03, 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: Template:GuerillaScore