Template:Resultlink: Difference between revisions
Jump to navigation
Jump to search
Juha Villman (talk | contribs) No edit summary |
Juha Villman (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
[http://base.opasnet.org/index.php?page_id={{PAGEID}}&wiki_id=1&sample={{{1|1}}} Show the newest result in Opasnet base] | [http://base.opasnet.org/index.php?page_id={{PAGEID}}&wiki_id=1&sample={{{1|1}}} Show the newest result in Opasnet base] | ||
{{#sql-query:SELECT Var_name, Var_title, Var_unit, Run.Run_id, Run_date, Run_who, Run_method | {{#sql-query:SELECT Var_name, Var_title, Var_unit, Run.Run_id, Run_date, Run_who, Run_method | ||
FROM Variable , Run_list, Run | FROM Variable , Run_list, Run |
Revision as of 12:14, 1 December 2008
Show the newest result in Opasnet base
{{#sql-query:SELECT Var_name, Var_title, Var_unit, Run.Run_id, Run_date, Run_who, Run_method FROM Variable , Run_list, Run WHERE Variable.var_name = "Op_en2239" AND Variable.var_id = Run_list.Var_id AND Run_list.Run_id = Run.Run_id GROUP BY Variable.var_id, Run.Run_id|Show the runs of this variable in Opasnet base}}
USAGE:
This template creates a link to a variable in result database.
First parameter is number of samples.
Development idea: Templaatti avaa tuloksen uuteen ikkunaan. Siellä on linkki, jota klikkaamalla tulee compare versions muuttujan nykyisestä wikisivusta ja siitä, joka oli voimassa sillä hetkellä kun muuttuja laskettiin tulostietokantaan.