Difference between revisions of "Template:KnownMembers"

From Wikispooks
Jump to navigation Jump to search
(Fix text)
(Fix?)
 
Line 6: Line 6:
 
Plus a table of the known member(s) underneath
 
Plus a table of the known member(s) underneath
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
|expression=[[-Has participant::{{PAGENAME}}]][[Constitutes::+]]
+
|expression=[[-Has member::{{PAGENAME}}]][[Constitutes::+]]
|caption_singular=Known Participant
+
|caption_singular=Known member
|caption_plural=Known Participants
+
|caption_plural=Known members
|text = {{#ask: [[-Has participant::{{PAGENAME}}]][[Constitutes::+]]|format=count}} of the  
+
|text = {{#ifeq: {{#ask: [[-Has member::{{PAGENAME}}]][[Constitutes::+]]|format=count}} | {{#ask: [[-Has member::{{PAGENAME}}]]|format=count}} |
{{#ask: [[-Has participant::{{PAGENAME}}]]|format=count}} known participants already have pages here:
+
All {{#ask: [[-Has member::{{PAGENAME}}]]|format=count}} of the members already have pages here:
|mainlabel=Participant
+
| {{#ask: [[-Has member::{{PAGENAME}}]][[Constitutes::+]]|format=count}} of the  
 +
{{#ask: [[-Has member::{{PAGENAME}}]]|format=count}} of the members already have pages here:}}
 +
|mainlabel=Member
 
|properties=Description
 
|properties=Description
 
|headers=Description
 
|headers=Description
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 11:27, 9 April 2023

This template creates a section listing the known members of {{PAGENAME}}, i.e. those with a page. It has no parameters.

If the page name has any members, it makes a section:

Known Participant(s)

Plus a table of the known member(s) underneath