Template:Advancement: Difference between revisions

Jump to navigation Jump to search
Color be settable using a hex code with the parameter desc-color
m (hyphen, not equal sign)
(Color be settable using a hex code with the parameter desc-color)
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|}}}}}
-->{{AdvancementIcon|{{{1|{{{item|Grass Block}}}}}}|{{{bg|plain}}}|{{{state|raw}}}|hover={{{hover|}}}}}
{{#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}}">{{{3|{{{desc|Semi-funny blurb about GM4}}}}}}</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}}


{|
{|
| {{Advancement|Grass Block|hover=true}}
| {{Advancement|Grass Block|hover=true|desc-color=A800A8}}
| {{Advancement|Grass Block|hover=true}}
| {{Advancement|Grass Block|hover=true}}
|}
|}
</noinclude>
</noinclude>
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits

Navigation menu