Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
If you make an edit, a temporary account will be created for you.

Editing Template:Main Page/Highlight

Template page
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
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==
<syntaxhighlight lang="wikitext" copy>
<pre>
{{Main Page/Highlight
{{Main Page/Highlight
|image =  
|image =  
Line 20: Line 20:
|tag_text =  
|tag_text =  
}}
}}
</syntaxhighlight>
</pre>
* {{F|image}} &ndash; Destination filename ('''excluding''' the file extension).
* {{F|image}} &ndash; Destination filename ('''excluding''' the file extension).
* {{F|ext}} &ndash; Extension for filename. Default: {{F|png}}.
* {{F|ext}} &ndash; Extension for filename. Default: {{F|png}}.
Line 29: Line 29:


==Example==
==Example==
{{Example|<nowiki>
<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>
</nowiki>}}


==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": "wiki-page-name",
"type": "string",
"required": true
"required": true
}
}
Line 102: Line 115:
"tag_text"
"tag_text"
],
],
"format": "{{_\n|_______________ = _\n}}\n"
"format": "block"
}
}
</templatedata>
</templatedata>
<templatestyles src="Template:Main Page/styles.css" />
 
}}</noinclude>
}}</noinclude>
Please note that all contributions to The Petit Planet Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see Petit Planet Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template
Below are commonly used wikitext from MediaWiki:Edittools. Click on any to insert them in the edit box.
File Pages==Summary====Licensing=={{Fairuse}}{{File|}}
Dynamic Page List¦²«»²{¦}²«»«/»«!----»
Array in DPL¹^2{}^2^2{¹}^2
Parser Functions{{#if:||}}
{{#ifeq:|||}}
{{#expr:}}
{{#switch:||#default=}}
{{#replace:||}}
{{#titleparts:}}
{{#tag:|}}
Markup{{}}|[][[]][[Category:]]#REDIRECT [[]] [[Category:Redirect Pages]]<code></code><includeonly></includeonly><noinclude></noinclude><nowiki></nowiki><!----><br>§
Notices{{Stub|}}{{Stub Dialogue}}{{Upcoming}}{{Under Construction}}{{Placeholder|}}
Magic Words{{!}}{{formatnum:}}{{lc:}}{{uc:}}{{PAGENAME}}{{FULLPAGENAME}}{{ROOTPAGENAME}}{{BASEPAGENAME}}{{SUBPAGENAME}}{{DISPLAYTITLE:|noreplace}}__TOC____NOTOC____EXPECTUNUSEDCATEGORY____HIDDENCAT__
HTML Entities&mdash;&nbsp;&comma;&shy;