Template:EventRow: Difference between revisions
From FeyworldWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#if:{{{2|}}}|{{#ifeq:{{{2}}}|"odd"|{{!}}- class="tablerow_odd" valign="top"|{{!}}- class="tablerow_even" valign="top"}}|{{!}}"Row Error"}} | {{#if:{{{2|}}}|{{#ifeq:{{{2}}}|"odd"|{{!}}- class="tablerow_odd" valign="top"|{{!}}- class="tablerow_even" valign="top"}}|{{!}}"Row Error"}} | ||
{{!}}align="center"{{!}}{{ICYear| | {{#ifexpr:{{{1}}}< 0|{{#vardefine:icyear|{{#expr:{{{1}}}-750}}}}|{{#ifexpr:{{{1}}}<751|{{#vardefine:icyear|{{#expr:{{{1}}}-751}}|{{#expr:{{{1}}}-750}}}}}}}} | ||
{{!}}align="center"{{!}}{{ICYear|{{#var:icyear}}}} | |||
{{!}}align="center"{{!}}{{AeYear|5995}} | {{!}}align="center"{{!}}{{AeYear|5995}} | ||
{{!}}align="center"{{!}}{{NCYear|{{{1}}}}} | {{!}}align="center"{{!}}{{NCYear|{{{1}}}}} | ||
{{!}}{{{3}}} | {{!}}{{{3}}} | ||
Revision as of 11:15, 17 June 2026
Use the following to cut and paste to an entry for an event row in a timeline
{{EventRow|<positive or negative year NC>|<odd or even row>|<event text>}}