Template:Historical: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
(parameter index for __NOINDEX__)
(test)
Line 1: Line 1:
{| style="border:2px solid #AAA; background-color:#EEEFFF; width:90%; margin:0 auto; padding:.2em; text-align:justify; margin-bottom:3px;"
__NOINDEX__
|-
| [[Image:B stop.svg|40px|Historical]]
| {{#if:{{{1|}}}|{{shortcut|{{{1}}}}}}}<center>'''This {{{type|page}}} is kept as an archival reference.'''</center><center>If you want to raise a point about it, please start a discussion thread on the  [[Water cooler|community forum]].</center> {{#if:{{{comment|}}}|<br /><center>''{{{comment}}}''}}</center>
|}<includeonly>{{#ifeq:index|no|__NOINDEX__|}}{{{category|[[Category:Archived pages]]}}}</includeonly><noinclude>
----
Use:
<pre>{{historical}}</pre>
Optional parameters:
<pre>{{historical|SHORTCUT|category=[[:Category:Archived pages]]|comment=Here you can write more information if needed.}}</pre>
This template adds pages to [[:Category:Archived pages]], unless a different category is specified as shown above.
 
Add <nowiki>|index=no</nowiki> if the page are to have noindex for robots.
[[Category:Archive templates|Historical]]</noinclude>

Revision as of 16:24, 18 March 2014