Difference between revisions of "User:HgO/sandbox"

From Pirate Party Belgium
Jump to: navigation, search
(test embedded video)
(nettoyage)
 
(39 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:CreatingUserPagePreviewAndSave.webm|thumb|upright=2|center]]
+
{{#set:Title Icon=Toicon-icon-avocado-fold.svg}}
 
+
{{#geodistance:{{#geocode:Braine-l'Alleud}}|{{#geocode:Waremme, Belgium}}|km}}
<inputbox>
 
type=search2
 
break=no
 
</inputbox>
 
(see [https://www.mediawiki.org/wiki/Extension:InputBox this page])
 
 
 
[[{{#ask:[[Category:Pirate Lab]]
 
|?#-
 
|format=list
 
|limit=1
 
|headers=hide
 
|mainlabel=-
 
|searchlabel=
 
|sort=Has date
 
|order=desc
 
}}|Next Pirate Lab]]
 
 
 
[[{{#ask:[[Category:Meeting]] [[Category:Crew BW]] [[Has date::>={{#time: Y-m-j|now}}]]
 
|?#-
 
|format=list
 
|limit=1
 
|link=all
 
|headers=hide
 
|mainlabel=-
 
|searchlabel=
 
|sort = Has date
 
|order = desc
 
}}|Prochaine réunion BW]] --> ne marche pas car on ne connaît pas toujours la date précise, et on utilise deux pages (une pour l'ordre du jour, l'autre pour le compte-rendu) :/
 
  
 +
Réunions dans un rayon de 50km autour de Braine:
  
List of future [[:Category:Meeting|meetings]]:
+
{{#ask: [[Has event type::Meeting]] [[Has date::>{{#time:Y/m/j|now}}]] [[Has coordinates::{{#geocode: Braine-l'Alleud, Belgium}} (62000 m)]]
{{#ask:[[Category:Meeting]] [[Has date::>={{#time: Y-m-j|now}}]]
+
| ?Has coordinates
|?#-
+
| ?In city
|?Has title
+
| format = map
|?Has date
+
| template = Distance popup
|?In city
+
| named args = 1
|?In postal code#-
+
| userparam = {{#geocode: Braine-l'Alleud, BE}}
|format=template
+
| ajaxcoordproperty=Has coordinates
|template=MeetingTable
+
| limit = 1000
|introtemplate=MeetingTableIntro
 
|outrotemplate=MeetingTableOutro
 
|mainlabel=-
 
|sort = Has date,In city
 
|class=sortable wikitable smwtable
 
 
}}
 
}}
  
Liste des réunions de la [[Crew BW]] (passées et à venir):
+
[[File:CreatingUserPagePreviewAndSave.webm|thumb|upright=2|center]]
{{#ask:[[Category:Meeting]] [[Category:Crew BW]]
 
|?#-
 
|?Has title
 
|?Has date
 
|?In city
 
|?In postal code#-
 
|format=template
 
|template=MeetingTable
 
|introtemplate=MeetingTableIntro
 
|outrotemplate=MeetingTableOutro
 
|mainlabel=-
 
|sort = Has date,In city
 
|order = desc,asc,asc
 
|limit = 10
 
|searchlabel = Voir plus de résultats...
 
}}
 
 
 
List of future Pirate Beers:
 
{{#ask: [[-Has subobject::+]] [[Has event type::Pirate Beer]] [[Has date::>{{#time: Y-m-j|now}}]]
 
|?Organized by
 
|?Has date=Date
 
|?In city=City
 
|?In postal code#=Postal code
 
|mainlabel=-
 
|format = broadtable
 
|sort = Has date,In city,Organized by
 
}}
 

Latest revision as of 00:21, 7 November 2017

62.39 km

Réunions dans un rayon de 50km autour de Braine: