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

From Yugipedia
Jump to: navigation, search
(Changed the image)
(let's see where this gets us)
Line 1: Line 1:
{{
+
{{ombox
  #if: {{{index|}}}{{{sticky|}}} <!-- no necro check on forum index pages or sticky threads -->
+
| image = [[File:Ambox octogon stop.svg|40px]]
  || {{ <!-- stop necrobumping on threads unedited for 40+ days (but skip the check for demo uses) -->
+
| type  = speedy
    #ifexpr: {{ #if: {{{demo<includeonly>|</includeonly>}}} | 1 > 0 | {{ #time: U }} - {{ #time: U | {{REVISIONTIMESTAMP}} }} > 3456000 }}
+
| 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.
    | {{ombox
+
}}{{
      | image = [[File:Ambox octogon stop.svg|40px]]
+
  #if: {{{demo<includeonly>|</includeonly>}}}
      | type  = speedy
+
  || <div id="archived-edit-link"></div>__NOEDITSECTION__ __NONEWSECTIONLINK__<!-- would there be any value in categorizing archived 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.
 
    }}{{
 
      #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 08:01, 8 August 2011