Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Sandbox: Difference between revisions

Template page
(Created page with "test: {{{date}}} <noinclude> <templatedata> { "params": { "date": { "label": "Date", "description": "a date goes here", "type": "date", "required": true } } } </templatedata> </noinclude>")
 
No edit summary
Line 1: Line 1:
test: {{{date}}}
test: {{{date}}} ({{{year}}} {{{month}}} {{{day}}})
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 9: Line 9:
"type": "date",
"type": "date",
"required": true
"required": true
}
},
}
        "year": {
            "label": "Year",
            "type": "number"
        },
        "month": {
            "label": "Month",
            "inherits": "year"
        },
        "day": {
            "label": "Day",
            "inherits": "year"
        }
},
    "sets": [
        {
            "label": "Date",
            "params": ["year", "month", "day"]
        }
    ]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 01:40, 22 July 2023

test: {{{date}}} ({{{year}}} {{{month}}} {{{day}}})

No description.

Template parameters

ParameterDescriptionTypeStatus
Datedate

a date goes here

Daterequired
Yearyear

no description

Numberoptional
Monthmonth

no description

Numberoptional
Dayday

no description

Numberoptional