« ERE person1 » : différence entre les versions
De Semantic MediaWiki - Sandbox
Balise : Éditeur de wikicode 2017 |
Balise : Éditeur de wikicode 2017 |
||
(17 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
This page lists data encoded on [[ERE shift1]], [[ERE shift2]] via [[Template:ERE_encode]] using queries. | This page lists data encoded on [[ERE shift1]], [[ERE shift2]] via [[Template:ERE_encode]] using queries. | ||
== | == Subobject == | ||
=== queried as table === | |||
{| class="wikitable mw-collapsible mw-collapsed" | |||
| This is kind of tall so expand to see | |||
|- | |||
|{{#ask: | |||
[[-Has subobject::~ERE*]] | |||
|mainlabel= | |||
|?ERE SO Name | |||
|?ERE SO Day | |||
|default=No shifts found | |||
}} | |||
|} | |||
=== queried as eventcalendar === | |||
{{#ask: | {{#ask: | ||
[[-Has subobject::~ERE*]] | |||
|mainlabel= | |||
|?ERE SO Name | |||
|?ERE SO Day | |||
|?ERE SO Shift | |||
|format=eventcalendar | |||
|default=No shifts found | |||
}} | |||
== Record data type == | |||
=== queried as table === | |||
{| class="wikitable mw-collapsible mw-collapsed" | |||
| This is kind of tall so expand to see | |||
|- | |||
|{{#ask: | |||
[[ERE_ScheduleEvent.ERE_Name::{{PAGENAME}}]] | [[ERE_ScheduleEvent.ERE_Name::{{PAGENAME}}]] | ||
|mainlabel=shift | |mainlabel=shift | ||
Ligne 12 : | Ligne 40 : | ||
|limit=1000 | |limit=1000 | ||
}} | }} | ||
|} | |||
== | === queried as eventcalendar === | ||
{{#ask: | This doesn't actually work. As per email from kgh the eventcalendar might only take in subobjects. | ||
[[ | <nowiki>{{#ask: | ||
|mainlabel= | [[ERE_ScheduleEvent.ERE_Name::{{PAGENAME}}]] | ||
|? | |mainlabel=event | ||
|?ERE_ScheduleEvent.ERE_Day=start date | |||
|?ERE_ScheduleEvent.ERE_Day=end date | |||
|?ERE_ScheduleEvent.ERE_Name=title | |||
|format=eventcalendar | |format=eventcalendar | ||
|default=No scheduled shifts found. | |default=No scheduled shifts found. | ||
|links=all | |||
|limit=1000 | |limit=1000 | ||
}} | |start=2019-01-01 | ||
}}</nowiki> | |||
[[Category: Example for dataype record and results format eventcalendar]] | [[Category: Example for dataype record and results format eventcalendar]] |
Dernière version du 1 février 2019 à 05:01
This page lists data encoded on ERE shift1, ERE shift2 via Template:ERE_encode using queries.
Subobject
queried as table
queried as eventcalendar
Record data type
queried as table
This is kind of tall so expand to see | |||||||||
|
queried as eventcalendar
This doesn't actually work. As per email from kgh the eventcalendar might only take in subobjects. {{#ask: [[ERE_ScheduleEvent.ERE_Name::{{PAGENAME}}]] |mainlabel=event |?ERE_ScheduleEvent.ERE_Day=start date |?ERE_ScheduleEvent.ERE_Day=end date |?ERE_ScheduleEvent.ERE_Name=title |format=eventcalendar |default=No scheduled shifts found. |links=all |limit=1000 |start=2019-01-01 }}