Difference between revisions of "Template:Newbee/doc"

From Goon Wiki
Jump to: navigation, search
(Created page with "This template sets metadata for Newbee-related pages. <noinclude>Category:Template documentation</noinclude>")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This template sets metadata for Newbee-related pages.
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 guide type]]. This can be ''Overview'', ''Services'', ''Guides'', or ''Other''.
*'''description:''' Sets the [[Property:Newbee guide description|Newbee guide description]]. This should be a text string which gives a quick overview of the guide.
*'''priority:''' Sets the [[Property:Newbee guide priority|Newbee guide priority]]. 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>

Latest revision as of 08:33, 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:

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}}