Difference between revisions of "Template:Forum/header"

From Yugipedia
Jump to: navigation, search
m (Small bit of emphasis.)
(Stopping sticky threads becoming archived.)
Line 2: Line 2:
 
| style = height: 3.5em; width: 100%; margin: 0;
 
| style = height: 3.5em; width: 100%; margin: 0;
 
| image = '''Forums:'''
 
| image = '''Forums:'''
| imageright = {{ #ifexpr: {{ #time: U }} - {{ #time: U | {{REVISIONTIMESTAMP}} }} > 3456000
+
| imageright = {{#if:{{{sticky|}}}|{{ #ifexpr: {{ #time: U }} - {{ #time: U | {{REVISIONTIMESTAMP}} }} > 3456000
 
     | <!-- no post button in old threads -->
 
     | <!-- no post button in old threads -->
 
     | <span class="{{ #if: {{{index|}}} | hide }}" style="white-space: nowrap;">[{{fullurl:{{FULLPAGENAMEE}}|action=edit&section=new}} http://images.wikia.com/anime/en/images/4/4e/Forum_new.gif] [{{fullurl:{{FULLPAGENAMEE}}|action=edit&section=new}} Post]</span>
 
     | <span class="{{ #if: {{{index|}}} | hide }}" style="white-space: nowrap;">[{{fullurl:{{FULLPAGENAMEE}}|action=edit&section=new}} http://images.wikia.com/anime/en/images/4/4e/Forum_new.gif] [{{fullurl:{{FULLPAGENAMEE}}|action=edit&section=new}} Post]</span>
 +
    }}
 
   }}
 
   }}
 
| text  = [[Forum:Index|Index]] '''''→''''' {{
 
| text  = [[Forum:Index|Index]] '''''→''''' {{
Line 44: Line 45:
 
     }}</div><!-- page is not in the Forum: namespace -->
 
     }}</div><!-- page is not in the Forum: namespace -->
 
   }}{{
 
   }}{{
     #if: {{{index|}}} <!-- no necro check on forum index pages -->
+
     #if: {{{index|}}}{{{sticky|}}} <!-- no necro check on forum index pages and sticky threads -->
 
     | | {{ <!-- stop necrobumping on threads unedited for 40+ days -->
 
     | | {{ <!-- stop necrobumping on threads unedited for 40+ days -->
 
       #ifexpr: {{ #time: U }} - {{ #time: U | {{REVISIONTIMESTAMP}} }} > 3456000
 
       #ifexpr: {{ #time: U }} - {{ #time: U | {{REVISIONTIMESTAMP}} }} > 3456000

Revision as of 22:07, 28 February 2011