Difference between revisions of "Template:Medals/Core"
From eRepublik Official Wiki
m (small fix) |
m (small fix) |
||
Line 2: | Line 2: | ||
|<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="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: | + | |<div style="display:inline-block;width:250px;height:100%;overflow:hidden;margin:2px;"><span style="float:left;">[[image:icon_achievement_{{{2}}}_off.gif]]</span> |
<div style="padding-top:6px;margin-left:51px;">'' '''{{{1}}}{{#if:{{{notice|}}}|[[Template:Medals/doc#Notice|<span style="color:red;">*</span>]]|}}''' (x0)''</div></div>|}}}}</includeonly><noinclude> | <div style="padding-top:6px;margin-left:51px;">'' '''{{{1}}}{{#if:{{{notice|}}}|[[Template:Medals/doc#Notice|<span style="color:red;">*</span>]]|}}''' (x0)''</div></div>|}}}}</includeonly><noinclude> | ||
How use : | How use : |
Revision as of 20:50, 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|}}}}