Template:Group: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:|Topics (label=Related Topics;list;property=Has Topic;display=nonempty)|Projects (list;property=Has Part;display=nonempty)}} | {{#template_params:|Topics (label=Related Topics;list;property=Has Topic;display=nonempty)|Projects (list;property=Has Part;display=nonempty)}} | ||
<nowiki> | |||
{{#arraymap:{{#ask:[[In Group::{{SUBJECTPAGENAME}}]]|?=#}}|,|x|{{#set:Has Member=x}}}} | |||
</nowiki> | |||
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | </noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | ||
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ||
Line 21: | Line 24: | ||
|} | |} | ||
{{#set:Has Member={{#ask:[[In Group::{{SUBJECTPAGENAME}}]]|?=#}}|+sep=,}} | |||
{{#set:Has Member={{#ask:[[In Group::{{SUBJECTPAGENAME}}]]}}|+sep=,}} | |||
[[Category:Group]] | [[Category:Group]] | ||
</includeonly> | </includeonly> |
Revision as of 05:15, 21 October 2022
This is the "Group" template.
It should be called in the following format:
{{Group |Topics= |Projects= }}
Edit the page to see the template text.
{{#arraymap:{{#ask:[[In Group::{{SUBJECTPAGENAME}}]]|?=#}}|,|x|{{#set:Has Member=x}}}}