Template:Documentation/Wikia Templates
From Templates Wiki
Jump to navigation
Jump to search
Template documentation (for the above template, sometimes hidden or invisible)[view] [edit] [history] [refresh]
Template:Tocright
- Please copy {{Tocright}} from wikiatemplates:Template:Tocright to Template:Tocright!
- Please copy {{Tocright}}'s documentation from wikiatemplates:Template:Tocright/doc to Template:Tocright/doc!
- Please copy {{SPW}} from wikiatemplates:Template:SPW to Template:SPW!
- Please copy {{SPW}}'s documentation from wikiatemplates:Template:SPW/doc to Template:SPW/doc!
- Description
- This template is used to insert documentation on template pages.
- Syntax
- Type
<noinclude>
{{[[Template:|]]}}
</noinclude>
at the end of the template page.
General usage[edit source]
On the Template page[edit source]
Template code<includeonly>Any categories to be inserted into articles by the template </includeonly><noinclude> {{documentation}} </noinclude>
On the Template/doc page[edit source]
- See also Template:Documentation/preload
{{SPW|name={{subst:BASEPAGENAME}}}} ;Description :This template is used to do something. ;Syntax :Type <code>{{t|templatename}}</code> somewhere. ;Sample output :<code><nowiki>{{templatename|foo}}</nowiki></code> gives... :{{templatename|foo}} <includeonly>Any categories for the template itself </includeonly><noinclude>[[Category:Template documentation]] </noinclude>
Use any or all of the above description/syntax/sample output sections. You may also want to add "see also" or further usage information sections.
Note that the above example also uses {{[[Template:|]]}} .
The above text is transcluded from Template:Documentation/Wikia Templates/doc; you can change it or view its history. (How does this work?)
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 Template:Documentation/Wikia Templates/doc. (View all subpages of this page.)
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 Template:Documentation/Wikia Templates/doc. (View all subpages of this page.)