Difference between revisions of "Template:Obsolete"

From TNG_Wiki
Jump to navigation Jump to search
(add Obsolete template)
 
Line 2: Line 2:
 
{| class="ambox mbox-caution" style="border-left: 10px solid #FFFF0F;"
 
{| class="ambox mbox-caution" style="border-left: 10px solid #FFFF0F;"
 
|-
 
|-
| class="mbox-image" | [[File:Replacement_filing_cabinet.svg|50px|Obsolete]]
+
| class="mbox-image" | [[File:Replacement_filing_cabinet.png|50px|Obsolete]]
 
| class="mbox-text" | {{{notes|{{PAGENAME}} is now '''obsolete''' }}}
 
| class="mbox-text" | {{{notes|{{PAGENAME}} is now '''obsolete''' }}}
 
|}
 
|}

Revision as of 19:42, 5 November 2015


Usage

This infobox may be added by pasting the obsolete template as shown below into an article.

{{obsolete
|notes=notes on why page is obsolete
}}
[edit] [purge] Template documentation

The Obsolete template generates an infobox to the page to provide an indication to the TNG user that the Mod is obsolete for the reason provided in the notes

Usage

This infobox may be added by pasting the obsolete template as shown below into an article.

{{Obsolete
|notes=reason page is obsolete
}}

Parameters

By default, the Obsolete template includes a File Cabinet to the left and right of the text as shown below. If no notes are specified when using the template, the a default obsolete message is generated as shown below by the following default syntax

{| class="ambox mbox-caution" style="border-left: 10px solid #FFFF0F;"
|-
| class="mbox-image" | [[File:Replacement_filing_cabinet.png|40px|Obsolete]]
| class="mbox-text" | {{{notes|The mod {{PAGENAME}} is now '''obsolete'''. It may have been included in TNG core or another Mod. }}}
| class="mbox-image" | [[File:Replacement_filing_cabinet.png|40px|Obsolete]]
|}

Generated output

When you enter {{Obsolete | notes= }}

or {{Obsolete}} it generates

Obsolete Obsolete is now obsolete