Difference between revisions of "Template:Example/doc"
Jump to navigation
Jump to search
imported>BoldLuis |
|||
| (7 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> |
{{distinguish|Template:Examples|Template:Example needed}} | {{distinguish|Template:Examples|Template:Example needed}} | ||
| − | + | :''To give an example of how to use a template, use {{tl|demo}}.'' | |
| − | |||
| − | |||
===TemplateData=== | ===TemplateData=== | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| − | "description": "Example template that creates a small box saying it | + | "description": "Example template that creates a small box saying it is an example.", |
"params": {} | "params": {} | ||
} | } | ||
</templatedata> | </templatedata> | ||
| − | <includeonly> | + | ===Usage=== |
| + | If this were a real template, the documentation would go here, along with a few examples on how to use it. Some templates keep this documentation on a separate page; see [[Wikipedia:Template documentation]] for details. | ||
| + | |||
| + | {{Example needed}} | ||
| + | |||
| + | |||
| + | |||
| + | <includeonly>{{Sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Wikipedia utility templates]] | [[Category:Wikipedia utility templates]] | ||
| − | [[Category:Namespace example pages]] | + | [[Category:Namespace example pages|Template]] |
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 21:05, 28 April 2020
| 40px | This is a documentation subpage for Template:Example. It contains usage information, categories and other content that is not part of the original template page. |
- To give an example of how to use a template, use {{demo}}.
TemplateData
Example template that creates a small box saying it is an example.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||
Usage
If this were a real template, the documentation would go here, along with a few examples on how to use it. Some templates keep this documentation on a separate page; see Wikipedia:Template documentation for details.