Difference between revisions of "Template:GroupType"

From Wikispooks
Jump to navigation Jump to search
m (Text replacement - "captionSingular" to "caption_singular")
m (Text replacement - "captionPlural" to "caption_plural")
Line 10: Line 10:
 
|expression= [[Has groupType::{{Uncapitalize|{{PAGENAME}}}}]]
 
|expression= [[Has groupType::{{Uncapitalize|{{PAGENAME}}}}]]
 
|caption_singular={{#if: {{{section|}}}|{{{section}}}| {{PAGENAME}} Group}} on Wikispooks
 
|caption_singular={{#if: {{{section|}}}|{{{section}}}| {{PAGENAME}} Group}} on Wikispooks
|captionPlural={{#if: {{{section|}}}|{{{section}}}| {{PAGENAME}} Groups}} on Wikispooks
+
|caption_plural={{#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}}}|Date/Logo/WWW/Description}}
 
|headers={{#if: {{{headers|}}}|{{{headers}}}|Date/Logo/WWW/Description}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 13:27, 15 January 2016

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