Difference between revisions of "Template:GroupType"

From Wikispooks
Jump to navigation Jump to search
(remove grouptype)
(|section param)
Line 1: Line 1:
 
<noinclude>[[Category:Templates]]'''This template lists groups which are of the type of the page it is invoked on.'''<br/>
 
<noinclude>[[Category:Templates]]'''This template lists groups which are of the type of the page it is invoked on.'''<br/>
''See [[Property:Has groupType]]'' for a list of page that can fruitfully use it.''</noinclude><includeonly>{{SMWDocSection
+
''See [[Property:Has groupType]]'' for a list of page that can fruitfully use it.''<BR/>
 +
<BR/>
 +
Usage:<br/>
 +
<nowiki>{{</nowiki>{{PAGENAME}}|section=''Optional custom section heading''<nowiki>}}</nowiki></noinclude><includeonly>{{SMWDocSection
 
|expression= [[Has groupType::{{Uncapitalize|{{PAGENAME}}}}]]
 
|expression= [[Has groupType::{{Uncapitalize|{{PAGENAME}}}}]]
|captionSingular= {{PAGENAME}} Group on Wikispooks
+
|captionSingular={{#if: {{{section|}}}|{{{section}}}| {{PAGENAME}} Group}} on Wikispooks
|captionPlural= {{PAGENAME}} Groups on Wikispooks
+
|captionPlural={{#if: {{{section|}}}|{{{section}}}| {{PAGENAME}} Groups}} on Wikispooks
 
|mainlabel = Wikispooks page
 
|mainlabel = Wikispooks page
 
|properties=Display date/Has logo/Has website/Description
 
|properties=Display date/Has logo/Has website/Description
 
|headers=Date/Logo/WWW/Description
 
|headers=Date/Logo/WWW/Description
 
}}</includeonly>
 
}}</includeonly>

Revision as of 02:15, 9 May 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}}