Jump to content

Template:Skillset: Difference between revisions

From Squirrel's Lair
Ttenbergen (talk | contribs)
No edit summary
Ttenbergen (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
Show:  
This template is used on pages about [[Skillset]]s, ie. in the [[:Category:Skillset]]. It takes a parameter 1 with a description of the skillset, lists that description, and then transcludes [[Template:ProjectGallery]] to list all projects using that [[Skillset]].
* section for short description start (encode data)
* list projects that call on the skill as picture table
* once project template exists, this should be changed to list by Cargo rather than by category, more powerful and can include pictures.  


[[Category:Project Wiki Infrastructure]]
[[Category:Project Wiki Infrastructure]]
Line 12: Line 9:
----
----
</noinclude><includeonly>
</noinclude><includeonly>
{{{1}}}
{{{Description}}}


Click any of the images for more about that project.
Click any of the images for more about that project.
{{#cargo_query:
{{ProjectGallery|Project.skillSet HOLDS '{{PAGENAME}}'}}
tables=Project
|fields=Project.mainImage,_pageName,shortDescription
|where=Project.skillSet HOLDS '{{PAGENAME}}'  
|format=gallery
|mode=traditional
|caption field=shortDescription
|alt field=_pageName
|link field=_pageName
|limit=1000
|show filename=0
|show bytes=0
|show dimensions=0
|default=
}}
 
[[Category:{{PAGENAME}} | * ]]
[[Category:{{PAGENAME}} | * ]]
[[Category:Skillset]]</includeonly>
[[Category:Skillset]]</includeonly>

Latest revision as of 13:02, 2021 October 26

This template is used on pages about Skillsets, ie. in the Category:Skillset. It takes a parameter 1 with a description of the skillset, lists that description, and then transcludes Template:ProjectGallery to list all projects using that Skillset.