Template:Resultlink: Difference between revisions
Jump to navigation
Jump to search
Juha Villman (talk | contribs) (removed all the content, too heavy to handle) |
Juha Villman (talk | contribs) (only basic queries included now) |
||
Line 1: | Line 1: | ||
Show results from the [[Opasnet base|Opasnet Base]]: | Show results from the [[Opasnet base|Opasnet Base]]: | ||
{{#sql-query: | |||
SELECT Var.Ident, Var.Name, Var.Unit, Run.Ident, Objinfo.Moment, Objinfo.Who, Run.Name as Method | |||
FROM Obj as Var, Obj as Run, Cell, Objinfo | |||
WHERE Var.Ident = "Op_en{{PAGEID}}" | |||
AND Var.id = Cell.Obj_id_v | |||
AND Run.id = Cell.Obj_id_r | |||
AND Run.id = Objinfo.Obj_id | |||
GROUP BY Var.id, Run.id | |||
ORDER BY Run.id DESC | |||
|List of uploads}} | | |||
[http://base.opasnet.org/index.php?page_id={{PAGEID}}&wiki_id=1&sample={{{1|1}}} The newest upload] | |||
<noinclude> | <noinclude> | ||
'''USAGE:'''<br> | '''USAGE:'''<br> | ||
This template creates a link to a variable in result database.<br> | This template creates a link to a variable in result database.<br> |
Revision as of 09:51, 3 June 2009
Show results from the Opasnet Base:
{{#sql-query: SELECT Var.Ident, Var.Name, Var.Unit, Run.Ident, Objinfo.Moment, Objinfo.Who, Run.Name as Method FROM Obj as Var, Obj as Run, Cell, Objinfo WHERE Var.Ident = "Op_en2239" AND Var.id = Cell.Obj_id_v AND Run.id = Cell.Obj_id_r AND Run.id = Objinfo.Obj_id GROUP BY Var.id, Run.id ORDER BY Run.id DESC |List of uploads}} | The newest upload
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.