Difference between revisions of "Template:KnownParticipants"

From Wikispooks
Jump to navigation Jump to search
(fix caption)
Line 8: Line 8:
 
|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 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  
 
{{#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
 
|properties=Description
 
|properties=Description
 
|headers=Description
 
|headers=Description
}}</includeonly>
+
}} }}
 +
}}
 +
</includeonly>

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