Template:Deprecated template: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Debresser
The purpose of nocat was to avoid categorizing non-template namespace pages that use this template. But not to avoid detection of their transclusions. Although I admit it is taking a chance.
Ookami (talk | contribs)
m 181 revisions imported
 
(72 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{{ {{{|safesubst:}}}#invoke:Unsubst||$params=old,by,new,note,historical,nocat|date=__DATE__|$B=
{{Ombox
{{Ombox
| demospace = {{{demospace|}}}
| image = [[File:Stop hand nuvola.svg|40px]]
| type = style
| type = delete
| image = [[File:Imbox content.png|40px|alt=|link=]]
| text  = [[{{{old|Template:{{{1|{{PAGENAME}}}}}}}}]] is [[deprecation|deprecated]]{{#if:{{{by|}}}|&#32;by {{{by}}}}}{{#if:{{{historical|}}}|, but preserved for historical reasons}}.{{#if:{{{new|{{{2<includeonly>|</includeonly>}}}}}}
| text =
   | &#32;Please {{#if:{{{3|}}}
  {{#if:{{{new|{{{2<includeonly>|</includeonly>}}} }}}
    |use {{tlx|{{{new|{{{2}}}}}}|{{{3}}}}}
   | [[{{{old|{{{4|Template}}}:{{{1|{{PAGENAME}}}}}}}}]] is deprecated. Please use [[{{{new|{{{5|Template}}}:{{{2}}}{{#if:{{{3|}}}
    |{{#if:{{{new|}}}
    |<nowiki>|</nowiki>{{{3}}}
      |see [[{{{new}}}]]
    }}}}}]] instead. {{{note|}}}
      |use [[Template:{{{2}}}]]
  | {{[[{{{4|Template}}}:{{{1|{{PAGENAME}}}}}]]}} is [[:Category:Deprecated templates|deprecated]].
      }}
    }} instead.
}} {{{note|}}}
}}{{#ifeq:{{{nocat|}}}|true
  ||{{Template other
      |{{Sandbox other|<!-- Don't categorise subpages, like /doc, /sandbox or /testcases -->|
          {{#ifeq:{{PAGENAME}}|{{ucfirst:{{{1|{{PAGENAME}}}}}}}<!-- Only for the deprecated template itself -->
            |<includeonly>{{#if:{{{historical|}}}|[[Category:Deprecated templates kept for historical reasons]]|[[Category:Deprecated templates]]}}</includeonly>
          }}
      }}
      |{{#ifeq:{{{old|}}}|{{FULLPAGENAME}}||[[Category:Pages using deprecated templates]]}}
    }}
   }}
   }}
}}{{#ifeq:{{ARTICLESPACE}}|Template
}}<noinclude>
    |{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}<!--Don't categorise /doc pages -->
        |{{#ifeq:{{PAGENAME}}|{{ucfirst:{{{1}}}}}<!-- only for the deprecated template itself -->
          |{{#ifeq:{{{nocat|}}}|true||{{DMC|Deprecated templates|from|{{{date|}}}}}}}
        }}
      }}
      |[[Category:Pages using deprecated templates]]
  }}<noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
</noinclude>

Latest revision as of 01:40, 4 September 2020