Template:Dochead/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) m Template is optimised and no longer needs the span |
||
Line 2: | Line 2: | ||
This template automatically inserts the default documentation header: | This template automatically inserts the default documentation header: | ||
: {| style="background-color: #f8f9fa; border: 1px solid #eaecf0 | : {| style="background-color: #f8f9fa; border: 1px solid #eaecf0; 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> | ||
|} | |} | ||
onto the main pages for certain items (mostly templates and modules), while also providing a link to the documentation subpage. | onto the main pages for certain items (mostly templates and modules), while also providing a link to the documentation subpage. | ||
It also places items inside their respective categories, which eliminates the need to do this manually. Currently, it is configured to place modules and their documentation inside their respective categories ([[:Category:Lua modules]] and [[:Category:Module documentation]]). | It also places items inside their respective categories, which eliminates the need to do this manually. Currently, it is configured to place modules and their documentation inside their respective categories ([[:Category:Lua modules]] and [[:Category:Module documentation]]). |