Template:Guide/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
No edit summary
(Formatting tweaks)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}


This template displays a notice that the page it appears on is a [[Path of Exile Wiki:Guides|guide]].
This template displays a notice that the page it appears on is a [[Path of Exile Wiki:Guides|guide]]. It is used to quickly inform readers of the subject matter covered and how up to date it is.


==Usage==
==Usage==
This template should be placed at the top the guide.
This template should be placed at the top of the guide.


The subject of the guide should be specified with <code>|subject=</code>.
The subject of the guide should be specified with <code>|subject=</code>.
Line 17: Line 17:


<pre>{{Guide|version=2.2.0}}</pre>
<pre>{{Guide|version=2.2.0}}</pre>
Articles using this template are automatically added to [[:Category:Guides]]. You can use <code>|nocat=1</code> to avoid this for test cases, etc.


===Examples===
===Examples===
Line 23: Line 25:
<pre>{{Guide|subject=completing [[Harvest]] encounters|version=3.14.0|date=March 20, 2021}}</pre>
<pre>{{Guide|subject=completing [[Harvest]] encounters|version=3.14.0|date=March 20, 2021}}</pre>


{{Guide|subject=completing [[Harvest]] encounters|version=3.14.0|date=March 20, 2021}}
{{Guide|subject=completing [[Harvest]] encounters|version=3.14.0|date=March 20, 2021|nocat=1}}


{{Documentation categories|
{{Documentation categories|
<!-- Categories and interwikis go here. -->
<!-- Categories and interwikis go here. -->
[[Category:Notice templates]]
[[Category:Notice templates]]
[[Category:Guide space templates]]
}}
}}

Latest revision as of 03:54, 5 December 2021

This subpage provides documentation for Template:Guide.

This template displays a notice that the page it appears on is a guide. It is used to quickly inform readers of the subject matter covered and how up to date it is.

Usage

This template should be placed at the top of the guide.

The subject of the guide should be specified with |subject=.

{{Guide|subject=using item filters}}

Show the date of the guide's most recent update using |date=. By default, the date of the most recent edit is used, but specifying the date manually means that minor revisions to the guide will not cause the date to change.

{{Guide|date=May 6, 2021}}

To indicate that the guide is valid as of a specific game version, use |version=. This parameter is completely optional, as it may not be applicable to the guide.

{{Guide|version=2.2.0}}

Articles using this template are automatically added to Category:Guides. You can use |nocat=1 to avoid this for test cases, etc.

Examples

Example with all parameters used:

{{Guide|subject=completing [[Harvest]] encounters|version=3.14.0|date=March 20, 2021}}

This is a guide on the subject of completing Harvest encounters.

Valid as of version 3.14.0. Last updated on March 20, 2021.