Template:Dochead/doc: Difference between revisions
ArrowHead294 (talk | contribs) No edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 2: | Line 2: | ||
This template automatically inserts the default documentation header: | This template automatically inserts the default documentation header: | ||
: {| style="margin: 15px 0px 15px 0px; width: 95%;" | : {| style="background-color: #f8f9fa; border: 1px solid #eaecf0; margin: 15px 0px 15px 0px; width: 95%;" | ||
| <hr /><span style="font-size: 0.75em;">Documentation transcluded from [[/doc]]</span> | | <hr /><span style="font-size: 0.75em;">Documentation transcluded from [[/doc]]</span> | ||
|} | |} | ||
Line 17: | Line 17: | ||
On modules, unless <code>header=none</code> is passed, a header will appear which points to the template invoked: | On modules, unless <code>header=none</code> is passed, a header will appear which points to the template invoked: | ||
: '''Note:''' Do not invoke this module directly. Use the corresponding template instead: [[Template:{{ROOTPAGENAME}}]]. | : {| style="background-color: #f8f9fa; border: 1px solid #eaecf0; width: 95%;" | ||
| '''Note:''' Do not invoke this module directly. Use the corresponding template instead: [[Template:{{ROOTPAGENAME}}]]. | |||
|} | |||
The linked template can be changed by passing <code>temp=</code> followed by the name of the template. | The linked template can be changed by passing <code>temp=</code> followed by the name of the template. |