(Added ability to disable Category) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{nocategory|}}}|[[Category:Guide]]}} {{#if:{{{narrow|}}}|<templatestyles src=Guide/narrow.css />}}<templatestyles src=Truthtable/styles.css /></includeonly><noinclude> | <includeonly>{{#if:{{{nocategory|}}}||[[Category:Guide]]}} {{#if:{{{narrow|}}}|<templatestyles src=Guide/narrow.css />}}<templatestyles src=Truthtable/styles.css /></includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
Adds the current page to the [[:Category:guide|guide]] category. | Adds the current page to the [[:Category:guide|guide]] category. |
Revision as of 11:40, 22 November 2023
Usage
Adds the current page to the guide category.
- Optionally narrows the the paragraph width.
{{guide| narrow = Set to 1, or any value, to reduce the paragraph width (Optional). nocategory = Set to 1, or any value, to prevent the page from being included in the Guide Category }}
Normal example
{{guide}}
For a guide with default styling & width.
Narrow example
{{guide|narrow=1}}
For a guide with narrower paragraphs.