Template:Main Page/Highlight: Difference between revisions
Added SyntaxHighlight and Template:Example |
SteviumBot (talk | contribs) m Changed template data format |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 30: | Line 30: | ||
==Example== | ==Example== | ||
{{Example|<nowiki> | {{Example|<nowiki> | ||
<div class="mp-highlight-wrapper"> | <div class="mp-highlight-wrapper"> | ||
{{Main Page/Highlight | {{Main Page/Highlight | ||
| Line 90: | Line 89: | ||
"description": "Link of the highlight card.", | "description": "Link of the highlight card.", | ||
"example": "Version/Coziness Test", | "example": "Version/Coziness Test", | ||
"type": " | "type": "wiki-page-name", | ||
"required": true | "required": true | ||
} | } | ||
| Line 103: | Line 102: | ||
"tag_text" | "tag_text" | ||
], | ], | ||
"format": " | "format": "{{_\n|_______________ = _\n}}\n" | ||
} | } | ||
</templatedata> | </templatedata> | ||
<templatestyles src="Template:Main Page/styles.css" /> | |||
}}</noinclude> | }}</noinclude> | ||