Difference between revisions of "Template:Deprecated"

From Yugipedia
Jump to: navigation, search
(allow uses to include the namespace for the replacement template(s))
(allow specifying non-template replacements)
 
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:{{PAGENAME:{{{1}}}}}]] {{ #if: {{{2|}}} | or [[Template:{{PAGENAME:{{{2}}}}}]] }} instead.
+
| text = '''This template is deprecated.''' Please use {{ #if: {{{use|}}} | {{{use}}} | [[Template:{{PAGENAME:{{{1}}}}}]] {{ #if: {{{2|}}} | or [[Template:{{PAGENAME:{{{2}}}}}]] }} }} instead.
 
}}<includeonly>{{
 
}}<includeonly>{{
 
   #switch: {{ #titleparts: {{PAGENAME}} || -1 }}
 
   #switch: {{ #titleparts: {{PAGENAME}} || -1 }}

Latest revision as of 23:06, 8 May 2019