Template:Documentation/preload: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{#ifexist: Template:Documentation/preload | <!-- nothing; preload already copied --> | :<strong class="error">Please copy <nowiki>{{Documentation}}</nowiki>'s preload templat...") |
No edit summary |
||
Line 1: | Line 1: | ||
;Description | ;Description | ||
:This template is used to do something. | :This template is used to do something. | ||
;Dependencies: | ;Dependencies:<!-- delete if N/A --> | ||
:* Uses (some CSS, JS, file, or other template). | :* Uses (some CSS, JS, file, or other template).<!-- delete if N/A --> | ||
;Syntax | ;Syntax | ||
:Type < | :Type {{t|{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}|param1<!-- delete if N/A -->|namedparam=<!-- delete if N/A -->|style=code}} somewhere. | ||
;Sample output | ;Sample output | ||
:<code> | :<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... | ||
:{{ | :{{{{<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 --> | |||
:* [[Template:<!-- Some other template -->]]<!-- delete if N/A --> | |||
:* [[<!-- Some other related page -->]]<!-- delete if N/A --> | |||
<includeonly> | <includeonly><<noinclude/>includeonly> | ||
</includeonly><noinclude> | <!-- Categories/interwikis for the template --> | ||
<<noinclude/>/includeonly><<noinclude/>noinclude> | |||
<!-- Categories/interwikis for this documentation --> | |||
[[Category:Template documentation]] | [[Category:Template documentation]] | ||
< | <<noinclude/>/noinclude></includeonly> | ||
</includeonly | |||
Latest revision as of 17:11, 22 October 2017
- 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
{{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. (Why?)
You can experiment in this template's sandbox (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to foo1. (View all subpages of this page.)
- See also
-
- [[Template:]]
- [[]]