Difference between revisions of "Template:Documentation/preload"

From Project: Gorgon Wiki
Jump to: navigation, search
m (Description: forgot to make a section)
m (Sample output: Removing syntax higlighting)
Line 11: Line 11:
 
! Code !! Output
 
! Code !! Output
 
|-
 
|-
| style="background-color:silver;" |
+
| style="background-color:silver;" | <code>
<syntaxhighlight lang="c" line="on">
+
<nowiki>{{</nowiki>{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}<nowiki>|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}</nowiki>
{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}
+
</code>
</syntaxhighlight>
+
:gives...
:<code><nowiki>{{</nowiki>{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}<nowiki>|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}</nowiki></code> gives...
 
 
| style="background-color:silver;" |
 
| style="background-color:silver;" |
 
{{{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}
 
{{{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}|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 -->

Revision as of 04:40, 1 May 2016

Description

This template is used to do something.

Dependencies

  • Uses (some CSS, JS, file, or other template).

Syntax

Type {{Documentation|param1|namedparam=}} somewhere.

Sample output

Sample output
Code Output

{{Documentation|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}

gives...
Template documentation (for the above template, sometimes hidden or invisible) [create]
This template doesn't have any documentation yet! Help out by writing some. There may also be documentation on Wikia Templates which can be copied.
This template currently doesn't have any documentation; you can create it if you know how the template is used. (What is this?)
If you're done making changes, please refresh the text.
Please add categories and interwikis to foo1. (View all subpages of this page.)

See also

  • [[Template:]]
  • [[]]