Editing Template:Main Page/Highlight
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 12: | Line 12: | ||
==Syntax== | ==Syntax== | ||
< | <pre> | ||
{{Main Page/Highlight | {{Main Page/Highlight | ||
|image = | |image = | ||
| Line 20: | Line 20: | ||
|tag_text = | |tag_text = | ||
}} | }} | ||
</ | </pre> | ||
* {{F|image}} – Destination filename ('''excluding''' the file extension). | * {{F|image}} – Destination filename ('''excluding''' the file extension). | ||
* {{F|ext}} – Extension for filename. Default: {{F|png}}. | * {{F|ext}} – Extension for filename. Default: {{F|png}}. | ||
| Line 29: | Line 29: | ||
==Example== | ==Example== | ||
{{ | <pre> | ||
{{Main Page/Highlight | |||
|image = Stardrift Test Splashscreen | |||
|title = Stardrift Test | |||
|link = Version/Stardrift Test | |||
|tag_text = Beta | |||
}} | |||
{{Main Page/Highlight | |||
|image = Coziness Test Splashscreen | |||
|title = Coziness Test | |||
|link = Version/Coziness Test | |||
|tag_text = Beta | |||
}} | |||
</pre> | |||
<templatestyles src="Template:Main Page/styles.css" /> | |||
<div class="mp-highlight-wrapper"> | <div class="mp-highlight-wrapper"> | ||
{{Main Page/Highlight | {{Main Page/Highlight | ||
| Line 44: | Line 58: | ||
}} | }} | ||
</div> | </div> | ||
==Template Data== | ==Template Data== | ||
| Line 89: | Line 102: | ||
"description": "Link of the highlight card.", | "description": "Link of the highlight card.", | ||
"example": "Version/Coziness Test", | "example": "Version/Coziness Test", | ||
"type": " | "type": "string", | ||
"required": true | "required": true | ||
} | } | ||
| Line 102: | Line 115: | ||
"tag_text" | "tag_text" | ||
], | ], | ||
"format": " | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||
}}</noinclude> | }}</noinclude> | ||