Template:Testpage: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
< | <div style="display:flex;flex-wrap:wrap;margin-bottom:40px;"> | ||
{{FactionBuildingCargo | |||
|faction = dungeon | |faction = dungeon | ||
|bldg_id = | |bldg_id = dungeon_Build_Treasury_L1 | ||
|note = Notenotenote | |note = Notenotenote | ||
}} | }} | ||
{{FactionBuildingCargo | {{FactionBuildingCargo | ||
| Line 12: | Line 12: | ||
|note = Notenotenote | |note = Notenotenote | ||
}} | }} | ||
</div> | |||
<!-- <code><nowiki>{{FactionBuildingCargo | |||
|faction = dungeon | |||
|bldg_id = dungeon_Build_Artifact_Market_L1 | |||
|note = Notenotenote | |||
}}</nowiki></code> --> | |||
| Line 18: | Line 25: | ||
<!-- | |||
{{#cargo_query: | {{#cargo_query: | ||
tables = Building=B, | tables = Building=B, | ||
| Line 23: | Line 31: | ||
|join on = | |join on = | ||
building_t.target_id = B.id | building_t.target_id = B.id | ||
|where = B.faction = ' | |where = B.faction = 'dungeon' | ||
AND building_t.language = 'en' | AND building_t.language = 'en' | ||
| Line 31: | Line 39: | ||
B.faction = faction, | B.faction = faction, | ||
B.icon = icon, | B.icon = icon, | ||
B.prereqs__full = prereqs | B.prereqs__full = prereqs | ||
<!-- B.gold_cost = gold cost, | <!-- B.gold_cost = gold cost, | ||
B.wood_cost = wood cost, | B.wood_cost = wood cost, | ||
| Line 41: | Line 49: | ||
B.graal_cost = graal cost, | B.graal_cost = graal cost, | ||
B.units_hire_sid = units hire sid, | B.units_hire_sid = units hire sid, | ||
B.units_weekly = units weekly, | B.units_weekly = units weekly, | ||
|format = Table | |format = Table | ||
|named args = yes | |named args = yes | ||
}} | }} </noinclude> | ||
--> | |||
<!-- | |||
Test Query | Test Query | ||
{{#cargo_query: | {{#cargo_query: | ||
| Line 112: | Line 120: | ||
}} | }} | ||
--> | |||


