Template:Documentation/testcases
More actions
| This is the template test cases page for the sandbox of Template: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 and parsers with these links: |
Documentation
----
{{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
| ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Template loop detected: Template:Documentation The documentation template is transcluded in the template/module documentation. This template should only be used on subpages titled "doc". UsagePlace {{documentation}} at the top of the documentation page. If the page to be documented is a subpage, use {{documentation}} at the top of the documentation page. For example, Template:Foo/bar's documentation page would use {{documentation}}. The template will attempt to auto detect and link NoteThis template links to a /doc that may appear useless, however, it exists in order to link navboxes and userboxes to their base template's documentation.
TemplateDataThe documentation template is transcluded in the template/module documentation. This template should only be used on subpages titled "doc".
| ||||||||||||
This is in line documentation.
Documentation/sandbox
----
{{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
|
|---|
|
Script error: No such module "documentation/sandbox". |
Script error: No such module "documentation/sandbox".
Script error: No such module "documentation/sandbox".
Script error: No such module "documentation/sandbox".
Script error: No such module "documentation/sandbox".
Script error: No such module "documentation/sandbox".
Notest
For {{File mover granted}}:
Live documentation
{{documentation|page=Template:File mover granted|notest=y}}
Sandbox documentation
{{documentation/sandbox|page=Template:File mover granted|notest=y}}
Script error: No such module "documentation/sandbox".