Template:Contributions: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{1|}}}|<div style="border:solid 1px gainsboro; border-radius:0.5em; background:honeydew; padding:0.5em;">[[User:{{{1}}}|{{{1}}}]] Contrigubtions <span class="mw-customtoggle-myDivision-Contributions"><sup>+</sup></span> | <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='{{{1}}}' | |where=(Pages_Info.Sources='{{{1}}}') | ||
|fields=COUNT(Pages_Info._pageName) | |fields=COUNT(Pages_Info._pageName) | ||
}} articles<br /> | }} articles<br /> |
Revision as of 07:11, 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 +
Cannot access the database: :real_connect(): (HY000/1226): User 'a1618b_wiki5' has exceeded the 'max_user_connections' resource (current value: 10)
articlesCannot access the database: :real_connect(): (HY000/1226): User 'a1618b_wiki5' has exceeded the 'max_user_connections' resource (current value: 10)