Difference between revisions of "Template:GroupType"

From Wikispooks
Jump to navigation Jump to search
(better category for it)
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:WikiSpooks Templates‎]]'''This template lists groups which are of the type of the page it is invoked on.'''<br/>
+
<noinclude>[[Category:Wikispooks 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.''<BR/>
 
''See [[Property:Has groupType]]'' for a list of page that can fruitfully use it.''<BR/>
 
<BR/>
 
<BR/>
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
+
|caption_plural={{#if: {{{section|}}}|{{{section}}}| {{PAGENAME}} Groups}} on Wikispooks
 
|mainlabel = Wikispooks&nbsp;page
 
|mainlabel = Wikispooks&nbsp;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>

Latest revision as of 17:28, 14 October 2018

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