Difference between revisions of "Template:DateUnpack"

From Ephemeral Film Wiki
Jump to navigation Jump to search
Line 18: Line 18:
"1": {
"1": {
"aliases": [
"aliases": [
"year"
"y"
],
],
"example": "1964",
"example": "1964",
"type": "date"
"type": "date",
"label": "Four Digit Year",
"required": true
},
},
"opt": {
"2": {
"aliases": [
"aliases": [
"2"
"opt"
],
],
"label": "Option",
"description": "a or b, determines how the template formats the data  \\r\\n                              a) \" from 1960\"      b)\";Date Released:1960\"",
"description": "a or b, determines how the template formats the data  \\r\\n                              a) \" from 1960\"      b)\";Date Released:1960\"",
"example": "|opt=a",
"example": "|opt=a",
"type": "string",
"type": "string",
"suggested": true
"required": true
}
}
},
},
"description": "unpack the year of release"
"description": "unpack the year of release",
"paramOrder": [
"1",
"2"
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 15:17, 7 December 2021

Note

This template has its doc here, not on a subpage.

Usage

{{DateUnpack|1950|opt=a}}

See Also

unpack the year of release

Template parameters

ParameterDescriptionTypeStatus
Four Digit Year1 y

no description

Example
1964
Daterequired
Option2 opt

a or b, determines how the template formats the data \r\n a) " from 1960" b)";Date Released:1960"

Example
|opt=a
Stringrequired