Template:LegacyContent: Difference between revisions
Jump to navigation
Jump to search
Ttenbergen (talk | contribs) Troubleshooting start |
Ttenbergen (talk | contribs) mNo edit summary |
||
| Line 24: | Line 24: | ||
__NOTOC__<!-- hide TOC unless expanded --> | __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> | |||
[[Category:Legacy Content]]The content of this page is exclusively about [[Legacy Content]]. | |||
*'''Explanation:''' {{{explanation| ''No explanation was entered''}}}{{#set:HasLegacyExplanation={{{explanation| ''No explanation was entered''}}}}} | |||
*'''Successor:''' {{{successor| ''No successor was entered''}}}{{#set:HasLegacySuccessor={{{successor| ''No successor was entered''}}}}} | |||
<!-- Collapse the original content, the div tag has no end so goes to the end of the page. --> | |||
<noinclude><!-- to allow template to display properly --> | <noinclude><!-- to allow template to display properly --> | ||
|} | |} | ||
</div></noinclude> | </div></noinclude> | ||
Revision as of 10:25, 21 June 2018
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>
}}
Then add the following to the end of the page to close what the template starts:
|} </div>
Legacy Content
The content of this page is exclusively about Legacy Content.- Explanation: No explanation was entered
- Successor: No successor was entered
|}