Template:YearboxItem: Difference between revisions

Template page
(Created page with "{{#ifexpr: {{{year}}} + {{{diff}}} >= -3000 or {{{year}}} + {{{diff}}} <= 7000}} | <span class="yearbox-item"> {{#expr: {{{year}}} + {{{diff}}}}} </span> |}}")
 
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifexpr: {{{year}}} + {{{diff}}} >= -3000 or {{{year}}} + {{{diff}}} <= 7000}} |
{{#ifexpr: ({{{year}}} + {{{diff}}}) >= -3000 and ({{{year}}} + {{{diff}}}) <= 7000 |
    <span class="yearbox-item">
<span class="yearbox-item {{#ifexpr: {{{diff}}} = 0|main-item|}}">[[Year:Y{{#expr: {{{year}}} + {{{diff}}} + 3000}}|Y{{#expr: {{{year}}} + {{{diff}}} + 3000}}]]</span>
        {{#expr: {{{year}}} + {{{diff}}}}}
    </span>
|}}
|}}

Latest revision as of 17:09, 11 February 2024

Expression error: Unrecognized punctuation character "{".