Template:Contributions: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><!--[[Special:Contributions/{{{1|}}}]]-->{{#if: {{{1|}}}|<div style="border:solid 1px gainsboro; border-radius:0.5em; background:honeydew; padding:0.5em;">User:...") |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly | <includeonly>{{#if: {{{1|}}}|<div style="border:solid 1px gainsboro; border-radius:0.5em; background:honeydew; padding:0.5em;">{{#ifexist: User:{{{1}}}|[[User:{{{1}}}|{{{1}}}]]|{{pub|{{{1}}}}}|}} Contrigubtions <span class="mw-customtoggle-myDivision-Contributions"><sup>+</sup></span> | ||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision-Contributions"> | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision-Contributions"> | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=Pages_Info | tables=Pages_Info | ||
|where=(Pages_Info.Sources= | |where=(Pages_Info.Sources="{{{1}}}") | ||
|fields=COUNT(Pages_Info._pageName) | |fields=COUNT(Pages_Info._pageName) | ||
}} articles<br /> | }} articles<br /> |
Revision as of 08:13, 11 April 2021
Use
Place at the bottom of user pages to link to the user's contributions
Syntax
{{Contributions|authorName}}
Example
{{Contributions|Rlyehable}}
produces...
Rlyehable Contrigubtions +
Error: operator for the virtual field 'Pages_Info.Sources' must be 'HOLDS', 'HOLDS NOT', 'HOLDS LIKE' or 'HOLDS NOT LIKE'.
articlesError: operator for the virtual field 'Pages_Info.Sources' must be 'HOLDS', 'HOLDS NOT', 'HOLDS LIKE' or 'HOLDS NOT LIKE'.