Difference between revisions of "Template:Deprecated"

From Yugipedia
Jump to: navigation, search
(rm redundant sortkey(s))
(allow uses to include the namespace for the replacement template(s))
Line 1: Line 1:
 
{{ #ifeq: {{NAMESPACE}} | {{ns:10 }} | {{Ombox
 
{{ #ifeq: {{NAMESPACE}} | {{ns:10 }} | {{Ombox
 
| type = content
 
| type = content
| text = '''This template is deprecated.''' Please use [[Template:{{{1}}}]] {{ #if: {{{2|}}} | or [[Template:{{{2}}}]] }} instead.
+
| text = '''This template is deprecated.''' Please use [[Template:{{PAGENAME:{{{1}}}}}]] {{ #if: {{{2|}}} | or [[Template:{{PAGENAME:{{{2}}}}}]] }} instead.
 
}}<includeonly>{{
 
}}<includeonly>{{
 
   #switch: {{ #titleparts: {{PAGENAME}} || -1 }}
 
   #switch: {{ #titleparts: {{PAGENAME}} || -1 }}

Revision as of 18:06, 22 July 2018