Wiktenauer logo.png

Difference between revisions of "Template:Open task"

From Wiktenauer
Jump to navigation Jump to search
 
Line 2: Line 2:
 
<div style="text-align:center; margin:0px; background: #f7f7f7; border: 1px solid #aaaaaa; padding: 2px">
 
<div style="text-align:center; margin:0px; background: #f7f7f7; border: 1px solid #aaaaaa; padding: 2px">
 
; <big>{{{label|}}}</big></div>
 
; <big>{{{label|}}}</big></div>
<ul><li>{{#arraymap: {{#ask: [[category:{{{category|}}}]] | order=random | limit=5 | format=template | template=Open task/item | searchlabel= }} | /-/ | item | item | </li><li> }}</li></ul>
+
<ul><li>{{#arraymap: {{#ask: [[category:{{{category|}}}]] | order=random | limit=5 | format=template | template=Open task/item | default=''No more tasks in this category!'' | searchlabel= }} | /-/ | item | item | </li><li> }}</li></ul>
 
:'''''[[:category:{{{category|}}}|More...]]'' {{#if: {{{learn how|}}} | • [[{{{learn how|}}}|Learn how]] }}'''</includeonly>
 
:'''''[[:category:{{{category|}}}|More...]]'' {{#if: {{{learn how|}}} | • [[{{{learn how|}}}|Learn how]] }}'''</includeonly>

Latest revision as of 21:30, 21 February 2017