Difference between revisions of "Template:Fix-span"

From MediaWiki
Jump to: navigation, search
(Created page with "{{#if:{{{content|}}}|<span class="{{{span-class|cleanup-needed-content}}}" style="background-color:#fff9f9; color:DarkSlateGray;border:1px solid #ffdcdc">{{{content|}}}</span>...")
 

Latest revision as of 19:49, 22 October 2012

{{#if:||}}{{#if:

|
|[{{#if:

|{{{pre-text}}} }}cleanup needed{{#if:

  | {{{post-text}}}
}}]

}}{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: no
 | no = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Fix-span|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Fix-span|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage =

| subpage = dontcat

| subsubpage = dontcat

}}

 | only = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Fix-span|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Fix-span|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

 {{#switch:
   {{#ifeq:  | false
   |   
   | {{#ifeq:  | yes
     |   
     | {{#ifeq:  | yes
       |   
       | {{#if:x   

|


     {{#if:{{#titleparts:{{#if:|  | Template:Fix-span }}|0|2}}
     | 
        
          
            
              
                
                       
                 
               
             
           
         
       
     | 
             
       
     }}   
   
 

}}

       }}
     }}
   }}
 | hide = 
 | #default  = 
   {{#ifeq: h0#384!5nea+w9 |{{#if:
 |[[{{{cat-date}}} {{#if:
  |from {{{date}}}
 }}]]{{#if:
  |{{#ifexist:{{{cat-date}}} from {{{date}}}|
   |
  }}
 }}
}} 
   | 
     {{#switch:
 {{#if: 
   | {{{demospace}}}
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

| main | = | talk = | user = | wikipedia = | file | image = | mediawiki = | template = | help = | category = | portal = | book = | other | #default =

}}

   | 
     {{#iferror: {{#expr: 1 + {{#switch:
 {{#if: 
   | {{{demospace}}}
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

| main | ={{#if:

 |[[{{{cat-date}}} {{#if:
  |from {{{date}}}
 }}]]{{#if:
  |{{#ifexist:{{{cat-date}}} from {{{date}}}|
   |
  }}
 }}
}}

| talk = | user = | wikipedia = | file | image = | mediawiki = | template = | help = | category = | portal = | book = | other | #default =

}} }} | {{#switch:

 {{#if: 
   | {{{demospace}}}
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

| main | ={{#if:

 |[[{{{cat-date}}} {{#if:
  |from {{{date}}}
 }}]]{{#if:
  |{{#ifexist:{{{cat-date}}} from {{{date}}}|
   |
  }}
 }}
}}

| talk = | user = | wikipedia = | file | image = | mediawiki = | template = | help = | category = | portal = | book = | other | #default =

}} | }}

   }}
 }}

}}

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox