Template:Guide: Difference between revisions

Template page
(Created page with "<includeonly>Category:Guide{{#if:{{{narrow|}}}|<templatesyltes src=Template:Guide/narrow.css/>}}</includeonly><noinclude> ==Usage== Adds the current page to the Category:guide category. * Optionally narrows the the paragraph width. <pre> {{guide| narrow = Set to 1, or any value, to reduce the paragraph width (Optional). }} </pre> ===Normal example=== <pre> {{guide}} </pre> For a guide with default styling & width. ===Narrow example=== <pre> {{guide|narrow=1}}...")
 
m (Remvoed space)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Guide]]{{#if:{{{narrow|}}}|<templatesyltes src=Template:Guide/narrow.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.
Line 7: Line 7:
{{guide|
{{guide|
narrow = Set to 1, or any value, to reduce the paragraph width (Optional).
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
}}
}}
</pre>
</pre>

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.