Difference between revisions of "Template:GroupType"

From Wikispooks
Jump to navigation Jump to search
m (Text replacement - "|Date" to "|publication_date")
(Tidy headers)
Line 11: Line 11:
 
|captionSingular={{#if: {{{section|}}}|{{{section}}}| {{PAGENAME}} Group}} on Wikispooks
 
|captionSingular={{#if: {{{section|}}}|{{{section}}}| {{PAGENAME}} Group}} on Wikispooks
 
|captionPlural={{#if: {{{section|}}}|{{{section}}}| {{PAGENAME}} Groups}} on Wikispooks
 
|captionPlural={{#if: {{{section|}}}|{{{section}}}| {{PAGENAME}} Groups}} on Wikispooks
|mainlabel = Wikispooks page
+
|mainlabel = Wikispooks page
 
|properties={{#if: {{{properties|}}}|{{{properties}}}|Display date/Has logo/Has website/Description}}
 
|properties={{#if: {{{properties|}}}|{{{properties}}}|Display date/Has logo/Has website/Description}}
|headers={{#if: {{{headers|}}}|{{{headers}}}|publication_date/Logo/WWW/Description}}
+
|headers={{#if: {{{headers|}}}|{{{headers}}}|Date/Logo/WWW/Description}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 14:32, 24 July 2014

This template lists groups which are of the type of the page it is invoked on.
See Property:Has groupType for a list of page that can fruitfully use it.

Usage:
{{GroupType
|section=Optional custom section heading
|properties=Optional custom set of properties
|headers=Optional custom set of headers
}}