Difference between revisions of "Template:Example/doc"

From blackwiki
Jump to navigation Jump to search
imported>BoldLuis
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categoriesppppp go at the bottom of this page and interwikis go in Wikidata. -->
+
<!-- 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}}.''
===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.
 
  
 
===TemplateData===
 
===TemplateData===
 
<templatedata>
 
<templatedata>
 
{
 
{
"description": "Example template that creates a small box saying it's an example.",
+
"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

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.

Template parameters

ParameterDescriptionTypeStatus
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.

[example needed]