Difference between pages "Template:Deprecated template" and "Template:Deprecated template/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>PorkchopGMX
(Reverted 1 edit by JsfasdF252 (talk): Attribution is required in CC-BY-SA images)
 
imported>Andrybak
(sync with live template)
 
Line 1: Line 1:
 
{{ {{{|safesubst:}}}#invoke:Unsubst||$params=old,by,new,note,historical,nocat|date=__DATE__|$B=
 
{{ {{{|safesubst:}}}#invoke:Unsubst||$params=old,by,new,note,historical,nocat|date=__DATE__|$B=
 
{{Ombox
 
{{Ombox
| image = [[File:Stop hand nuvola.svg|40px]]
+
| image     = [[Image:Stop hand nuvola.svg|40px]]
| type = delete
+
| type     = delete
| 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     = [[{{{old|Template:{{{1|{{PAGENAME}}}}}}}}]] is [[deprecation|deprecated]]{{#if:{{{by|}}}|&#32;by {{{by}}}}}{{#if:{{{historical|}}}|, but preserved for historical reasons}}.{{#if:{{{new|{{{2<includeonly>|</includeonly>}}}}}}
 
   | &#32;Please {{#if:{{{3|}}}
 
   | &#32;Please {{#if:{{{3|}}}
 
     |use {{tlx|{{{new|{{{2}}}}}}|{{{3}}}}}
 
     |use {{tlx|{{{new|{{{2}}}}}}|{{{3}}}}}
Line 11: Line 11:
 
       }}
 
       }}
 
     }} instead.
 
     }} instead.
}} {{{note|{{{reason|{{{result|}}}}}}}}}
+
}} {{{note|}}}
 
}}{{#ifeq:{{{nocat|}}}|true
 
}}{{#ifeq:{{{nocat|}}}|true
 
   ||{{Template other
 
   ||{{Template other
       |{{Sandbox other|<!-- Don't categorise subpages, like /doc, /sandbox or /testcases -->|
+
       |{{When on basepage<!-- Don't categorise subpages, like /doc, /sandbox or /testcases -->
          {{#ifeq:{{PAGENAME}}|{{ucfirst:{{{1|{{PAGENAME}}}}}}}<!-- Only for the deprecated template itself -->
+
        |{{#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>
+
             |<includeonly>{{#if:{{{historical|}}}|[[Category:Deprecated templates kept for historical reasons]]|{{Dated maintenance category|Deprecated templates|from|{{{date|}}}}}}}</includeonly>
 
           }}
 
           }}
 
       }}
 
       }}