User:Noa T'Nessa Levinson/Sandbox6: Difference between revisions
Jump to navigation
Jump to search
(Undo revision 316842 by Noa T'Nessa Levinson (talk)) Tag: Undo |
(Testing templateData) |
||
Line 1: | Line 1: | ||
<includeonly>|{{{content|}}}</includeonly><noinclude>Supposed to work with sandboxes 5 and 7 for testing structure. Displays the content/wikitext parameter if given. | |||
< | |||
==Template Data== | |||
<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 21:44, 6 February 2023
Supposed to work with sandboxes 5 and 7 for testing structure. Displays the content/wikitext parameter if given.
Template Data
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 |