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
Arin Mara (talk | contribs)
m Deleted a newline
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
Line 1: Line 1:
<noinclude>{{main|Template:Documentation}}
<noinclude><!-- THIS TEMPLATE SHOULD NOT BE EDITED -->
<!--THIS TEMPLATE SHOULD NOT BE EDITED-->
</noinclude>; Description
</noinclude>;Description
: This template is used to do something.
:This template is used to do something.
 
;Dependencies:<!-- delete if N/A -->
; Dependencies: <!-- delete if N/A -->
:* Uses (some CSS, JS, file, or other template).<!-- delete if N/A -->
:; Uses <!-- (some CSS, JS, file, or other template). <!-- delete if N/A -->
;Syntax
:: some CSS, JS, file, or other template
:Type <code>{{t|templatename|param1<!-- delete if N/A -->|namedparam&#61;<!-- delete if N/A -->}}</code> somewhere.
:; Used by <!-- delete if N/A -->
:: template <!-- Preferably us the {{T|templatename}} -->
 
; Syntax
: {{T|Templatename|param<!-- delete if N/A -->|namedparam&#61;<!-- delete if N/A -->}} <!-- &#61; is the = sign -->
 
; Parameters
; Parameters
: <code>param</code>
:; param
:: Param description.
:: Param description.
: <code>namedparam</code>
:; namedparam
:: Namedparam description.
:: Namedparam description.
;Sample output
 
; Sample
:<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 -->


<in<includeonly>cludeon</includeonly>ly>[[<noinclude>:</noinclude>Category:Template<includeonly>|{{PAGENAME}}</includeonly>]]<!-- Any categories for the template itself --></in<includeonly>cludeon</includeonly>ly>
<in<includeonly>cludeon</includeonly>ly>[[<noinclude>:</noinclude>Category:Template]]<!-- Any categories for the template itself --></in<includeonly>cludeon</includeonly>ly>
<no<includeonly>inclu</includeonly>de>[[<noinclude>:</noinclude>Category:Template documentation<includeonly>|{{PAGENAME}}</includeonly>]]</no<includeonly>inclu</includeonly>de><noinclude>
<no<includeonly>inclu</includeonly>de>[[<noinclude>:</noinclude>Category:Template documentation]]</no<includeonly>inclu</includeonly>de><noinclude>
{{documentation}}
{{documentation}}
<!--THIS TEMPLATE SHOULD NOT BE EDITED-->
<!-- THIS TEMPLATE SHOULD NOT BE EDITED -->
</noinclude>
</noinclude>

Revision as of 13:16, 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?)