Difference between revisions of "Template:GroupType"

From Wikispooks
Jump to navigation Jump to search
(better category for it)
m (Text replacement - "captionSingular" to "caption_singular")
Line 9: Line 9:
 
<nowiki>}}</nowiki></noinclude><includeonly>[[Constitutes::GroupType| ]]{{SMWDocSection
 
<nowiki>}}</nowiki></noinclude><includeonly>[[Constitutes::GroupType| ]]{{SMWDocSection
 
|expression= [[Has groupType::{{Uncapitalize|{{PAGENAME}}}}]]
 
|expression= [[Has groupType::{{Uncapitalize|{{PAGENAME}}}}]]
|captionSingular={{#if: {{{section|}}}|{{{section}}}| {{PAGENAME}} Group}} on Wikispooks
+
|caption_singular={{#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&nbsp;page
 
|mainlabel = Wikispooks&nbsp;page

Revision as of 13:23, 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
}}