-
Hi all! I'd like to organise my (small) library a bit better and intended to add the running years for each series but as I have many Graphic Novels and mini-series, I would like to have three different date formats:
Is this possible? I currently have this: but I cannot figure out how to have the trailing dash insererted depending on the completeness status. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Edit: This is wrong is is your magic line: Pseudo Code: if startYear != EndYear:
prefix = "(" + startYear
if seriesComplete:
suffix = "-"
else:
suffix = "-" + EndYear
suffix = suffix + ")" So your complete code is: |
Beta Was this translation helpful? Give feedback.
Something like this will give you (StartYear-):{<language>}\{ <seriesgroup>}\{<series>}{ - V<volume0>} { ({<startyear>}<!startyear({<EndYear>})>-{<EndYear>})}{ ({<startyear>}<?startyear({<EndYear>})>{<seriesComplete(- )(!)>)}}
I just used the UI to insert this into you already done rule. You need to have something in the text field (in this case "- "), but you can't have a parenthesis, that you need to put it in the suffix.Edit: This is wrong is is your magic line:
{({<startyear>}<!startyear({<EndYear>})>{<seriesComplete(-)(!)>}{<seriesComplete({-<EndYear>})>})}
Pseudo Code: