Template:Contributions: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 3: Line 3:
{{#cargo_query:
{{#cargo_query:
tables=Pages_Info
tables=Pages_Info
|where=(Pages_Info.Sources="{{{1}}}")
|where=(Pages_Info.Sources HOLDS "{{{1}}}")
|fields=COUNT(Pages_Info._pageName)
|fields=COUNT(Pages_Info._pageName)
}} articles<br />
}} articles<br />
{{#cargo_query:
{{#cargo_query:
tables=Pages_Info
tables=Pages_Info
|where=Pages_Info.Sources="{{{1}}}"
|where=Pages_Info.Sources HOLDS "{{{1}}}"
|fields=CONCAT('[[', Pages_Info._pageName, '|', Pages_Info.Page_Title, ']]')
|fields=CONCAT('[[', Pages_Info._pageName, '|', Pages_Info.Page_Title, ']]')
|order by=Pages_Info.Page_Title
|order by=Pages_Info.Page_Title
Line 23: Line 23:


==Syntax==
==Syntax==
<pre>{{Contributions|authorName}}</pre>
<pre>{{Contributions|Source}}</pre>


==Example==
==Examples==
<pre>{{Contributions|Rlyehable}}</pre>
<pre>{{Contributions|Rlyehable}}</pre>


produces...
<pre>{{Contributions|Player's Handbook (5e)}}</pre>
 
===Produces===


{{Contributions|Rlyehable}}
{{Contributions|Rlyehable}}
{{Contributions|Player's Handbook (5e)}}


[[Category:User Templates]]
[[Category:User Templates]]
</noinclude>
</noinclude>

Latest revision as of 05:58, 27 September 2022

Use

Place at the bottom of user pages to link to the user's contributions

Syntax

{{Contributions|Source}}

Examples

{{Contributions|Rlyehable}}
{{Contributions|Player's Handbook (5e)}}

Produces

Rlyehable Contrigubtions +
Cannot access the database: :real_connect(): (HY000/1226): User 'a1618b_wiki5' has exceeded the 'max_user_connections' resource (current value: 10)
articles
Cannot access the database: :real_connect(): (HY000/1226): User 'a1618b_wiki5' has exceeded the 'max_user_connections' resource (current value: 10)


Player's Handbook (5e) Contrigubtions +
Cannot access the database: :real_connect(): (HY000/1226): User 'a1618b_wiki5' has exceeded the 'max_user_connections' resource (current value: 10)
articles
Cannot access the database: :real_connect(): (HY000/1226): User 'a1618b_wiki5' has exceeded the 'max_user_connections' resource (current value: 10)