Mostly Harmless

Difference between revisions of "Template:Legacy category"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m (fixed special handling for Category:Legacy Category)
m (linked conversion info page and added parameter for linking corresponding new category)
Line 2: Line 2:
 
| type  = notice
 
| type  = notice
 
| image = [[Image:Oldwikilogo.png|52px|Legacy content notice]]
 
| image = [[Image:Oldwikilogo.png|52px|Legacy content notice]]
| text  = <p>'''This is a [[:Category:Legacy content|legacy category]] imported from the old Unreal Wiki.'''</p><p>''Please avoid adding new articles to it.''</p>
+
| text  = <p>'''This is a [[:Category:Legacy content|legacy]] category [[Project:MediaWiki conversion|imported]] from the old Unreal Wiki.'''</p><p>''Please avoid adding new articles to it. {{#if:{{{new|}}}|Use the new category [[:Category:{{{new}}}|{{{new}}}]] instead.}}''</p>
 
}}<includeonly>[[Category:Legacy content|{{#ifeq:{{PAGENAME}}|Legacy Category|&#32;|{{#ifeq:{{#sub:{{PAGENAMEE}}|0|7}}|Legacy_|{{#sub:{{PAGENAME}}|7}}|{{PAGENAME}}}}}}]]</includeonly><noinclude>
 
}}<includeonly>[[Category:Legacy content|{{#ifeq:{{PAGENAME}}|Legacy Category|&#32;|{{#ifeq:{{#sub:{{PAGENAMEE}}|0|7}}|Legacy_|{{#sub:{{PAGENAME}}|7}}|{{PAGENAME}}}}}}]]</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 04:41, 28 May 2009

[edit] Documentation

This template is used on category pages that were imported from the old Unreal Wiki.

Usage

Please don't use this template on any new pages. Modify it on existing legacy category pages to include the parameter |new= with the name of the new page replacing the imported category.

See also