Template:ImageButton: Difference between revisions

From Echopedia
(Created page with "{{#tag:html| <div class="image_button"> <a href="/wiki/{{{page}}}"> <div style="background-image: url('{{{image}}}');"> {{{text}}} </div> </a> </div> }} <noinclude> <templatedata> { "params": { "text": { "description": "Content of the button", "type": "string", "required": true }, "image": { "description": "full image url", "type": "url", "suggested": true }, "page": {...")
 
No edit summary
Tag: Reverted
Line 1: Line 1:
[[Category:Incomplete backup]]
{{#tag:html|
{{#tag:html|

Revision as of 04:06, 4 September 2022



<templatedata>

{

"params": {

"text": {

"description": "Content of the button",

"type": "string",

"required": true

},

"image": {

"description": "full image url",

"type": "url",

"suggested": true

},

"page": {

"description": "Name of the page to link to",

"type": "wiki-page-name",

"required": true

}

},

"description": "A large link button with an image background",

"maps": {

"text": {}

},

"format": "block",

"paramOrder": [

"text",

"page",

"image"

]

}

</templatedata>