Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,637
edits
(Added TemplateData) |
m (Added desc color defaults based on bg) |
||
(2 intermediate revisions by the same user not shown) | |||
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={{{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|{{#switch:{{{bg|}}}|oval=54FC54|fancy=A800A8|}}}}}|<span style="color:#{{{desc-color|{{#switch:{{{bg|}}}|oval=54FC54|fancy=A800A8|}}}}};">}}{{{3|{{{desc|Semi-funny blurb about GM4}}}}}}{{#if:{{{desc-color|}}}|</span>}}</div>{{#ifeq:{{{hover}}}|true|</div>|}}</div></includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<templatedata> | <templatedata> | ||
Line 19: | Line 19: | ||
"label": "Display Item", | "label": "Display Item", | ||
"description": "Advancement Icon", | "description": "Advancement Icon", | ||
"example": "Grass Block", | "example": "Minecraft items can be written as seen in game (Grass Block), though Gamemode 4 items must be prefixed with gm4: (gm4:Boots of Ostara)", | ||
"type": "line", | "type": "line", | ||
"required": true | "required": true | ||
Line 26: | Line 26: | ||
"label": "Frame", | "label": "Frame", | ||
"description": "The Advancement icon frame", | "description": "The Advancement icon frame", | ||
"example": "fancy", | "example": "oval for goal, fancy for challenge", | ||
"type": "line" | "type": "line" | ||
}, | }, | ||
Line 54: | Line 54: | ||
"label": "Description Color", | "label": "Description Color", | ||
"description": "A hex code for the color of the Advancement description", | "description": "A hex code for the color of the Advancement description", | ||
"example": "A800A8", | "example": "54FC54 for green, A800A8 for dark purple", | ||
"type": "line" | "type": "line" | ||
}, | }, |
edits