Template:Documentation/Documentation: Difference between revisions

Template page
w:c:strategywiki>Notmyhandle
(creation)
 
w:c:strategywiki>Notmyhandle
(update)
Line 1: Line 1:
This template is used to show that a template's documentation has been transcluded from a subpage titled "Documentation".
This template is used to show that a template or page's documentation or content has been transcluded from a subpage.  Using this template with no parameter will assume it is being transcluded from <nowiki>{{PAGENAME/Documentation}}</nowiki>.


== Optional Parameter ==
== Optional Parameters ==
If you need to subpage the documentation from a different page, simple enter the base page's name (do not include "Template:" or "/Documentation") after a pipe.
If you need to subpage the documentation from a different page, simply enter the base page's name (do not include "Template:" or "/Documentation") after a pipe.
 
If you want to transclude a page not from a template, then enter the page's name as the first parameter, and anything in the second (only one character please).


== Example ==
== Example ==
Line 8: Line 10:
;or
;or
<pre>{{Documentation|OTHER PAGE NAME}}<pre>
<pre>{{Documentation|OTHER PAGE NAME}}<pre>
;or
<pre>{{Documentation|OTHER PAGE NAME/WHATEVER|1}}</pre>

Revision as of 01:55, 20 March 2008

This template is used to show that a template or page's documentation or content has been transcluded from a subpage. Using this template with no parameter will assume it is being transcluded from {{PAGENAME/Documentation}}.

Optional Parameters

If you need to subpage the documentation from a different page, simply enter the base page's name (do not include "Template:" or "/Documentation") after a pipe.

If you want to transclude a page not from a template, then enter the page's name as the first parameter, and anything in the second (only one character please).

Example

{{Documentation}}
or
{{Documentation|OTHER PAGE NAME}}<pre>
;or
<pre>{{Documentation|OTHER PAGE NAME/WHATEVER|1}}