"සැකිල්ල:Pp-vandalism" හි සංශෝධන අතර වෙනස්කම්

Content deleted Content added
No edit summary
Singhalawap මගින් සිදුකල 89198 සංශෝධනය අහෝසි කරන්න (සාකච්ඡා)
1 පේළිය:
<noinclude>{{pp-template|small=yes}}
</noinclude><includeonly>{{pp-meta
|type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
|smalltext={{#ifeq:{{{small|no}}}|yes|<imagemap>
|semi
Image:Padlock.svg|20px
|autoconfirmed=semi
default [[Wikipedia:Protection policy|This page has been temporarily protected from editing to deal with vandalism]]
|administrator
desc none
|full
</imagemap>|}}
|sysop=full
|#default=full<!--fallback value-->}}
|small={{{small|}}}
|demospace={{{demospace|}}}
|image=[[Image:Padlock.svg|45px| ]]
|demolevel={{{demolevel|undefined}}}
|text='''This {{#switch:{{NAMESPACE}}|{{ns:0}}=article|{{ns:image}}=image|#default=page}} is currently [[Wikipedia:This page is protected|protected]] from editing {{#if:{{{expiry|}}}|until {{#time:[[F j]], [[Y]]|{{{expiry}}}}} <small>(UTC)</small>}} to [[Wikipedia:Vandalism|deal with vandalism]].''' Protection is [[Wikipedia:Protection policy|not an endorsement]] of the current <span class="plainlinks">[{{fullurl:{{FULLPAGENAMEE}}|action=history}} version]</span> <span class="plainlinks">([{{fullurl:Special:Log|type=protect&page={{FULLPAGENAMEE}}}} protection log])</span>. {{howtoedit|lbreak=}}
|expiry={{{expiry|}}}
|categories={{{categories|[[Category:Protected against vandalism|{{PAGENAME}}]]{{#ifexpr:{{#if:{{{expiry|}}}|{{#ifexpr:{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Wikipedia protectedProtected pages with expiry expired|{{PAGENAME}}]]}}|[[Category:Wikipedia protected pages without expiry|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>{{pp-template|small=yes}}
|dispute={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}<!--having this switch may be unnecessary, but as it was "yes" here and "no" on pp-semi-vandalism, the template is changed less this way.-->
|semi
|autoconfirmed=no
|administrator
|full
|sysop=yes<!--to enable disclaimer against version endorsement-->
|#default=yes<!--fallback value-->}}
|reason=&#32;due to [[Wikipedia:Vandalism|vandalism]]<!--was "to deal with vandalism" before, pp-semi-vandalism used "due to vandalism", so it's been changed to "to prevent vandalism", which is probably more descriptive. This is, naturally, open to discussion and editing.-->
|icon-reason=due to vandalism
|categories={{{categories|
{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
|semi
|autoconfirmed={{#switch: {{{demospace|{{NAMESPACE}}}}}
| {{ns:2}}
| {{ns:3}} = [[Category:Wikipedia semi-protected user and user talk pages|{{PAGENAME}}]]
| {{ns:6}} = [[Category:Semi-protected images|{{PAGENAME}}]]
| {{ns:4}}
| {{ns:12}} = [[Category:Semi-protected project pages|{{PAGENAME}}]]
| {{ns:100}} = [[Category:Semi-protected portals|{{PAGENAME}}]]
| {{ns:10}} = [[Category:Wikipedia semi-protected templates|{{PAGENAME}}]]
| #default = {{talk other|[[Category:Semi-protected talk pages]]|[[Category:Wikipedia pages semi-protected against vandalism|{{PAGENAME}}]]}}}}
|administrator
|full
|sysop={{#switch: {{{demospace|{{NAMESPACE}}}}}
| {{ns:2}}
| {{ns:3}} = [[Category:Wikipedia protected user and user talk pages|{{PAGENAME}}]]
| {{ns:6}} = [[Category:Protected images]]
| {{ns:4}}
| {{ns:12}} = [[Category:Protected project pages|{{PAGENAME}}]]
| {{ns:10}} = [[Category:Wikipedia protected templates|{{PAGENAME}}]]
| #default = {{talk other|[[Category:Protected talk pages]]|[[Category:Wikipedia pages protected against vandalism|{{PAGENAME}}]]}}}}}}
{{#if:{{{expiry|}}}|{{#ifexpr:{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|[[Category:Wikipedia protected pages with expiry expired|{{PAGENAME}}]]}}|[[Category:Wikipedia protected pages without expiry|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>{{pp-template|small=yes}}
{{pp-vandalism|demospace=main|categories=no}}
 
{{Documentation}}
----
* Use {{tlx|{{lc:{{PAGENAME}}}}}} for the normal template
* Use {{tlx|{{lc:{{PAGENAME}}}}|expiry&#61;{{#time:F j, Y|+1 month}}}} for a specific expiration date
* Use {{tlx|{{lc:{{PAGENAME}}}}|small&#61;yes}} for just an icon at the top
* Use {{tlx|{{lc:{{PAGENAME}}}}|expiry&#61;<nowiki>{{subst:#time:F j, Y|+7 days}}</nowiki>}} for a specific expiration time period
 
Note that ''(UTC)'' will be added automatically.
 
This template is not to be used as a bluff. '''''Only use it on FULLY PROTECTED pages.''''' Please note that only [[Wikipedia:Administrators|administrators]] can protect pages.
 
{{protection templates}}
{{in category|Protected against vandalism|Protected pages with expiry expired}}
| {{ns:6}} = [[Category:Semi-protectedProtection imagestemplates|{{PAGENAME}}]]
</noinclude>
"https://si.wikipedia.org/wiki/සැකිල්ල:Pp-vandalism" වෙතින් සම්ප්‍රවේශනය කෙරිණි