"සැකිල්ල:Editnotice" හි සංශෝධන අතර වෙනස්කම්
Content deleted Content added
No edit summary |
සුළු Reverted 1 edit by අස්ලාන් identified as vandalism to last revision by පසිඳු කාවින්ද. (TW) |
||
1 පේළිය:
{{#ifeq:{{FULLROOTPAGENAME}}|Template:Editnotices
|{{Editnotice/notice
|expiry={{{expiry|¬}}}
}}
}}{{#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 <!-- Notice current -->
|0 <!-- Notice expired -->
}}
}}
}}
|{{fmbox
|type = editnotice
|id = {{{id|}}}
|textstyle = {{{textstyle|}}}
|style = {{{style|}}}
|image = {{#if:{{{image|}}}
|{{image|{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|40x40px}}}}
|none
}}
|imageright= {{#if:{{{imageright|}}}
|{{image|{{{imageright}}}|{{#if:{{{imagerightsize|}}}|{{{imagerightsize}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|40x40px}}}}}}
}}
|text = {{#if:{{{header|}}}
|<dl><dt style="{{{headerstyle|}}}">{{{header}}}</dt></dl>
}}
{{{text|{{{1}}}}}}
}}
}}<noinclude>
{{documentation}}
</noinclude>
|