Editing Template:Main Page/Button
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 17: | Line 17: | ||
==Example== | ==Example== | ||
{{Example|<nowiki> | {{Example|<nowiki> | ||
<div class="mp-button-wrapper"> | <templatestyles src="Template:Main Page/styles.css" /> | ||
<div class="mp-button-wrapper" style="margin-top:8px;"> | |||
{{Main Page/Button|icon = HoYoverse|link = https://planet.hoyoverse.com|text = Official Website}} | {{Main Page/Button|icon = HoYoverse|link = https://planet.hoyoverse.com|text = Official Website}} | ||
{{Main Page/Button|icon = HoYoLAB|link = https://www.hoyolab.com/circles/10/100002/official|text = Official HoYoLAB}} | {{Main Page/Button|icon = HoYoLAB|link = https://www.hoyolab.com/circles/10/100002/official|text = Official HoYoLAB}} | ||
| Line 38: | Line 39: | ||
"description": "External link of the button.", | "description": "External link of the button.", | ||
"example": "https://planet.hoyoverse.com", | "example": "https://planet.hoyoverse.com", | ||
"type": " | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
| Line 59: | Line 60: | ||
} | } | ||
</templatedata> | </templatedata> | ||
}}</noinclude> | }}</noinclude> | ||