Template:Advancement: Difference between revisions

Jump to navigation Jump to search
Advancements can now have enchanted icons
No edit summary
(Advancements can now have enchanted icons)
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=((#ifeq:{{{enchanted|}}}|"true"|}}}}
-->{{AdvancementIcon|{{{1|{{{item|Grass Block}}}}}}|{{{bg|plain}}}|{{{state|raw}}}|hover={{{hover|}}}|enchanted={{{enchanted|}}}}}
{{#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}}
Line 7: Line 7:
| {{Advancement|Grass Block|hover=true|desc-color=A800A8}}
| {{Advancement|Grass Block|hover=true|desc-color=A800A8}}
| {{Advancement|Grass Block|hover=true}}
| {{Advancement|Grass Block|hover=true}}
| {{Advancement|Elytra|enchanted="true"}}
| {{Advancement|Elytra|enchanted=true}}
|}
|}
</noinclude>
</noinclude>
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits

Navigation menu