Changes

Jump to: navigation, search

Template:Documentation/preload

1,597 bytes added, 08:35, 8 April 2016
copy-over from latest version on http://templates.wikia.com/wiki/Template:Documentation/preload
;Description
:This template is used to do something.
;Dependencies:<!-- delete if N/A -->
:* Uses (some CSS, JS, file, or other template).<!-- delete if N/A -->
;Syntax
:Type {{t|{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}|param1<!-- delete if N/A -->|namedparam&#61;<!-- delete if N/A -->|style=code}} somewhere.
;Sample output
{| class="wikitable"
|+ Sample output
! Code !! Output
|-
| style="background-color:silver;" |
<syntaxhighlight lang="c" line="on">
{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}
</syntaxhighlight>
:<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;" |
{{{{<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><<noinclude/>includeonly><!-- Categories/interwikis for the template itself -->
[[Category:Shop Heroes Templates|{{PAGENAME}}]]
<<noinclude/>/includeonly><<noinclude/>noinclude>
<!-- Categories/interwikis for this documentation itself -->
[[Category:Template documentation|{{PAGENAME}}]]
<<noinclude/>/noinclude></includeonly>
1,071
edits

Navigation menu