Template:Editnotice: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>MSGJ
(reapply edit, this time with line break before the text which is apparently required in some cases)
m (45 revisions imported)
 
(27 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{fmbox
{{#ifeq:{{FULLROOTPAGENAME}}|Template:Editnotices
|type      = editnotice
  |{{Editnotice/notice
|id        = {{{id|}}}
  |expiry={{{expiry|¬}}}
  |textstyle = {{{textstyle|}}}
  |redirect={{{redirect|}}}
|style    = {{{style|}}}
|image    = {{#if:{{{image|}}}
  |{{image|{{{image}}}|40x40px}}
  |none
  }}
  }}
  |text      = {{#if:{{{header|}}}
}}{{#ifexpr:{{#ifeq:{{FULLROOTPAGENAME}}|Template:Editnotices
   |<dl><dt style="{{{headerstyle|}}}">{{{header}}}</dt></dl>
  |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 <!-- Notice current -->
    |0 <!-- Notice expired -->
  }}
  }}
  }}
  }}
|{{fmbox
  |type      = {{{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|}}}
  |{{#invoke:InfoboxImage|InfoboxImage|image={{{imageright}}}|size={{{imagerightsize|}}}|sizedefault=40x40px}}
  }}
  |text      = {{#if:{{{header|}}}
  |<div style="font-weight: bold; {{{headerstyle|}}}">{{{header}}}</div>
  }}
{{{text|{{{1}}}}}}
{{{text|{{{1}}}}}}
}}
}}{{#ifeq:{{FULLROOTPAGENAME}}|Template:Editnotices|{{#switch:{{{expiry|¬}}}
  |indefinite
  |
  |¬          = <!-- Expiry not specified -->
  |#default  = {{#iferror:{{#time:U|{{{expiry}}}}}
  | <!-- Invalid expiry time -->
  |{{#ifexpr:{{#time:U|{{{expiry}}}}}-{{#time:U|{{CURRENTTIMESTAMP}}}}>0
    | <!-- Notice current -->
    |[[Category:Expired editnotices]] <!-- Notice expired -->
  }}
  }}
}}
}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 04:33, 3 September 2020

Page Module:Message box/fmbox.css has no content.