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
Djavin novienta (talk | contribs)
Added documentation.
Arin Mara (talk | contribs)
Added Parameters paragraph to auto-generated docs template
Line 7: Line 7:
;Syntax
;Syntax
:Type <code>{{t|templatename|param1<!-- delete if N/A -->|namedparam&#61;<!-- delete if N/A -->}}</code> somewhere.
:Type <code>{{t|templatename|param1<!-- delete if N/A -->|namedparam&#61;<!-- delete if N/A -->}}</code> somewhere.
; Parameters
: <code>param</code>
:: Param description.
: <code>namedparam</code>
:: Namedparam description.
;Sample output
;Sample output
:<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>

Revision as of 10:16, 13 April 2022

Main article: Template:Documentation
Description
This template is used to do something.
Dependencies
  • Uses (some CSS, JS, file, or other template).
Syntax
Type {{templatename|<param1>|<namedparam=>}} somewhere.
Parameters
param
Param description.
namedparam
Namedparam description.
Sample output
{{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?)