Difference between revisions of "Template:Medals/Core"

From eRepublik Official Wiki
Jump to: navigation, search
m
 
m (small fix)
Line 1: Line 1:
 
<includeonly>{{#ifexpr:{{{3|0}}}>0
 
<includeonly>{{#ifexpr:{{{3|0}}}>0
|<div style="display:inline-block;width:49%;height:71px;overflow:hidden;margin:2px;"><span style="float:left;">[[image:icon_achievement_{{{2}}}_on.gif]]</span>
+
|<div style="display:inline-block;width:250px;height:100%;overflow:hidden;margin:2px;"><span style="float:left;">[[image:icon_achievement_{{{2}}}_on.gif]]</span>
 
<div style="padding-top:6px;margin-left:51px;">'' '''{{{1}}}{{#if:{{{notice|}}}|[[Template:Medals/doc#Notice|<span style="color:red;">*</span>]]|}}''' (x{{{3}}})'' {{{4}}}</div></div>|{{#if:{{{show off|}}}
 
<div style="padding-top:6px;margin-left:51px;">'' '''{{{1}}}{{#if:{{{notice|}}}|[[Template:Medals/doc#Notice|<span style="color:red;">*</span>]]|}}''' (x{{{3}}})'' {{{4}}}</div></div>|{{#if:{{{show off|}}}
 
|<div style="display:inline-block;width:49%;height:71px;overflow:hidden;margin:2px;"><span style="float:left;">[[image:icon_achievement_{{{2}}}_off.gif]]</span>
 
|<div style="display:inline-block;width:49%;height:71px;overflow:hidden;margin:2px;"><span style="float:left;">[[image:icon_achievement_{{{2}}}_off.gif]]</span>

Revision as of 19:49, 16 November 2013

How use :

  • 1 : name
  • 2 : picture name (icon_achievement_<this string is needed>_on.gif)
  • 3 : count of medals
  • 4 : description
  • show off : off picture

eg:

{{Medals/Core|Hard Worker|{{{Hard Worker}}}|hardworker|{{#if:{{{Last day Hard Worker|}}}|<br>Last Awarded: Day {{{Last day Hard Worker|}}}}}|{{#if:{{{show unawarded|}}}|show off|}}}}