Difference between revisions of "Template:DateUnpackA/doc"
Jump to navigation
Jump to search
(→Note) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
< | |||
== Note == | |||
previously | |||
<nowiki>{{Ifdef|{{{yr|{{{1}}}}}}| from {{{yr|{{{1}}}}}}}}</nowiki> | |||
now | |||
<pre class="jjrPre"><nowiki>{{#if: {{{yr|{{{1}}}}}} | from {{{yr|{{{1}}}}}} | }}</nowiki></pre> | |||
[[Category:JR templates]] | |||
== See Also == | == See Also == | ||
* [[Template:DateUnpack]] | * [[Template:DateUnpack]] | ||
* [[Template:DateUnpackB]] | * [[Template:DateUnpackB]] | ||
==Template Data == | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
" | "yr": { | ||
"label": "Year", | "label": "Year", | ||
"description": "is required", | "description": "is required", | ||
"example": "1966", | "example": "1966", | ||
" | "type": "date", | ||
" | "required": true | ||
} | } | ||
} | }, | ||
"description": "option a for dateUnpack template", | |||
"paramOrder": [ | |||
"yr" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> |
Latest revision as of 18:13, 2 March 2022
- - -
There is a documentation subpage housing the metadata about parent template: DateUnpackA.
Note
previously {{Ifdef|{{{yr|{{{1}}}}}}| from {{{yr|{{{1}}}}}}}}
now
{{#if: {{{yr|{{{1}}}}}} | from {{{yr|{{{1}}}}}} | }}
See Also
Template Data
option a for dateUnpack template
Parameter | Description | Type | Status | |
---|---|---|---|---|
Year | yr | is required
| Date | required |