Template:Editnotice

{{#ifexpr:{{#ifeq:|Template:Editnotices |1 |0 }}+{{#switch:{{{expiry|¬}}} |indefinite = 1 | |¬          = 1   |#default   = {{#iferror: |0   |{{#ifexpr:->0 |1    |0    }}  }} }} |{{fmbox |type     = editnotice |id       = {{{id|}}} |textstyle = {{{textstyle|}}} |style    = {{{style|}}} |class    = {{{class|}}} |image    = {{#if:{{{image|}}} |{{#invoke:InfoboxImage|InfoboxImage|image={{{image}}}|size={{imagesize|}}}|sizedefault=40x40px}} |none }} |imageright= {{#if:{{{imageright|}}} |{{image|{{{imageright}}}|{{#if:{{{imagerightsize|}}}|{{{imagerightsize}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|40x40px}}}}}} }} |text      = {{#if:{{{header|}}} |{{{header}}} }} {{{text|{{{1}}}}}} }} }} {{#ifeq:{{FULLROOTPAGENAME}}|Template:Editnotices|{{#iferror:{{#time:U|{{{expiry}}}}} |   |{{#ifexpr:{{#time:U|{{{expiry}}}}}-{{#time:U|{{CURRENTTIMESTAMP}}}}>0 |    |    }}}}}}