Difference between revisions of "Template:Editnotices/Group/Template:POTD protected"

From blackwiki
Jump to navigation Jump to search
imported>Ravenpuff
(trim)
imported>Ravenpuff
(use {{#iferror}} to resolve)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}||<includeonly>{{#ifexpr:{{#time:U}}-{{#time:U|{{SUBPAGENAME}}}}<86400|</includeonly>
+
{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}||<includeonly>{{#iferror:{{#ifexpr:{{#time:U}}-{{#time:U|{{#titleparts:{{FULLPAGENAME}}|1|2}}}}<86400|</includeonly>
 
{{editnotice
 
{{editnotice
 
| header = Notice to administrators editing this page
 
| header = Notice to administrators editing this page
 
| headerstyle = text-align:center; font-size:150%;
 
| headerstyle = text-align:center; font-size:150%;
| text = You are currently editing the "protected version" of a POTD template, which is only used on the Main Page and is not permanently kept; there is a separate "regular version" that is used for other purposes. Therefore, <strong>please make sure that any changes you make to this page are replicated at [[Template:POTD/<includeonly>{{SUBPAGENAME}}</includeonly><noinclude>{{#time:Y-m-d}}</noinclude>|the regular version]]</strong>. This will ensure that all appearances of this POTD across Wikipedia are synchronized, and any corrections or improvements are accurately retained in [[Wikipedia:Picture of the day/Archive|the archives]]. Further information can be found at the [[Wikipedia:Picture of the day/Guidelines|POTD guidelines]].
+
| text = You are currently editing the "protected version" of a current or upcoming POTD, which is only used on the Main Page and not permanently kept; there is a separate "regular version" that is used for other purposes. Therefore, <strong>please make sure that any changes you make to the content of this page are replicated at [[Template:POTD/<includeonly>{{#titleparts:{{FULLPAGENAME}}||2}}</includeonly><noinclude>{{#time:Y-m-d}}</noinclude>|the corresponding regular version]]</strong>. This will ensure that the POTD's appearance remains consistent across Wikipedia, and any corrections or improvements are accurately retained in [[Wikipedia:Picture of the day/Archive|the archives]]. Further information can be found at the [[Wikipedia:Picture of the day/Guidelines|POTD guidelines]].
 +
<includeonly>{{#ifeq:{{#titleparts:{{FULLPAGENAME}}||2}}|{{#titleparts:{{FULLPAGENAME}}|1|2}}|{{#ifexist:Template:POTD/{{#titleparts:{{FULLPAGENAME}}|1|2}}/1|
 +
<em>Note: This is a multiple POTD, with pictures and blurbs randomly selected from a particular subpage. Please check whether the change you are making applies to a specific subpage only or to more than one subpage, updating all protected and regular versions as appropriate.</em>
 +
|}}|
 +
<em>Note: This page is part of a multiple POTD, with pictures and blurbs randomly selected from a particular subpage. Please check whether the change you are making applies to this subpage only or to more than one subpage, updating all protected and regular versions as appropriate.</em>
 +
}}</includeonly>
 
| textstyle = font-size:120%;
 
| textstyle = font-size:120%;
 
| image = Ambox important blue.svg
 
| image = Ambox important blue.svg
Line 11: Line 16:
 
| textstyle = text-align:center; font-size:120%;
 
| textstyle = text-align:center; font-size:120%;
 
}}
 
}}
<includeonly>|}}|}}</includeonly>}}
+
<includeonly>|}}|}}|}}</includeonly>}}<noinclude>
 +
[[Category:Wikipedia Picture of the day]]
 +
</noinclude>

Latest revision as of 10:38, 3 October 2020