Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Documentation/preload: Difference between revisions

Template page
m Some formatting to increase readability. Remove the sortkey parameter from the category code. When Using the magic word PAGENAME the sortkey is identical to the page name which it is without sortkey anyway
m Add <!-- delete if N/A --> to parameter and sample. Some templates are to simple to need an example.
Line 12: Line 12:
: {{T|Templatename|param<!-- delete if N/A -->|namedparam&#61;<!-- delete if N/A -->}} <!-- &#61; is the = sign -->
: {{T|Templatename|param<!-- delete if N/A -->|namedparam&#61;<!-- delete if N/A -->}} <!-- &#61; is the = sign -->


; Parameters
; Parameters <!-- delete if N/A -->
:; param
:; param
:: Param description.
:: Param description.
Line 18: Line 18:
:: Namedparam description.
:: Namedparam description.


; Sample
; 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...

Revision as of 13:18, 27 July 2022

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.
namedparam
Namedparam description.
Sample
{{templatename|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}
gives...

Template:Templatename

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.

This page should not be edited without prior permission from the Wiki Manager.
Visit Template:Documentation/preload/doc to edit this text! (How does this work?) (Refresh this text - why?)