Template:Example: Difference between revisions
m (It's ironic (there's probably a better word for it that I can't think of) that an example template used to educate uses a template in itself. Subst) |
m (33 revisions imported: Hop aboard the import train. These templates needed to be added, and the proper crediting goes to Wikipedia for the usage of these templates.) |
||
(21 intermediate revisions by 16 users not shown) | |||
Line 1: | Line 1: | ||
<div style="float:left; border:1px solid #999; margin:1px;" class="wikipediauserbox "> |
<div style="float:left; border:1px solid #999; margin:1px;" class="wikipediauserbox "> |
||
{| cellspacing="0" style="width:238px; background:#EEE;" |
{| cellspacing="0" style="width:238px; background:#EEE;" |
||
|[[File:Cube.svg|40px]] |
|||
| style="text-align:left; font-size:8pt; padding:0 4px 0 4px; height:45px; line-height:1.25em; color:black; vertical-align: middle;" | This is an example of a template. For help with templates, see [[Help:Template]]. |
|||
⚫ | |||
}} |
|||
⚫ | |||
| style="text-align:left; font-size:8pt; padding:0 4px 0 4px; height:45px; line-height:1.25em; color:black; vertical-align: middle; " {{#if:|class="{{{info-class}}}"}} | This is an example of a template. For help with templates, see [[Help:Template]]. |
|||
|}</div>{{#if:|{{cat handler |
|||
|nocat = |
|||
|subpage = {{#if:|no}} |
|||
|user = {{#if:|[[Category:{{{usercategory}}}]]}}{{#if:|[[Category:{{{usercategory2}}}]]}}{{#if:|[[Category:{{{usercategory3}}}]]}} |
|||
|template = {{#if:|[[Category:{{{usercategory}}}| {{BASEPAGENAME}}]]}}{{#if:|[[Category:{{{usercategory2}}}| {{BASEPAGENAME}}]]}}{{#if:|[[Category:{{{usercategory3}}}| {{BASEPAGENAME}}]]}} |
|||
}}}} |
|||
⚫ | |||
⚫ | |||
<!-- some linebreaks to keep the "not to be confused with" |
|||
part from rubbing up against the other part. --> |
|||
{{Distinguish|Template:Examples}} |
|||
==Usage== |
|||
If this was 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. |
|||
[[Category:Wikipedia utility templates|{{PAGENAME}}]] |
|||
[[cy:Nodyn:Enghraifft]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 21:56, 21 March 2022
This is an example of a template. For help with templates, see Help:Template. |
- To give an example of how to use a template, use {{demo}}.
TemplateData Edit
Example template that creates a small box saying it is an example.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |
Usage Edit
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.