Fruits table: Difference between revisions
Jump to navigation
Jump to search
Yaron Koren (talk | contribs) (Added demo of #get_external_value filter) |
No edit summary |
||
Line 38: | Line 38: | ||
{{!}} {{{shape}}} }} | {{!}} {{{shape}}} }} | ||
|} | |} | ||
{{#store_external_table:Is fruit in|Has name={{{name}}}|Has color={{{color}}}|Has shape={{{shape}}} }} |
Revision as of 09:53, May 4, 2010
Data was retrieved from the fruits data page, using the External Data extension.
All fruits (retrieved from the URL http://discoursedb.org/wiki/Special:GetData/Fruits_data, with links added to the fruit names as a demonstration):
Name | Color | Shape |
---|
Yellow fruits only (retrieved from the URL http://discoursedb.org/wiki/Special:GetData/Fruits_data?Color=Yellow):
Error: No "source" parameter specified.
Error: No suitable data source is defined for this external data query
Name | Color | Shape |
---|
Red fruits only (retrieved from the URL http://discoursedb.org/wiki/Special:GetData/Fruits_data, with an additional "color==Red" filter placed in the call):
Name | Color | Shape |
---|
{{#store_external_table:Is fruit in|Has name={{{name}}}|Has color={{{color}}}|Has shape={{{shape}}} }}