More actions
m Add <!-- delete if N/A --> to parameter and sample. Some templates are to simple to need an example. |
m Typo - us to use |
||
| (One intermediate revision by one other user not shown) | |||
| Line 7: | Line 7: | ||
:: some CSS, JS, file, or other template | :: some CSS, JS, file, or other template | ||
:; Used by <!-- delete if N/A --> | :; Used by <!-- delete if N/A --> | ||
:: template <!-- Preferably | :: template <!-- Preferably use the {{T|templatename}} --> | ||
; Syntax | ; Syntax | ||
: {{T|Templatename|param<!-- delete if N/A -->|namedparam=<!-- delete if N/A -->}} <!-- = is the = sign --> | : {{T|Templatename|param<!-- delete if N/A -->|namedparam=<!-- delete if N/A -->}} <!-- = is the = sign --> | ||
:; Parameters <!-- delete if N/A --> | |||
; Parameters <!-- delete if N/A --> | ::; param | ||
:; param | ::: Param description. | ||
:: Param description. | ::; param : Param description. | ||
:; namedparam | ::; namedparam | ||
:: Namedparam description. | ::: Namedparam description. | ||
; Sample <!-- delete if N/A --> | ; Sample <!-- delete if N/A --> | ||
:<code><nowiki>{{templatename|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}</nowiki></code> | :<code><nowiki>{{templatename|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}</nowiki></code> | ||
::gives... | :: gives... | ||
{{templatename|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}} | {{templatename|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}} | ||
;See also:<!-- delete if N/A --> | ; See also:<!-- delete if N/A --> | ||
:* [[Template:<!-- Some other template -->]]<!-- delete if N/A --> | : * [[Template:<!-- Some other template -->]]<!-- delete if N/A --> | ||
:* [[<!-- Some other related page -->]]<!-- delete if N/A --> | :* [[<!-- Some other related page -->]]<!-- delete if N/A --> | ||
Latest revision as of 13:48, 13 June 2023
- Description
- This template is used to do something.
- Dependencies
-
- Uses
- some CSS, JS, file, or other template
- Used by
- template
- Syntax
- {{Templatename|<param>|<namedparam=>}}
- Parameters
-
- param
- Param description.
- param
- Param description.
- namedparam
- Namedparam description.
- Sample
{{templatename|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}- gives...
- See also
- * [[Template:]]
- [[]]
<inly>Category:Template</inly> <node>Category:Template documentation</node>
Template documentation (for the above template, sometimes hidden or invisible)
- See also: Template:Documentation</noinclude>
This is the preload information for {{documentation}}, which will appear in the editing window when the correct link is selected on an undocumented template.
Visit Template:Documentation/preload/doc to edit this text! (How does this work?) (Refresh this text - why?)