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

From 118Wiki
Jump to navigation Jump to search
m (Spaces?)
m (Trying boolean shenanigans)
Line 57: Line 57:
             "label": "Boolean param",
             "label": "Boolean param",
             "description": "But does it add a checkbox?",
             "description": "But does it add a checkbox?",
             "type": "boolean"
             "type": "boolean",
            "autovalue": "0"
         },
         },
         "date": {
         "date": {

Revision as of 08:18, 4 February 2023

Just something to test TemplateData in. There's nothing here, really. Parameter types are a recommendation, anyway.

Hi! This is a test. If you're seeing this outside of the TemplateData table, then you're using something incorrectly!

Template parameters

ParameterDescriptionTypeStatus
unknown param typeunknown

Uh, yes.

Unknownoptional
Plain string paramstring

Sure!

Stringoptional
Single line paramline

Obviously.

Lineoptional
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
Date paramdate

Huh. How does it work with our Stardates?

Dateoptional
URL paramurl

Sim URLs! They might just go here!

URLoptional