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

From Yugipedia
Jump to: navigation, search
(sortkey)
(move the whole check here)
Line 1: Line 1:
{{ombox
+
{{
| type = speedy
+
  #if: {{{index|}}}{{{sticky|}}} <!-- no necro check on forum index pages or sticky threads -->
| text = This forum thread has been unedited for '''{{ #if: {{{days|}}} | {{{days}}} | {{ #expr: ( {{ #time: U }} - {{ #time: U | {{REVISIONTIMESTAMP}} }} ) / 86400 round 0 }} }} days''' and is considered archived. Please don't add to the discussion, unless absolutely necessary.
+
  || {{ <!-- stop necrobumping on threads unedited for 40+ days (but skip the check for demo uses) -->
 +
    #ifexpr: {{ #if: {{{demo<includeonly>|</includeonly>}}} | 1 > 0 | {{ #time: U }} - {{ #time: U | {{REVISIONTIMESTAMP}} }} > 3456000 }}
 +
    | {{ombox
 +
      | type = speedy
 +
      | text = This forum thread has been unedited for '''{{ #if: {{{days|}}} | {{{days}}} | {{ #expr: ( {{ #time: U }} - {{ #time: U | {{REVISIONTIMESTAMP}} }} ) / 86400 round 0 }} }} days''' and is considered archived. Please don't add to the discussion, unless absolutely necessary.
 +
    }}{{
 +
      #if: {{{demo<includeonly>|</includeonly>}}}
 +
      || <div id="archived-edit-link"></div>__NOEDITSECTION__ __NONEWSECTIONLINK__<!-- would there be any value in categorizing archived threads? -->
 +
    }}
 +
    | {{
 +
      #if: {{{index|}}}{{{demo<includeonly>|</includeonly>}}}
 +
      || __NEWSECTIONLINK__<!-- new section link for non-ancient threads, but not for index pages or demo uses -->
 +
    }}
 +
  }}
 
}}<noinclude>
 
}}<noinclude>
 
+
[[Category:Message box templates|{{PAGENAME}}]]
[[Category:Message box templates|{{PAGENAME}}]]</noinclude>
+
</noinclude>

Revision as of 04:18, 1 March 2011