|
|
Line 1: |
Line 1: |
| <noinclude>Just something to test TemplateData in. There's nothing here, really. Parameter types are a recommendation, anyway. | | <includeonly>|}</includeonly><noinclude>Supposed to be a template closer as a test, along with sandboxes 5 and 6 of mine. |
| | |
| | ==Template Data== |
| <templatedata> | | <templatedata> |
| { | | { |
| "description": "Hi! This is a test. If you're seeing this outside of the TemplateData table, then you're using something incorrectly!", | | "description": "Hi! This is a test. If you're seeing this outside of the TemplateData table, then you're using something incorrectly!", |
| | "format": "\n{{_|_=_}}", |
| "params": { | | "params": { |
| "unknown": { | | |
| "label": "unknown param type",
| |
| "description": "Uh, yes.",
| |
| "type": "unknown"
| |
| },
| |
| "string": {
| |
| "label": "Plain string param",
| |
| "description": "Sure!",
| |
| "type": "string"
| |
| },
| |
| "line": {
| |
| "label": "Single line param",
| |
| "description": "Obviously.",
| |
| "type": "line",
| |
| "suggestedvalues": [
| |
| "Never gonna give you up",
| |
| "Never gonna let you down",
| |
| "Never gonna run around",
| |
| "And desert you"
| |
| ]
| |
| },
| |
| "content": {
| |
| "label": "Wikitext param",
| |
| "description": "Woah!",
| |
| "type": "content"
| |
| },
| |
| "unbalanced-wikitext": {
| |
| "label": "Unbalanced wikitext param",
| |
| "description": "For all your unclosed <div> tags!",
| |
| "type": "unbalanced-wikitext"
| |
| },
| |
| "wiki-page-name": {
| |
| "label": "Wiki page name param",
| |
| "description": "Probably self-explanatory.",
| |
| "type": "wiki-page-name"
| |
| },
| |
| "wiki-file-name": {
| |
| "label": "File name param",
| |
| "description": "Yep.",
| |
| "type": "wiki-file-name"
| |
| },
| |
| "wiki-template-name": {
| |
| "label": "Template name param",
| |
| "description": "Mmhm.",
| |
| "type": "wiki-template-name"
| |
| },
| |
| "wiki-user-name": {
| |
| "label": "Wiki username param",
| |
| "description": "Woohoo!",
| |
| "type": "wiki-user-name"
| |
| },
| |
| "number": {
| |
| "label": "Numerical param",
| |
| "description": "Uhhhh, beep boop 1 2 3?",
| |
| "type": "number"
| |
| },
| |
| "boolean": {
| |
| "label": "Boolean param",
| |
| "description": "But does it add a checkbox?",
| |
| "type": "boolean",
| |
| "autovalue": "0"
| |
| },
| |
| "date": {
| |
| "label": "Date param",
| |
| "description": "Huh. How does it work with our Stardates?",
| |
| "type": "date"
| |
| },
| |
| "url": {
| |
| "label": "URL param",
| |
| "description": "Sim URLs! They might just go here!",
| |
| "type": "url"
| |
| }
| |
| } | | } |
| } | | } |
| </templatedata> | | </templatedata>[[Category:Adingo]]</noinclude> |
| [[Category:Adingo]]</noinclude> | |