Changes

From Drawn to Life Wiki
Documentation
Line 24: Line 24:  
align-items: center;" >{{{Title|{{{1|Click to toggle content}}}}}}</div>
 
align-items: center;" >{{{Title|{{{1|Click to toggle content}}}}}}</div>
 
</div>
 
</div>
 +
<templatedata>
 +
{
 +
"params": {
 +
"boxcolor": {
 +
"label": "Databox color",
 +
"description": "When a valid RGB hex is input, the box will match the color",
 +
"example": "|boxcolor=#ff8682",
 +
"type": "content",
 +
"autovalue": "#5aa7e2"
 +
},
 +
"ID": {
 +
"label": "Controller ID",
 +
"description": "The ID of the HiddenToggle template. The ID can be any value, but the values of the paired templates MUST match verbatim.",
 +
"type": "string",
 +
"autovalue": "unset",
 +
"required": true
 +
},
 +
"Title": {
 +
"label": "Button Title",
 +
"description": "The title to display on the clickable button.",
 +
"example": "|Title=Click to reveal map",
 +
"type": "content",
 +
"autovalue": "Click to toggle content",
 +
"suggested": true
 +
}
 +
},
 +
"description": "This template acts as a user-controlled toggle for Template:HiddenToggle. These templates are intended to be used together, with this template serving as a method of toggling the state of content hidden with the aforementioned template.",
 +
"format": "inline"
 +
}
 +
</templatedata>