Difference between revisions of "Template:KnownParticipants"

From Wikispooks
Jump to navigation Jump to search
(If expr to test for all the known participants)
Line 9: Line 9:
 
|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 member::{{PAGENAME}}]][[Constitutes::+]]|format=count}} | {{#ask: [[-Has member::{{PAGENAME}}]]|format=count}} |  
All {{#ask: [[-Has member::{{PAGENAME}}]]|format=count}}  of the participants already have pages here: | {{#ask: [[-Has member::{{PAGENAME}}]][[Constitutes::+]]|format=count}} of the  
+
All {{#ask: [[-Has member::{{PAGENAME}}]]|format=count}}  of the participants already have pages here:
 +
|mainlabel=Participant
 +
|properties=Description
 +
|headers=Description
 +
}}  | {{#ask: [[-Has member::{{PAGENAME}}]][[Constitutes::+]]|format=count}} of the  
 
{{#ask: [[-Has member::{{PAGENAME}}]]|format=count}} of the participants already have pages here:
 
{{#ask: [[-Has member::{{PAGENAME}}]]|format=count}} of the participants already have pages here:
 
|mainlabel=Participant
 
|mainlabel=Participant

Revision as of 17:15, 5 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