Template:YearboxItem: Difference between revisions

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

Latest revision as of 17:09, 11 February 2024

Expression error: Unrecognized punctuation character "{".