Template:Dochead/doc: Difference between revisions
ArrowHead294 (talk | contribs) m Template is optimised and no longer needs the span |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 13: | Line 13: | ||
This template is invoked by placing <code>{{((}}dochead{{))}}</code> at the top of a module or template's <code>{{!((}}/doc{{))!}}</code> subpage. | This template is invoked by placing <code>{{((}}dochead{{))}}</code> at the top of a module or template's <code>{{!((}}/doc{{))!}}</code> subpage. | ||
On modules, unless <code>header=none</code> is passed, a header will appear | On modules, unless <code>header=none</code> is passed, a header will appear. By default, this will attempt to point to the template with the same name: | ||
: {| style="background-color: #f8f9fa; border: 1px solid #eaecf0; width: 95%;" | : {| style="background-color: #f8f9fa; border: 1px solid #eaecf0; width: 95%;" | ||
Line 19: | Line 19: | ||
|} | |} | ||
but this can be changed by passing <code>temp=</code> followed by the name of the template (without <code>Template:</code> in front). | |||
=== See also === | === See also === |