Différences entre les versions de « ERE person1 »
De Semantic MediaWiki - Sandbox
Balise : Éditeur de wikicode 2017 |
Balise : Éditeur de wikicode 2017 |
||
(12 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. |
− | == data | + | == 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: | ||
+ | [[-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" | {| class="wikitable mw-collapsible mw-collapsed" | ||
| This is kind of tall so expand to see | | This is kind of tall so expand to see | ||
Ligne 17 : | Ligne 42 : | ||
|} | |} | ||
− | == | + | === queried as eventcalendar === |
− | {{#ask: | + | This doesn't actually work. As per email from kgh the eventcalendar might only take in subobjects. |
+ | <nowiki>{{#ask: | ||
[[ERE_ScheduleEvent.ERE_Name::{{PAGENAME}}]] | [[ERE_ScheduleEvent.ERE_Name::{{PAGENAME}}]] | ||
|mainlabel=event | |mainlabel=event | ||
Ligne 29 : | Ligne 55 : | ||
|limit=1000 | |limit=1000 | ||
|start=2019-01-01 | |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 }}