Template:Script doc auto/doc: Difference between revisions

Content deleted Content added
Adding a caution notice at the top of this /doc page, that this template is new and should probably not be deployed right away.
Adding back {{used in system}}, since I have now deployed this basic version of this template.
Line 1:
{{documentation subpage}}
<!-- {{used in system}} -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
{{caution
| This template is new. It has passed all my tests but some more users should probably take a look at it before we deploy it. --[[User:Davidgothberg|David Göthberg]] ([[User talk:Davidgothberg|talk]]) 14:24, 14 December 2009 (UTC)
}}
 
This is the {{tl|script doc}} template.
 
It is meant to be used in the [[MediaWiki:Clearyourcache]] system message that is shown on top of .css and .js pages.
 
This template detects if a script page has an accompanying documentation page. If the doc page exists it shows a small green doc box with a link to the doc page. If no doc page exists then this template returns an empty string.