Template:LegacyContent: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:


==Template Use==
==Template Use==
Add <pre>{{LegacyContent}}</pre> to the article.
Add to the article:
 
<pre>{{LegacyContent
|explanation=<why is this legacy>
|successor=<name of page or category that should now be referenced, if available>
}}</pre>


[[Category:Legacy Content | *]]
[[Category:Legacy Content | *]]
Line 14: Line 19:
<h1 style="color:darkred;"> Legacy Content </h1>
<h1 style="color:darkred;"> Legacy Content </h1>
[[Category:Legacy Content]]The content of this page is exclusively about legacy items.  
[[Category:Legacy Content]]The content of this page is exclusively about legacy items.  
'''Explanation:''' {{{explanation| No explanation was entered}}}{{#set:HasLegacyExplanation={{{explanation| No explanation was entered}}}}}
'''Successor:''' {{{successor| No successor was entered}}}{{#set:HasLegacyExplanation={{{successor| No successor was entered}}}}}


<!-- Collapse the original content, the div tag has no end so goes to the end of the page. -->
<!-- Collapse the original content, the div tag has no end so goes to the end of the page. -->

Revision as of 09:56, 2018 June 13

Template is used to mark and track legacy content, and make it less confusing to the inattentive reader. The template will put a big disclaimer at the top of the page, and collapse the rest of the content so the reader has to click the "expand legacy information" link to see the rest.

Template Use

Add to the article:

{{LegacyContent
|explanation=<why is this legacy>
|successor=<name of page or category that should now be referenced, if available>
}}



Legacy Content

The content of this page is exclusively about legacy items.

Explanation: No explanation was entered Successor: No successor was entered






click here to show legacy content
foo