Template:Deprecated template: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>PaleoNeonate
Undid revision 783069347 by PaleoNeonate (talk) Has issues with some uses, i.e. those including an explicit Template: prefix
meta>TheDragonFire
Cleanup template.
Line 1: Line 1:
{{ {{{|safesubst:}}}#invoke:Unsubst||$params=old,by,note,nocat|date=__DATE__|$B=
{{Ombox
{{Ombox
| demospace = {{{demospace|}}}
| type      = content
| type      = style
| image    = [[File:Imbox content.png|40px|alt=|link=]]
| text      = [[{{{old|Template:{{{1|{{PAGENAME}}}}}}}}]] is [[deprecation|deprecated]]{{#if:{{{by|}}}|&#32;by {{{by}}}}}.{{#if:{{{new|{{{2<includeonly>|</includeonly>}}}}}}
| text      = [[{{{old|Template:{{{1|{{PAGENAME}}}}}}}}]] is [[deprecation|deprecated]]{{#if:{{{by|}}}|&#32;by {{{by}}}}}.{{#if:{{{new|{{{2<includeonly>|</includeonly>}}}}}}
   | &#32;Please use [[{{{new|Template:{{{2}}}}}}{{#if:{{{3|}}}
   | &#32;Please use [[{{{new|Template:{{{2}}}}}}{{#if:{{{3|}}}
     |<nowiki>|</nowiki>{{{3}}}
     |{{{!}}}{{{3}}}
     }}]] instead.
     }}]] instead.
}} {{{note|}}}
}} {{{note|}}}
}}{{#ifeq:{{{nocat|}}}|true
}}{{#ifeq:{{{nocat|}}}|true
   ||{{#ifeq:{{ARTICLESPACE}}|Template
   ||{{Template other
       |{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}<!--Don't categorise subpages, like /doc, /sandbox or /testcasespages -->
       |{{When on basepage<!-- Don't categorise subpages, like /doc, /sandbox or /testcases -->
         |{{#ifeq:{{PAGENAME}}|{{ucfirst:{{{1}}}}}<!-- only for the deprecated template itself -->
         |{{#ifeq:{{PAGENAME}}|{{ucfirst:{{{1|{{PAGENAME}}}}}}}<!-- Only for the deprecated template itself -->
             |{{Dated maintenance category|Deprecated templates|from|{{{date|}}}}}
             |<includeonly>{{Dated maintenance category|Deprecated templates|from|{{{date|}}}}}</includeonly>
           }}
           }}
        }}
      }}
       |{{#ifeq:{{{old|}}}|{{FULLPAGENAME}}||[[Category:Pages using deprecated templates]]}}
       |{{#ifeq:{{{old|}}}|{{FULLPAGENAME}}||[[Category:Pages using deprecated templates]]}}
     }}
     }}
   }}<noinclude>
   }}}}<noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories to the /doc subpage, not here! -->
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
</noinclude>

Revision as of 18:29, 8 August 2017