Template:Documentation/doc

From Star Control - Official Wiki
Revision as of 18:31, 26 September 2017 by Jsan (talk | contribs) (Created page with " === Use === To provide documentation for templates. === Usage === Just add the following after your documentation definition: <pre>{{documentation}}fckLR</pre> The noincl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Use

To provide documentation for templates.

Usage

Just add the following after your documentation definition:

{{documentation}}fckLR

The noinclude is important, so you don't have it appear in the actual inclusion.

CSS

To prettify the documentation Common.css needs the following:

.template-documentation {
	background: #ccf; 
	padding: 3px 5px;
	border: 1px solid #77a;
}
.template-documentation .fake-h2 {
	font-size: 18pt;
	border-bottom: 1px solid #77a;
	margin: 8px 0px 4px;
	font-weight: bold;
}