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)
Fix double User: prefix and make Invited By a link (via update-page on MediaWiki MCP Server)
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 }}
| {{#ask: [[~{{#titleparts:{{{1}}}|1}}/Attestations/*]] [[!~*/invite-record]] | format=count }}
</includeonly>
</includeonly>

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