69,788
edits
(add id, improve readability) |
(use TemplateStyles) |
||
Line 1: | Line 1: | ||
<div class="achievement" id="{{{name|}}}" style="width:{{{width|248px}}}; {{#ifeq:{{{float|right}}}|none|display: inline-block|clear: {{{float|right}}}}}; float: {{{float|right}}}; {{#ifeq:{{{float|right}}}|right|margin-left: .5em|{{#ifeq:{{{float|right}}}|left|margin-right: .5em}}}}"> | <templatestyles src="Template:Achievement/styles.css" /><div class="achievement" id="achievement_{{{name|}}}" style="width:{{{width|248px}}}; {{#ifeq:{{{float|right}}}|none|display: inline-block|clear: {{{float|right}}}}}; float: {{{float|right}}}; {{#ifeq:{{{float|right}}}|right|margin-left: .5em|{{#ifeq:{{{float|right}}}|left|margin-right: .5em}}}}"> | ||
<div style="margin:4px;"> | <div style="margin:4px;"> | ||
<div class="achievement_image">[[File:{{{image|Unknown achievement.png}}}|45px|{{{name|}}}]]</div> | <div class="achievement_image">[[File:{{{image|Unknown achievement.png}}}|45px|{{{name|}}}]]</div> | ||
Line 7: | Line 7: | ||
<div class="achievement_description"><span style="{{#if:{{{description|}}}||display:none}}">{{{description}}}</span></div> | <div class="achievement_description"><span style="{{#if:{{{description|}}}||display:none}}">{{{description}}}</span></div> | ||
{{#if:{{{total|}}}|{{progress bar|outer-color=#e7e7e7|outer-style=margin: 4px;clear: both;|outer-border=none|inner-color=#aaaaaa|inner-font=#2f2f2f|progress={{{progress|1}}}|total={{{total}}}|units={{{units|}}}}}}}</div><noinclude> | {{#if:{{{total|}}}|{{progress bar|outer-color=#e7e7e7|outer-style=margin: 4px;clear: both;|outer-border=none|inner-color=#aaaaaa|inner-font=#2f2f2f|progress={{{progress|1}}}|total={{{total}}}|units={{{units|}}}}}}}</div><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |