User:Noa T'Nessa Levinson/Sandbox5: Difference between revisions

From 118Wiki
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!

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Wikitext paramcontent

Woah!

Contentoptional
Unbalanced wikitext paramunbalanced-wikitext

For all your unclosed <div> tags!

Unbalanced wikitextoptional
Wiki page name paramwiki-page-name

Probably self-explanatory.

Page nameoptional
File name paramwiki-file-name

Yep.

Fileoptional
Template name paramwiki-template-name

Mmhm.

Templateoptional
Wiki username paramwiki-user-name

Woohoo!

Useroptional
Numerical paramnumber

Uhhhh, beep boop 1 2 3?

Numberoptional
Boolean paramboolean

But does it add a checkbox?

Auto value
0
Booleanoptional