Template:Documentation/doc: Difference between revisions

[checked revision][checked revision]
Content deleted Content added
No edit summary
Line 114:
|link box=This documentation is automatically generated by [[Template:Country showdata]]
</pre>
 
===Automatic functions===
If the documentation page does not exist, the [create] link includes a [[mw:Manual:Creating pages with preloaded text|preload]] page so that clicking it will pre-fill the edit form with the basic documentation page format. Preload text is also used for the /sandbox and /testcases [create] links.
 
When this template is on a protected template page it now automatically adds {{tl|pp-template}}, which shows the grey or red padlock in the top right corner. So no need to manually add {{tlf|pp-template}} to templates that use {{tl|Documentation}}.
 
When this template is on a /sandbox subpage it automatically adds the {{tl|Template sandbox notice}}.
 
===Subject namespaces vs. talk namespaces===