×
Create a new article
Write your page title here:
We currently have 2,853 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
2,853Articles

Template:Theki/map/doc: Difference between revisions

(Created page with "==Description== Personal template ==Parameters== <templatedata>{ "params": { "img": { "label": "Image", "type": "wiki-file-name", "suggested": true }, "bgm": { "label": "Background music", "type": "wiki-file-name" }, "name": { "label": "Map name", "type": "string", "required": true } }, "paramOrder": [ "img", "bgm", "name" ], "format": "inline" }</templatedata> <!--The following is a template with all options listed: },...")
 
(use delete template)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
==Description==
{{delete|Made a mistake. If you can delete this please do.}}
Personal template
 
==Parameters==
<templatedata>{
"params": {
"img": {
"label": "Image",
"type": "wiki-file-name",
"suggested": true
},
"bgm": {
"label": "Background music",
"type": "wiki-file-name"
},
"name": {
"label": "Map name",
"type": "string",
"required": true
}
},
"paramOrder": [
"img",
"bgm",
"name"
],
"format": "inline"
}</templatedata>
<!--The following is a template with all options listed:
},
"parameter": {
"label": "Fancy_Name",
"aliases": ["Other_Name1","Other_Name2"],
"type": "Choose one of: number, string, line(no line breaks), content(formatted wikitext), boolean, url(https://example.com), date, wiki-page-name, wiki-file-name, wiki-user-name, wiki-template-name.",
"description": "Explanation",
"example": "Example_Input",
"default": "Default_If_Static",
"autovalue": "Default_If_Magic_Word",
"suggestedvalues": ["Value1","Value2"],
"required": true,
"suggested": true,
"deprecated": "What_To_Use_Instead",
"inherits": "put another parameter name here to copy its properties (gets overwritten by new ones)",
IMPORTANT, the text < }, > must be removed from the very first parameter you list. Also, the last option you have for every parameter must not end with a comma (so for example if <"default"> was the last one you need to do <"default": "Default_If_Static"> - notice the lack of a comma)-->
 
<noinclude>__NOTOC__ [[Category:Template Documentation]]</noinclude>
<includeonly>__NOEDITSECTION__</includeonly>

Latest revision as of 05:11, 10 May 2024