Difference between revisions of "Template:Documentation/preload"

From EVE University Wiki
Jump to: navigation, search
(Added Parameters paragraph to auto-generated docs template)
m (Typo - us to use)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{main|Template:Documentation}}
+
<noinclude><!-- THIS TEMPLATE SHOULD NOT BE EDITED -->
<!--THIS TEMPLATE SHOULD NOT BE EDITED--></noinclude>
+
</noinclude>; Description
;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 -->
; Parameters
+
:: template <!-- Preferably use the {{T|templatename}} -->
: <code>param</code>
+
 
:: Param description.
+
; Syntax
: <code>namedparam</code>
+
: {{T|Templatename|param<!-- delete if N/A -->|namedparam&#61;<!-- delete if N/A -->}} <!-- &#61; is the = sign -->
:: Namedparam description.
+
:; Parameters <!-- delete if N/A -->
;Sample output
+
::; param
 +
::: Param description.
 +
::; param : Param description.
 +
::; namedparam
 +
::: Namedparam description.
 +
 
 +
; 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 -->
+
 
:* [[Template:<!-- Some other template -->]]<!-- delete if N/A -->
+
; See also:<!-- 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>

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

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?)