Difference between revisions of "Template:KnownParticipants"

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

Latest revision as of 11:35, 9 April 2023

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

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

Known Participant(s)

Plus a table of the known participant(s) underneath