Difference between revisions of "Template:Forum/header/archived notice"

From Yugipedia
Jump to: navigation, search
(try with an unnamed parameter instead)
m (Protected "Template:Forum/header/archived notice": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
| image = [[File:Ambox octogon stop.svg|40px]]
 
| image = [[File:Ambox octogon stop.svg|40px]]
 
| type  = speedy
 
| type  = speedy
| text  = This forum thread has been unedited for '''<!--
+
| text  = This forum thread has been {{ #iferror: {{ #time: U | {{ #if: {{{1<includeonly>|</includeonly>}}} | {{{1<noinclude>|{{REVISIONTIMESTAMP}}</noinclude>}}} | archived-without-date }} }} || unedited for '''<!--
  
 
-->{{  
 
-->{{  
 
   #if: {{{days|}}}
 
   #if: {{{days|}}}
 
   | {{{days}}}
 
   | {{{days}}}
   | {{ #expr: ( {{ #time: U }} - {{ #if: {{{1|}}} | {{{1}}} | {{ #time: U | {{REVISIONTIMESTAMP}} }} }} ) / 86400 round 0 }}  
+
   | {{ #expr: ( {{ #time: U }} - {{ #time: U | {{ #if: {{{1|}}} | {{{1}}} | {{REVISIONTIMESTAMP}} }} }} ) / 86400 round 0 }}  
 
   }}<!--
 
   }}<!--
  
--> days''' and is considered archived. Please don't add to the discussion, unless absolutely necessary.
+
--> days''' and is considered }} archived. {{ #ifeq: {{PROTECTIONLEVEL:edit}} | sysop || Please don't add to the discussion, unless absolutely necessary. }}
 
}}{{
 
}}{{
 
   #if: {{{demo<includeonly>|</includeonly>}}}
 
   #if: {{{demo<includeonly>|</includeonly>}}}
   || <div id="archived-edit-link"></div>__NOEDITSECTION__ __NONEWSECTIONLINK__<!-- would there be any value in categorizing archived threads? -->
+
   || <div id="archived-edit-link"></div>__NOEDITSECTION__ __NONEWSECTIONLINK__[[Category:Archived threads]]
 
}}<noinclude>
 
}}<noinclude>
[[Category:Message box templates|{{PAGENAME}}]]
+
[[Category:Message box templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 08:03, 4 June 2019