Difference between revisions of "Template:DateUnpackB/doc"

From Ephemeral Film Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
This template assumes a four digit date starting with 19. If it doesn't get that, it makes a bunch of other assumptions that maybe wrong.
{|
|+ DateUnpackB Assumptions
|-
! Condition !! Result
|-
| len 4 || Assume numbers, no spc handling needed
|-
| len 2 || If yr is 2 long, Assume numbers, prepend "19"
|}
* [[Template:Filmjr]]
* [[Template:Filmjr]]
[[Category:JR templates]]
[[Category:JR templates]]

Revision as of 15:09, 7 December 2021

- - -

There is a documentation subpage housing the metadata about parent template: DateUnpackB.


This template assumes a four digit date starting with 19. If it doesn't get that, it makes a bunch of other assumptions that maybe wrong.

DateUnpackB Assumptions
Condition Result
len 4 Assume numbers, no spc handling needed
len 2 If yr is 2 long, Assume numbers, prepend "19"

add a link to year cat and shows a label, routed from DateUnpack with opt=b

Template parameters

ParameterDescriptionTypeStatus
Yearyr 1

4 digit year

Example
1955
Daterequired