Template:Count and list
Revision as of 13:14, 26 August 2022 by Kevin Wang (talk | contribs) (Created page with "<includeonly>{{Save|red_links|blue_links|i|link}}{{#vardefine:red_links|0}}{{#vardefine:blue_links|0}}{{#vardefine:input|{{{1|}}}}}{{#vardefine:i|0}} {{Columns-list|colwidth={...")
Given a list of fields (comma delimited), count the number of links which point to pages with exist and the number which point to pages that don't.
Incorporates Template:Exists to circumvent the "500 per page" limit of #ifexist.
| Input | Output |
|---|---|
{{Count and list|
X,
Y,
Z}}
|
This list includes 0 blue links and 3 red links. |
{{Count and list|
2020 ACF Fall,
2021 ACF Fall,
2022 ACF Regionals}}
|
This list includes 3 blue links and 0 red links. |