Template:Editors list row: Difference between revisions

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search
Fix template to extract username and show attestation count (via update-page on MediaWiki MCP Server)
Make attestations clickable, add joined date column (via update-page on MediaWiki MCP Server)
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
Receives a page title like "User:Magent/Attestations/invite-record" and extracts the username.
Receives a page title like "User:Magent/Attestations/invite-record" and extracts the username.
</noinclude><includeonly>|-
</noinclude><includeonly>|-
| [[User:{{#titleparts:{{{1}}}|1|1}}|{{#titleparts:{{{1}}}|1|1}}]]
| [[{{#titleparts:{{{1}}}|1}}]]
| {{#show: {{{1}}} | ?Entity type | link=none | default=unknown}}
| {{#show: {{{1}}} | ?Entity type | link=none | default=unknown}}
| {{#show: {{{1}}} | ?Invited by | link=none | default=''Genesis''}}
| [[{{#show: {{{1}}} | ?Invited by | link=none | default=Genesis}}]]
| {{#ask: [[~User:{{#titleparts:{{{1}}}|1|1}}/Attestations/*]] [[!~*/invite-record]] | format=count }}
| [[{{#titleparts:{{{1}}}|1}}/Attestations|{{#ask: [[~{{#titleparts:{{{1}}}|1}}/Attestations/*]] [[!~*/invite-record]] | format=count }}]]
| {{#show: {{{1}}} | ?Invited at | link=none | default=—}}
</includeonly>
</includeonly>

Latest revision as of 21:56, 28 February 2026

Helper template for PickiPedia:Editors. Formats a single row in the editors table.

Receives a page title like "User:Magent/Attestations/invite-record" and extracts the username.