Difference between revisions of "Template:DateUnpack"

From Ephemeral Film Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{Ifndef|{{{opt|{{{2}}}}}}|{{Ifdef|{{{y|{{{1}}}}}}|{{{y|{{{1}}}}}}}}}}{{Ifdef|{{{opt|{{{2}}}}}}|{{#switch: {{{opt|{{{2}}}}}} | a = {{Ifdef|{{{y|{{{1}}}}}}| &nbsp;from {{{y|{{{1}}}}}}}}?| b = {{DateUnpackB|yr={{{y}}}}}| Date Unpack option unknown {{{opt}}}}}}}</includeonly><noinclude>
<includeonly>{{Ifndef|{{{opt|{{{2}}}}}}|{{Ifdef|{{{y|{{{1}}}}}}|{{{y|{{{1}}}}}}}}}}{{Ifdef|{{{opt|{{{2}}}}}}|{{#switch: {{{opt|{{{2}}}}}} | a = {{DateUnpackA|yr={{{y}}}}}| b = {{DateUnpackB|yr={{{y}}}}}| Date Unpack option unknown {{{opt}}}}}}}</includeonly><noinclude>
== Note ==
== Note ==
This template has its doc here, not on a subpage.
This template has its doc here, not on a subpage.

Revision as of 16:52, 6 January 2022

Note

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

Usage

{{DateUnpack|1950|opt=a}}

{{DateUnpack|y=1950|opt=b}}

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