Template:Abbreviated hahr/doc: Difference between revisions

From Guild of Archivists
(Create documentation page for 'Abbreviated hahr' template using TemplateData.)
 
(Update documentation to reflect change of behaviour.)
 
Line 17: Line 17:
"type": "string",
"type": "string",
"suggestedvalues": ["yes", "no"],
"suggestedvalues": ["yes", "no"],
"autovalue": "yes"
"autovalue": "no"
}
}
},
},

Latest revision as of 01:37, 2 December 2024

Converts the abbreviated hahr format used in journals to a complete hahr value. The full hahr value is calculated by treating the abbreviated hahr as an offset from the hahr 9375, i.e. the beginning of the most recent hahrtee fahrah.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Hahr (Abbreviated)1 ordinal

The abbreviated hahr to be extended to a full hahr.

Numberrequired
Suffixsuffix

When set to 'yes', includes " DE" as a suffix. When set to 'no', omits the " DE" suffix.

Suggested values
yes no
Auto value
no
Stringoptional