Difference between revisions of "Template:Newbee/doc"
From Goon Wiki
(Created page with "This template sets metadata for Newbee-related pages. <noinclude>Category:Template documentation</noinclude>") |
|||
Line 1: | Line 1: | ||
This template | This is a template for use in assigning data to [[Newbee Guides]]. | ||
Call this template on the page for a policy or rule by using '''<nowiki>{{Newbee}}</nowiki>'''. The template does not set the properties of the page automatically. | |||
Variables usable in the template are as follows: | |||
*'''type:''' Sets the [[Property:Newbee guide type|Newbee guidetype]]. This can be ''Overview'', ''Services'', ''Guides'', or ''Other''. | |||
*'''description:''' Sets the [[Property:Newbee guide description|Newbee guidedescription]]. This should be a text string which gives a quick overview of the guide. | |||
*'''priority:''' Sets the [[Property:Newbee guide priority|Newbee guidepriority]]. This is a number, which controls the order in which a guide is surfaced in [[Template:Sidebar Newbee]]. | |||
Invoking this template also adds the page to [[:Category:Newbee guides]]. It does not add the page to any other categories. | |||
A full call of the template looks like this: | |||
<pre>{{Policy | |||
|type=Overview | |||
|description=An example guide. | |||
|priority=0}}</pre> | |||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 08:32, 11 November 2021
This is a template for use in assigning data to Newbee Guides.
Call this template on the page for a policy or rule by using {{Newbee}}. The template does not set the properties of the page automatically.
Variables usable in the template are as follows:
- type: Sets the Newbee guidetype. This can be Overview, Services, Guides, or Other.
- description: Sets the Newbee guidedescription. This should be a text string which gives a quick overview of the guide.
- priority: Sets the Newbee guidepriority. This is a number, which controls the order in which a guide is surfaced in Template:Sidebar Newbee.
Invoking this template also adds the page to Category:Newbee guides. It does not add the page to any other categories.
A full call of the template looks like this:
{{Policy |type=Overview |description=An example guide. |priority=0}}