Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling embedded start date/end date templates in infoboxes? #519

Closed
tmtmtmtm opened this issue Mar 12, 2023 · 2 comments
Closed

Handling embedded start date/end date templates in infoboxes? #519

tmtmtmtm opened this issue Mar 12, 2023 · 2 comments

Comments

@tmtmtmtm
Copy link

A common pattern in Infobox Officeholder is to have a level of indirection in dates, such as

|term_start   = {{start date|2022|May|6}}
|term_end     = {{end date|2023|January|11}}

(this one is from https://en.wikipedia.org/wiki/Eric_Mattson)

Currently the full dates end up in the templates section, but the infobox only gets the year:

          "term_start": {
            "text": "2022",
            "number": 2022
          },
          "term_end": {
            "text": "2023",
            "number": 2023
          },

It would be good if the full dates could appear here. Or perhaps there's some way to join these up similar to the approach in #516?

@spencermountain
Copy link
Owner

good catch. got a fix for this on dev branch

@spencermountain spencermountain mentioned this issue Mar 12, 2023
Merged
@spencermountain
Copy link
Owner

released in 10.1.3
cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants