Open main menu

Project: Gorgon Wiki β

Changes

Template:Documentation/doc

836 bytes added, 06:58, 1 May 2016
m
On the Template/doc page: Making BASEPAGENAME call work incase template version not exist
===On the Template page===
<pre>
<noinclude>{{Underconstruction}}</noinclude><!-- Template code--><noinclude>
{{documentation}}
</noinclude>
===On the Template/doc page===
:''See also{{Ambox|border=blue|type=Preloading|info=Not needed when using the <i>preload functionality</i> provided by the <nowikib>:create</nowikib>'':*[[Template:link when using the {{t|Documentation}} template.<br/>The preload]]version will be more enhanced and is <b><u>recommended</u></b>.<br/>:*[[Template:To make use of the <i>preload functionality</i> click the <b>create</b> link provided when using the {{t|Documentation}} template.<br/preload-sandbox]]>:*[[Template:Documentation<b>Don't</preload-testcases]]b> forget to save the generated doc page without alterations first before making any changes to it !}}
<pre>
{{SPW|name={{subst:msg:BASEPAGENAME}}}};<includeonly><!-- Any categories for the template itself --></includeonly><noinclude>[[Category:Template documentation]]</noinclude>==Description==
:This template is used to do something.
;==Dependencies:==
:* Uses (some CSS, JS, file, or other template).
;==Syntax==
:Type <code>{{t|templatename}}</code> somewhere.
;==Sample output==
:<code>&lt;nowiki>{{templatename|foo}}</nowiki></code> gives...
:{{templatename|foo}}
 
<includeonly>Any categories for the template itself
</includeonly><noinclude>
[[Category:Template documentation]]
</noinclude>
</pre>
*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 {{t|T}}.
Use any or all of the above description== Dependencies ==:*[[Template:Documentation/syntaxpreload]]:*[[Template:Documentation/sample output sectionspreload-sandbox]]:*[[Template:Documentation/preload-testcases]]:*[[Template:T]] + [[Template:T/doc]]:*[[Template:Tocright]] + [[Template:Tocright/doc]]:*[[Template:SPW]] + [[Template:SPW/doc]]:*[[Template:Underconstruction]]<dl><dt>Site-wide CSS:</dt><dd><pre>. You may also want to add "see also" or further usage information sectionstemplate-documentation .color1,#bodyContent .template-documentation .color1 a,#bodyContent .template-documentation .color1 a.externalNote that the above example also uses {{t|T background-color:#36C; color:white;}}.</pre></dd></dl>
<includeonly>
[[Category:General wiki templates]]
 
[[ja:テンプレート:Documentation]]
[[zh:Template:Documentation]]
</includeonly><noinclude>
[[Category:Template documentation]]
 
[[ja:テンプレート:Documentation/doc]]
[[zh:Template:Documentation/doc]]
</noinclude>
1,071
edits