Template:AllusionsItemTop: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
Line 9: Line 9:
{{#vardefine:About|{{{About|}}}}}
{{#vardefine:About|{{{About|}}}}}
{{#vardefine:Century|{{#expr:{{#sub:{{#expr:{{#var:Date}}-{{#ifeq:{{#rpos:{{#var:Date}}|00}}|2|1|0}} }}|0|2}}+1}}}}
{{#vardefine:Century|{{#expr:{{#sub:{{#expr:{{#var:Date}}-{{#ifeq:{{#rpos:{{#var:Date}}|00}}|2|1|0}} }}|0|2}}+1}}}}
{{#vardefine:TwoLast|{{#sub:{{#var:Date}}|2|2}}}}
{{#vardefine:TwoLast|{{#sub:{{#var:Date}}|2|2}}}}


{{#vardefine:Qcentury|
{{#vardefine:Qcentury|
{{#expr:{{#var:TwoLast}} > 00}}{{#expr:{{#var:TwoLast}} > 00}} and {{#expr:{{#var:TwoLast}} < 26}}}}
{{#expr:{{#var:TwoLast}} > 00}} and {{#expr:{{#var:TwoLast}} < 26}}}}
}}
}}
{{#var:Qcentury}}
{{#var:Qcentury}}

Revision as of 06:20, 6 June 2018