RAMADDA's wiki text can display entries in numerous ways.
|
{The entry="..." can be:{information entry="some other entry id or an entry selection}}
{{name entry="some id"} }
{{name entry="some alias"} }
{{name entry="this"} }
{{name entry="/Top/.../entry name"} }
{{name entry="parent"} }
{{name entry="grandparent"} }
{{links entry="ancestor:type:group"} }
{Where orderby can be any of the following:{image entry="child:entry:<another parent entry>;type:<entry type id>;orderby:<order>;ascending:true" }} e.g.: { {image entry="child:entry:4b46e0c4-e5ac-4620-86e7-17c87c96de34;ascending:true"}}
fromdate todate changedate createdate size type entryorder name number - extract a number from the name
{The "ascending:false" says to find the latest. If you wanted to find the earliest entry you would specify "ascending:true".{display_linechart entry="search:ascending:false;type:type_point_netcdf;"} }
If you wanted to only search under a certain entry (e.g, a collection of data files) you specify this with the "ancestor:" prefix:
{{display_linechart entry="search:ancestor:some_entry_id;ascending:true;type:type_point_netcdf;"} }
{There are many ways to specify what entries are being used. Here is an export of a collection of folders and files that demonstrate various entry selections. Import it into your RAMADDA and view the page source.{links entries="entryid1,entryid2,entry selection,..."}}
{{links entries="entryid1,this"}}
{{links entries="children"}}
{{links entries="grandchildren"}}
{{links entries="greatgrandchildren"}}
{{links entries="parent,..."}}
{{links entries="grandparent,..."}}
{{links entries="ancestors"}}
{{links entries="siblings"}}
{{tabletree entries="search:type:<some type>;orderby:date;ascending:true" }}
{{links entries="search:ancestor:this;orderby:size;max:5"}}
{{links entries="search:ancestor:this;name:Folder"}}
{{links entries="search:ancestor:this;text:foobar"}}
{{links entries="search:ancestor:this;sizemin:10;sizemax:1000"}}
{{name entry="child:entry:<some entry id>;orderby:name;ascending:true;" }}
{{name entry="parent:entry:<some entry id>" }}
{{links entries="children:entry:<some entry id>;type:type_document_csv;orderby:size;ascending:true"}}
{{links entries="children:entry:<some entry id>;type:type_document_csv;orderby:size;ascending:false"}}
{{links entries="children:entry:<some entry id>;type:type_document_csv;orderby:size;ascending:false,children:entry:<some entry id>"}}
{{links entries="grandchildren:orderby:name;ascending:true"}}
{{links entries="grandchildren:entry:this;orderby:name;ascending:true"}}
{{links entries="grandchildren:orderby:name;ascending:false"}}
{{links entries="grandchildren:orderby:name;ascending:true;max:2"}}
{{links entries="greatgrandchildren:orderby:name;ascending:true;"}}
{{links entries="ancestors:entry:<some entry id>;"}}
{{alias name=someentry entry="search:descendent:this;ascending:;type:type_point_netcdf;"} } { {display_linechart entry=someentry} }
Here are some examples:
Find all entries with text 'climate':
{Find all entries with file suffix 'pdf' that have been created in the last 2 days:{tree search.text="climate" entries="search"}}
{{tree search.suffix="pdf" search.createdate.relative="-2 days" entries="search"}}
entries.filter=file|folder|image|type:some type|geo|suffix:file suffixesIf you specify suffix:file suffixes then this will only match entries that have files with the given suffix. This can be a comma separated list of suffixes, e.g.:
entries.filter="suffix:.ppt,.pptx,.pdf"Or negate them with "!":
entries.filter=!file|!folder|!image|!type:some type|!geoSo, you could show all of the georeferenced entries in a map and all of the non-georeferenced entries in a list:
{{map message="" prefix="==Map=="}} { {tree message="" prefix="==Non georeferenced entries==" entries.filter="!geo"}}
entries.fromDate="absolute or relative date" entries.toDate="absolute or relative date" e.g.: entries.fromDate="2021-06-01 12:32" or: entries.fromDate="-1 week" or: entries.fromDate="-2 weeks" or: entries.fromDate="2 weeks" or: entries.toDate="2 months" or: entries.toDate="4 years"
{For example, if you are creating a wiki page full of charts (e.g., here) that refer to another point data entry for their data then you use the property like, e.g.:{property "some name"="some value" "some other name"="some other value"}}
{{property entry="9b2f87fc-91f2-485c-8035-7ef588c35fda"}}
{For example, you can set up a wiki template that shows an image attachment and a list of entries in a sub-folder called "Links". If you used the below wiki text then you would see displayed "Could not find image" and "Could not find entry" error messages.{someproperty message="some message"}}
{If, however, you specify a blank message then nothing will be shown:{image src="::*"}} { {links entry="Links"}}
{{image src="::*" message=""}} { {links entry="Links" message=""}}
{This would only show when there is a Links sub-folder.{links entry="Links" message="" prefix="Here are the links:<br>"}}
67259186-574e-4453-a2af-969e1cf658c8 f5ccdc47-62f7-481a-b67d-bf76e5b34359 ...If an entry id has a "+" prefix then the children entries of the specified entry is used
+67259186-574e-4453-a2af-969e1cf658c8 +f5ccdc47-62f7-481a-b67d-bf76e5b34359 ...You can also specify a search. This is a set of search terms followed by "search". You can specify text to search for, the entry type, spatial bounds and date based search.
search.text=text to search search.type=entry type search.bbox=north,west,south,east search.createdate.relative=-1 day search
[[Page name]]In RAMADDA you can use the name of another entry to create the link. You can use the Add entry link menu to select an entry. This produces wiki text of the form:
[[entry id|Label to show for link]]e.g.:
[[7ca13e52-8efb-4d17-863f-e17027dbcc22|Earthquake data]]You can also just specify an entry by name. Either an absolute path:
[[Top entry/Some other entry]]Or relative to the wiki entry:
[[Some entry]]You can also set the output type for an entry using the hashtag (#) symbol after the entry id:
[[7ca13e52-8efb-4d17-863f-e17027dbcc22#html.table|Earthquake data as a table]]which will override the default display. If the entry with the given name does not exist then the link will take one to the create entry form.
{e.g., if we wanted to show the information tabs for an entry we'd do:{<property> <name="value" pairs>}}
{Which gives us:{information}}