Ref:RefHeader: Difference between revisions

From Oddworld Library
(Added conditionals for parsing missing date and datetime parameters; formatting for whitespace preservation)
(Added circa boolean to reduce use of manual formatting in references)
Line 1: Line 1:
   {{#ifeq: {{{bold|true}}} | false | | <b> }}{{{author}}}{{#if: date | <nowiki> </nowiki>({{#if: datetime | <time datetime="{{{datetime}}}"
   {{#ifeq: {{{bold|true}}} | false | | <b> }}{{{author}}}{{#if: date | <nowiki> </nowiki>({{#if: circa | <abbr title="circa">c.</abbr> }}{{#if: datetime | <time datetime="{{{datetime}}}"
       >}}{{{date}}}{{#if: datetime | </time>}})}}{{#ifeq: {{{bold|true}}} | false | | </b>}}.
       >}}{{{date}}}{{#if: datetime | </time>}})}}{{#ifeq: {{{bold|true}}} | false | | </b>}}.

Revision as of 17:24, 19 January 2025

 {{{author}}} (c.).