Template:LegacyContent: Difference between revisions
Ttenbergen (talk | contribs) mNo edit summary |
Ttenbergen (talk | contribs) No edit summary |
||
| (40 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Template is used to mark and track | 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== | ==Template Use== | ||
| Line 8: | Line 8: | ||
|explanation=<why is this legacy> | |explanation=<why is this legacy> | ||
|successor=<name of page or category that should now be referenced, if available> | |successor=<name of page or category that should now be referenced, if available> | ||
|content= <leave page content here and then put the closing bracket below on the very end of the article. > | |||
}}</pre> | }}</pre> | ||
[[Category:Legacy Content | *]] [[Category: | [[Category:Legacy Content | *]] [[Category:Legacy content wiki infrastructure]] | ||
---- | ---- | ||
</noinclude> | </noinclude>__NOTOC__<!-- hide TOC unless expanded --><div style="background:WhiteSmoke;color:gray;"> | ||
<div style="background:WhiteSmoke;color:gray;"> | <h2 style="background:orange; color:darkred;"> Legacy Content </h2> | ||
</div> | This page contains [[Legacy Content]]. | ||
*'''Explanation:''' {{{explanation| ''No explanation was entered''}}} | |||
*'''Successor:''' {{{successor| ''No successor was entered''}}} | |||
<!-- Collapse the original content, the div tag has no end so goes to the end of the page. --> | |||
<div class="toccolours mw-collapsible mw-collapsed"> | |||
Click Expand to show legacy content. | |||
<div class="mw-collapsible-content"> | |||
__TOC__ <!-- show TOC if expanded --> | |||
{{{content}}} | |||
<noinclude> this noinclude section is here only to allow template to display properly on its template page --> | |||
</div></div> | |||
</noinclude><includeonly> | |||
{{#set:HasLegacyExplanation={{{explanation| ''No explanation was entered''}}}}} | |||
{{#set:HasLegacySuccessor={{{successor| ''No successor was entered''}}}}} | |||
[[Category:Legacy Content]] | |||
</includeonly> | |||