Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Deprecated: Difference between revisions

Template page
tweak
style
Line 1: Line 1:
{| style="margin: 0.5em auto; width: 60%; border: 3px solid #f57900; text-align: center; padding: 4px;"
{| style="margin: 0.5em auto; width: 60%; border: 2px solid #f57900; background-color:#fffff8; text-align: center; padding: 4px;"
| <big>'''This template is deprecated.'''</big>{{#if: {{{1|}}} | <br />Please use {{tl|{{{1|}}}}} {{#if: {{{2|}}} | or {{tl|{{{2|}}}}} | }} instead.}}{{#if: {{{note|}}} | <br />{{{note}}}}}
| <big>'''This template is deprecated.'''</big>{{#if: {{{1|}}} | <br />Please use {{tl|{{{1|}}}}} {{#if: {{{2|}}} | or {{tl|{{{2|}}}}} | }} instead.}}{{#if: {{{note|}}} | <br />{{{note}}}}}
|}<includeonly>{{{category|[[Category:Deprecated templates|{{PAGENAME}}]]}}}</includeonly><noinclude>
|}<includeonly>{{{category|[[Category:Deprecated templates|{{PAGENAME}}]]}}}</includeonly><noinclude>

Revision as of 06:22, 17 March 2008

This template is deprecated.



Usage

To mark templates that are deprecated. It should go at the very beginning of the deprecated template's code inside of <noinclude> tags.

When a template is replaced by a different one (or two), simply enter the template's name the parameter(s) without the Template: prefix.

Examples

The default (no parameters) is what is shown above.

{{deprecated|template}} →

This template is deprecated.
Please use {{Template}} instead.

{{deprecated|template|2nd template}} →

This template is deprecated.
Please use {{Template}} or {{2nd template}} instead.

{{deprecated|note=Customized note.}} →

This template is deprecated.
Customized note.

{{deprecated|template|note=Customized note.}} →

This template is deprecated.
Please use {{Template}} instead.
Customized note.
Contents
Cookies help us deliver our services. By using our services, you agree to our use of cookies.