Template:Testpage: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | |||
<!--{{#cargo_query: | |||
tables = Building=B, | |||
Translation=building_t | |||
|join on = | |||
building_t.target_id = B.id | |||
|where = B.faction = 'unfrozen' | |||
AND building_t.language = 'en' | |||
|fields = B.id =id, | |||
building_t.name = name, | |||
building_t.description = description, | |||
B.faction =faction, | |||
B.icon =icon, | |||
B.prereqs__full =prereqs, | |||
B.gold_cost =gold cost, | |||
B.wood_cost =wood cost, | |||
B.ore_cost =ore cost, | |||
B.crystals_cost =crystals cost, | |||
B.gemstones_cost =gemstones cost, | |||
B.mercury_cost =mercury cost, | |||
B.dust_cost =dust cost, | |||
B.graal_cost =graal cost, | |||
B.units_hire_sid =units hire sid, | |||
B.units_weekly =units weekly, | |||
|format = Table | |||
|named args = yes | |||
}} --> </noinclude> | |||
{{#cargo_query: | |||
tables = Building=B, | |||
Translation=building_t | |||
|join on = | |||
building_t.target_id = B.id | |||
|where = B.faction = 'unfrozen' | |||
AND building_t.language = 'en' | |||
AND B.id = 'unfrozen_Build_Artifact_Market_L1' | |||
|fields = B.id = id, | |||
building_t.name = name, | |||
B.icon = icon | |||
|format = template | |||
|template = BuildingNameDisplay | |||
|named args = yes | |||
}} | |||
<!-- | |||
{{#cargo_query: | {{#cargo_query: | ||
tables = Building=B, | tables = Building=B, | ||
| Line 7: | Line 61: | ||
|join on = | |join on = | ||
building_t.target_id = B.id | building_t.target_id = B.id | ||
|where = B.faction = ' | |where = B.faction = 'unfrozen' | ||
AND building_t.language = 'en' | AND building_t.language = 'en' | ||
| Line 42: | Line 96: | ||
|named args = yes | |named args = yes | ||
}} | }} | ||
--> | |||
<!-- | |||
{{#cargo_query: | {{#cargo_query: | ||
| Line 73: | Line 127: | ||
|format = Table | |format = Table | ||
|named args = yes | |named args = yes | ||
}} | }} --> | ||


