Template:ImageButton: Difference between revisions
From Echopedia
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
<div class="image_button"> | <div class="image_button"> | ||
{{#ifeq: {{{page}}} | https://tools.echopedia.gg/arena_block_map | {{#ifeq: {{{page}}} | https://tools.echopedia.gg/arena_block_map | <a href="{{{page}}}"> | <a href="/wiki/{{{page}}}"> }} | ||
| <a href="{{{page}}}"> | |||
| <a href="/wiki/{{{page}}}"> | |||
}} | |||
Revision as of 19:24, 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>