SandBox: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 94: Line 94:
</div>
</div>
   </div>
   </div>
<div class="mainpage_box">
  <div class="mainpage_box">
                <div id="mainpage-news" title=" News" class="items">
      <div id="mainpage-project" title=" Project" class="items">
{{#ask:  
{{#ask:  
  [[Category:News]]
  [[Category:Project]]
[[Is displayed::true]]
  |sort=From location
  |sort=Has date published
  |order=random
  |order=descending
  |limit=1
  |limit=1
  |?=
  |?=#
  |?Has image#=2
  |?Has image#=2
|?Has URL#=3
  |format=plainlist
  |format=plainlist
  |named args=yes
  |named args=yes
  |template=Single image
  |template=Single image inside
  |searchlabel=
  |searchlabel=
}}
}}</br>{{#ask:
{{#ask:
  [[Category:Project]]
  [[Category:News]]
  |sort=From location
[[Is displayed::true]]
  |order=random
  |sort=Has date published
  |limit=4
  |order=descending
  |?=
  |limit=5
|?=#
|?Has URL#=2
  |?Has date published#-F[d-M-y]=3
  |format=plainlist
  |format=plainlist
  |named args=yes
  |named args=yes
|introtemplate=Show link Header
  |template=Line break
  |template=Show link
  |searchlabel=
  |outrotemplate=Show link Footer
}}
}}
</div>
</div>

Revision as of 05:22, January 25, 2022