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

From 118Wiki
Jump to navigation Jump to search
(Undo revision 316842 by Noa T'Nessa Levinson (talk))
Tag: Undo
(Testing templateData)
Line 1: Line 1:
Everything in a category:
<includeonly>|{{{content|}}}</includeonly><noinclude>Supposed to work with sandboxes 5 and 7 for testing structure. Displays the content/wikitext parameter if given.
<categorytree mode="all">Adingo</categorytree>
 
Only subcategories:
==Template Data==
<categorytree mode="categories">Adingo</categorytree>
<templatedata>
No images:
{
<categorytree mode="pages">Adingo</categorytree>
    "description": "Hi! This is a test. If you're seeing this outside of the TemplateData table, then you're using something incorrectly!",
Parent categories only or something:
    "format": "\n{{_|_=_}}\n",
<categorytree mode="parents">Noa T'Nessa Levinson</categorytree>
    "params": {
<noinclude>[[Category:Adingo]]</noinclude>
        "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!

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