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

From 118Wiki
Jump to navigation Jump to search
(Testing templateData)
(No safesubst?)
 
(11 intermediate revisions by the same user not shown)
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.
{{User:Noa T'Nessa Levinson/Sandbox5|NO INCLUDE=One transclusion|INCLUDE ONLY=Two transclusions}}<noinclude>[[Category:Adingo]]</noinclude>
 
==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>

Latest revision as of 15:13, 19 September 2023

Two transclusions