Difference between revisions of "Template:KnownParticipants"

From Wikispooks
Jump to navigation Jump to search
m (Fix brackets)
(Fix?)
 
(One intermediate revision 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 ={{#ifeq: {{#ask: [[-Has member::{{PAGENAME}}]][[Constitutes::+]]|format=count}} | {{#ask: [[-Has member::{{PAGENAME}}]]|format=count}} |  
+
|text ={{#ifeq: {{#ask: [[-Has participant::{{PAGENAME}}]][[Constitutes::+]]|format=count}} | {{#ask: [[-Has participant::{{PAGENAME}}]]|format=count}} |  
All {{#ask: [[-Has member::{{PAGENAME}}]]|format=count}} of the participants already have pages here:
+
All {{#ask: [[-Has participant::{{PAGENAME}}]]|format=count}} of the participants already have pages here:
|mainlabel=Participant
+
| {{#ask: [[-Has participant::{{PAGENAME}}]][[Constitutes::+]]|format=count}} of the  
|properties=Description
+
{{#ask: [[-Has participant::{{PAGENAME}}]]|format=count}} of the participants already have pages here:}}
|headers=Description
 
}}  | {{#ask: [[-Has member::{{PAGENAME}}]][[Constitutes::+]]|format=count}} of the  
 
{{#ask: [[-Has member::{{PAGENAME}}]]|format=count}} of the participants already have pages here:
 
 
|mainlabel=Participant
 
|mainlabel=Participant
 
|properties=Description
 
|properties=Description

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