|
|
Line 1: |
Line 1: |
| ==Description==
| | 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>
| |