Difference between revisions of "Globals test"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
m
m
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Atrox Mature ==
{{#get_db_data:
{{#get_db_data:
db=globals
db=globals
|from=tracker.globallog, tracker.globaltype
|from=globalnames
|where=globallog.item=3
|limit=10
|limit=10
|order by=value DESC
|order by=globalnames.id
|data=date=globallog.date,name=globallog.owner,value=globallog.value
|data=id=globalnames.id,name=globalnames.name
}}
}}


<table>
<table>
<tr><th>Date</th><th>Name</th><th>Item</th><th>Value</th></tr>
<tr><th>ID</th><th>Name</th></tr>
{{#for_external_table:<tr><td>{{{date}}}</td><td>{{{name}}}</td><td>{{{value}}}</td></tr>}}
{{#for_external_table:<tr><td>{{{id}}}</td><td>{{{name}}}</td></tr>}}
</table>
</table>

Latest revision as of 00:30, 28 September 2013

{{#get_db_data: db=globals |from=globalnames |limit=10 |order by=globalnames.id |data=id=globalnames.id,name=globalnames.name }}

{{#for_external_table:}}
IDName
{{{id}}}{{{name}}}