Difference between revisions of "Junk"
Jump to navigation
Jump to search
BrettViren (talk | contribs) |
BrettViren (talk | contribs) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
{{#ask: | {{#ask: | ||
[[Category:Institution]] | [[Category:Institution]] | ||
+ | |?Has name | ||
+ | |?Has url | ||
}} | }} | ||
− | List of | + | List of institutions owned by DOE in default result format (table) |
{{#ask: | {{#ask: | ||
− | [[ | + | [[Category:Institution]] |
+ | |?Has url | ||
+ | |?Has country | ||
}} | }} | ||
+ | |||
+ | Same, but use an unordered list: | ||
+ | {{#ask: | ||
+ | [[Category:Institution]] [[Is owned by::DOE]] | ||
+ | | ?Has url= | ||
+ | | format=ul | ||
+ | }} | ||
+ | |||
+ | BNL is owned by {{#show: Brookhaven National Lab | ?Is owned by=}}. That ownership in the previous sentence is a result of a query. | ||
+ | |||
+ | = outline = | ||
+ | |||
+ | {{#ask: | ||
+ | [[Category:Institution]] | ||
+ | |?Has country | ||
+ | |?Is owned by | ||
+ | |format=outline | ||
+ | |outlineproperties=Has country, Is owned by | ||
+ | |sort=Has country}} | ||
+ | |||
+ | = external data = | ||
+ | {{#get_db_data: db=collab | ||
+ | |from=members_institution | ||
+ | |limit=10 | ||
+ | |where=1 | ||
+ | |data=nick=short_name,name=full_name,country=country,address=address | ||
+ | }} | ||
+ | |||
+ | Simple text | ||
+ | |||
+ | {{#for_external_table:<nowiki/> | ||
+ | * {{{nick}}}, {{{address}}}, {{{country}}} | ||
+ | }} | ||
+ | |||
+ | As table: | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Name | ||
+ | ! Address | ||
+ | ! Country{{#for_external_table:<nowiki/> | ||
+ | {{!}}- | ||
+ | {{!}} {{{name}}} | ||
+ | {{!}} {{{address}}} | ||
+ | {{!}} {{{country}}} | ||
+ | }} | ||
+ | |} |
Latest revision as of 15:12, 6 January 2015
Display a map
{{#display_map: 40.8705292, -72.8840914}}
{{#display_map: 40.8705292, -72.8840914}}
Result form
List of institutions
Has name | Has url | |
---|---|---|
Brookhaven National Lab | Brookhaven National Lab | http://www.bnl.gov/ |
List of institutions owned by DOE in default result format (table)
Has url | Has country | |
---|---|---|
Brookhaven National Lab | http://www.bnl.gov/ | USA |
Same, but use an unordered list:
BNL is owned by DOE. That ownership in the previous sentence is a result of a query.
outline
Has country | Is owned by | |
---|---|---|
Brookhaven National Lab | USA | DOE |
external data
{{#get_db_data: db=collab |from=members_institution |limit=10 |where=1 |data=nick=short_name,name=full_name,country=country,address=address }}
Simple text
{{#for_external_table:
- {{{nick}}}, {{{address}}}, {{{country}}}
}}
As table:
Name | Address | Country{{#for_external_table: |
---|---|---|
{{{name}}} | {{{address}}} | {{{country}}}
}} |