Template:Query skill: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
(Created page with "<noinclude> This is the "Query project" template. It should be called in the following format: <pre> {{Query project | skill = Skill required | location = City State }} </pre> Edit the page to see the template text. </noinclude> <includeonly>If your search produces more than five results and you want to see all the results click the '''... further results''' link at the bottom of the results. {{#ask: Category:Person Is active::True {{#if:{{...")
 
No edit summary
 
(44 intermediate revisions by the same user not shown)
Line 10: Line 10:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude>
</noinclude>
<includeonly>If your search produces more than five results and you want to see all the results click the '''... further results''' link at the bottom of the results.
<includeonly>If your search produces more than nine results and you want to see all the results click the '''... further results''' link.
__NOEDITSECTION__
{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}
{|style="text-align:center;"


{{#ask:
{{#ask:
  [[Category:Person]]
  [[Category:Person]]
  [[Is active::True]]
  [[Is active::True]]
  {{#if:{{{skill|}}} | [[Has skill::{{{skill}}}]] | }}
  {{#if:{{{skill|}}} | [[Has skill::{{{skill|}}}]] | }}
  {{#if:{{{location|}}} | [[In municipality::{{{location}}}]] | }}
  {{#if:{{{location|}}} | [[From location::{{{location|}}}]] | }}
|limit=6
  |?=name
  |?=Full name
  |?Has image#=image
  |?=Last name
  |?Has caption#=caption
|?Portrait
  |format=plainlist
  |?Has caption
  |named args=yes
  |format=gallery
  |introtemplate=ConsultantHead
  |imageproperty=Portrait
  |template=DisplayConsultant
  |captionproperty=Has caption
  |outrotemplate=ConsultantFoot
  |autocaptions=no
  |limit=9
  |widths=320
  |heights=320
|navigation=auto
|perrow=3
}}
}}
</includeonly>
</includeonly>

Latest revision as of 01:31, January 22, 2024

This is the "Query project" template. It should be called in the following format:

{{Query project
| skill            = Skill required
| location         = City State
}}

Edit the page to see the template text.