Template:Guide: Difference between revisions

Template page
(Added ability to disable Category)
m (Remvoed space)
 
(One intermediate revision by one other user not shown)
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.

Latest revision as of 13:07, 29 November 2023

Usage[edit source]

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[edit source]

{{guide}}

For a guide with default styling & width.

Narrow example[edit source]

{{guide|narrow=1}}

For a guide with narrower paragraphs.