Template:Advancement: Difference between revisions

m
Let's try this again
m (Should allow the advancement icon to have enchantment glint)
m (Let's try this again)
Line 1: Line 1:
<includeonly><div class="{{#ifeq: {{{hover}}}|true|hover-advancement|advancement}}"><!--
<includeonly><div class="{{#ifeq: {{{hover}}}|true|hover-advancement|advancement}}"><!--
-->{{AdvancementIcon|{{{1|{{{item|Grass Block}}}}}}|{{{bg|plain}}}|{{{state|raw}}}|hover={{{hover|}}}|enchanted={{{enchanted|}}}}}
-->{{AdvancementIcon|{{{1|{{{item|Grass Block}}}}}}|{{{bg|plain}}}|{{{state|raw}}}|hover={{{hover|}}}|enchanted=((#ifeq:{{{enchanted|}}}|"true"|}}}}
{{#ifeq:{{{hover}}}|true|<div class="hover-advancement-text">|}}<div class="{{#ifeq:{{{hover}}}|true|hover-title|advancement-title}}">{{{2|{{{title|Gamemode 4}}}}}}</div><div class="{{#ifeq:{{{hover}}}|true|hover-description|advancement-description}}">{{#if:{{{desc-color|}}}|<span style="color:#{{{desc-color}}};">}}{{{3|{{{desc|Semi-funny blurb about GM4}}}}}}{{#if:{{{desc-color|}}}|</span>}}</div>{{#ifeq:{{{hover}}}|true|</div>|}}</div></includeonly><noinclude>
{{#ifeq:{{{hover}}}|true|<div class="hover-advancement-text">|}}<div class="{{#ifeq:{{{hover}}}|true|hover-title|advancement-title}}">{{{2|{{{title|Gamemode 4}}}}}}</div><div class="{{#ifeq:{{{hover}}}|true|hover-description|advancement-description}}">{{#if:{{{desc-color|}}}|<span style="color:#{{{desc-color}}};">}}{{{3|{{{desc|Semi-funny blurb about GM4}}}}}}{{#if:{{{desc-color|}}}|</span>}}</div>{{#ifeq:{{{hover}}}|true|</div>|}}</div></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits