Template:Advancement: Difference between revisions

Jump to navigation Jump to search
m
Last detail
m (Let's try this again)
m (Last detail)
(5 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=((#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}}
 
<templatedata>
{|
{
| {{Advancement|Grass Block|hover=true|desc-color=A800A8}}
"params": {
| {{Advancement|Grass Block|hover=true}}
"hover": {
|}
"label": "Hover",
</noinclude>
"description": "If true, this mimics the functionality from the Advancement tab",
"example": "true",
"type": "line",
"autovalue": ""
},
"item": {
"aliases": [
"1"
],
"label": "Display Item",
"description": "Advancement Icon",
"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",
"required": true
},
"bg": {
"label": "Frame",
"description": "The Advancement icon frame",
"example": "oval for goal, fancy for challenge",
"type": "line"
},
"state": {
"label": "State",
"description": "Advancement completion state",
"example": "worn",
"type": "line"
},
"enchanted": {
"label": "Enchanted",
"description": "If true, the Advancement icon will show as enchanted",
"example": "true",
"type": "line"
},
"title": {
"aliases": [
"2"
],
"label": "Title",
"description": "The Advancement text",
"example": "Gamemode 4",
"type": "line",
"required": true
},
"desc-color": {
"label": "Description Color",
"description": "A hex code for the color of the Advancement description",
"example": "54FC54 for green, A800A8 for dark purple",
"type": "line"
},
"desc": {
"aliases": [
"3"
],
"label": "Description",
"description": "The Advancement description text",
"example": "Semi-funny blurb about GM4",
"type": "line",
"required": true
}
},
"description": "Create Advancements as seen within Minecraft.",
"paramOrder": [
"item",
"title",
"bg",
"state",
"desc",
"desc-color",
"enchanted",
"hover"
]
}
</templatedata></noinclude>
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,633

edits

Navigation menu