User:Noa T'Nessa Levinson/Sandbox5: Difference between revisions
Jump to navigation
Jump to search
(Blanking.) Tag: Replaced |
(More TemplateData testing, separate this time - formatting? Might be handy for specific templates.) |
||
Line 1: | Line 1: | ||
[[Category:Adingo]]</noinclude> | <noinclude><templatedata> | ||
{ | |||
"description": "Hi! This is a test. If you're seeing this outside of the TemplateData table, then you're using something incorrectly!", | |||
"format": "\n{{_|_=_}}\n", | |||
"params": { | |||
"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" | |||
} | |||
} | |||
} | |||
</templatedata>[[Category:Adingo]]</noinclude> |
Revision as of 12:11, 4 February 2023
Hi! This is a test. If you're seeing this outside of the TemplateData table, then you're using something incorrectly!
Parameter | Description | Type | Status | |
---|---|---|---|---|
Wikitext param | content | Woah! | Content | optional |
Unbalanced wikitext param | unbalanced-wikitext | For all your unclosed <div> tags! | Unbalanced wikitext | optional |
Wiki page name param | wiki-page-name | Probably self-explanatory. | Page name | optional |
File name param | wiki-file-name | Yep. | File | optional |
Template name param | wiki-template-name | Mmhm. | Template | optional |
Wiki username param | wiki-user-name | Woohoo! | User | optional |
Numerical param | number | Uhhhh, beep boop 1 2 3? | Number | optional |
Boolean param | boolean | But does it add a checkbox?
| Boolean | optional |