Şablon:Documentation/testcases
This is the template test case page for the sandbox of Şablon:Documentation. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Documentation
[çımeyi bıvurne]---- {{documentation}} ---- {{documentation|Template:Documentation/testcases/test1}} ---- {{documentation|Template:Documentation/testcases/test2}} ---- {{documentation|content=This is in line documentation.}} ---- {{documentation|Template:Documentation/testcases/nodoc|content=Documentation.}} ---- {{documentation|Template:Documentation/testcases/test1|content=Documentation.}} ----
Default Documentation |
---|
[bıvurne] Dokumantasyon
Usage[çımeyi bıvurne]The heading[çımeyi bıvurne]When in Template space this template shows this heading: In most other namespaces, such as "Wikipedia:", it shows this heading:
But when on File (image) pages it shows this heading:
The heading parameter can be used to set the heading to something else. Like this:
If the heading parameter is empty but defined, no heading is shown and no [edit] [purge] links are shown. Like this:
The heading-style parameter can be fed optional CSS values. Without quotation marks
The link box[çımeyi bıvurne]Below the big doc box is a small link box that shows some meta-data about the documentation. The link box shows different things depending on what parameters are fed to this template, and in which namespace it is used. In some cases the link box is not shown at all. To hide the link box, add the parameter " You can also insert customised text in the link box, by defining the |link box=This documentation is automatically generated by [[Template:Country showdata]] Automatic functions[çımeyi bıvurne]If the documentation page doesn't exist, the [create] link includes a 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 When this template is on a /sandbox subpage it automatically adds the Subject space vs talk space[çımeyi bıvurne]Terminology: Subject space is the opposite of talk space. For instance "Template:" is the subject space of "Template talk:". This template is usually placed in subject space, within <noinclude> tags. But in some cases this template needs to be on the talkpage:
When placed on talkpages this template usually is placed near the top of the page and without <noinclude> tags. The /doc, /sandbox and /testcases pages should normally be in subject space, except in the namespaces that don't have the MediaWiki 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. Technical details[çımeyi bıvurne]This template calls The preload page for the /doc [create] link is Template:Documentation/preload, but in File space it is Template:Documentation/preload-filespace. The preload pages for the /sandbox and /testcases (create) links are Template:Documentation/preload-sandbox and Template:Documentation/preload-testcases. For more technical details see the talk page. See also[çımeyi bıvurne]
|
This is in line documentation.
Documentation.
Documentation.
Documentation/sandbox
[çımeyi bıvurne]---- {{documentation/sandbox}} ---- {{documentation/sandbox|Template:Documentation/testcases/test1}} ---- {{documentation/sandbox|Template:Documentation/testcases/test2}} ---- {{documentation/sandbox|content=This is in line documentation.}} ---- {{documentation/sandbox|Template:Documentation/testcases/nodoc|content=Documentation.}} ---- {{documentation/sandbox|Template:Documentation/testcases/test1|content=Documentation.}} ----
Default Documentation |
---|