Jump to content

Template:Editnotice: Difference between revisions

From WikipediNyah
Created page with "{{#ifeq:{{FULLROOTPAGENAME}}|Template:Editnotices |{{Editnotice/notice |expiry={{{expiry|¬}}} |redirect={{{redirect|}}} }} }}{{#ifexpr:{{#ifeq:{{FULLROOTPAGENAME}}|Template:Editnotices |1 |0 }}+{{#switch:{{{expiry|¬}}} |indefinite = 1 | |¬ = 1 <!-- Expiry not specified --> |#default = {{#iferror:{{#time:U|{{{expiry}}}}} |0 <!-- Invalid expiry time --> |{{#ifexpr:{{#time:U|{{{expiry}}}}}-{{#time:U|{{CURRENTTIMESTAMP}}}}>0 |1 <!--..."
 
No edit summary
 
Line 20: Line 20:
  }}
  }}
  |{{fmbox
  |{{fmbox
  |plainlinks= no<!-- override with `class` if needed -->
   |type      = {{{type|editnotice}}}
   |type      = {{{type|editnotice}}}
   |id        = {{{id|}}}
   |id        = {{{id|}}}
  |templatestyles = {{{templatestyles|}}}
   |textstyle = {{{textstyle|}}}
   |textstyle = {{{textstyle|}}}
   |style    = {{{style|}}}
   |style    = {{{style|}}}
Line 33: Line 35:
   }}
   }}
   |text      = {{#if:{{{header|}}}
   |text      = {{#if:{{{header|}}}
   |<div style="font-weight: bold; {{{headerstyle|}}}">{{{header}}}</div>
   |<div class="editnotice-header" style="font-weight: bold; {{{headerstyle|}}}">{{{header}}}</div>
   }}
   }}
{{{text|{{{1}}}}}}
{{{text|{{{1}}}}}}

Latest revision as of 17:57, 3 July 2025