टेम्पलेट:Documentation/doc: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
{{pp-semi|small=yes}}
छो Expanded contractions
लाइन 48:
</pre>
 
When the '''content''' parameter is used, the doc box normally doesn'tdoes not show the [edit] [purge] links in the top right corner. Note that if the /doc page exists a link to it is still shown in the link box below the doc box. <!--and no link to a /doc page is shown in the link box below the doc box.-->
 
But parameter 1 and the '''content''' parameter can also be combined, like this:
लाइन 105:
=== Automatic functions ===
 
If the documentation page doesn'tdoes 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 <small>(create)</small> 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}}.
लाइन 117:
This template is usually placed in subject space, within &lt;noinclude> tags. But in some cases this template needs to be on the talkpage:
 
* For preload pages (usually in Template or Wikipedia space), since they can'tcannot use &lt;noinclude>. See for instance [[Template talk:AfC preload]] and [[Template talk:RfD subpage starter]]. Such talkpages can be marked with {{tl|talkdoc}}.
 
* In MediaWiki space, since &lt;noinclude> often doesn'tdoes not work in system messages and since MediaWiki space needs to be kept clean for performance reasons.
 
When placed on talkpages this template usually is placed near the top of the page and without &lt;noinclude> tags.
 
The /doc, /sandbox and /testcases pages should normally be in subject space, except in the namespaces that don'tdo not have the MediaWiki [[meta:Link#Subpage feature|subpage feature]] enabled: Main, File, MediaWiki and Category. (But currently we only show the /sandbox and /testcases links from User, User talk, Template and Template talk space.) There are also a whole bunch of other technical reasons why the /doc page must be stored under the talkpage for those namespaces.
 
This template automatically points its create links for the /doc, /sandbox and /testcases to the right namespace.