Template:MainBatteryCount: Difference between revisions
(Created page with "<onlyinclude> {| class=wikitable style=text-align:left width:65%" ! Gun Position !! Naval Gun |- {{#cargo_query: tables=MAINBelle, JOINMainBatteryCount |fields=JOINMainBatteryCount.TXT_NavalGunName=Weapon Name, JOINMainBatteryCount.TXT_GunPosition=Weapon Position, JOINMainBatteryCount.INT_GunCount=Weapon Count |where=MAINBelle.TXT_CharName = '{{PAGENAME}}' |join on=JOINMainBatteryCount.TXT_BelleName=MAINBelle.TXT_CharName |format=template |template=Template:WeaponCount...") |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
{| class=wikitable style=text-align:left width:65%" | {| class=wikitable style=text-align:left width:65%" | ||
! | ! Position !! {{{1}}} !! {{{2}}} | ||
|- | |- | ||
{{#cargo_query: | {{#cargo_query: | ||
tables= | tables=JOINMainBatteryCount, ITEMNavalGun | ||
|fields= | |fields=ITEMNavalGun.TXT_NavalGunName=Weapon Name, ITEMNavalGun.INT_GunCount=Barrel Count, JOINMainBatteryCount.TXT_GunPosition=Weapon Position, JOINMainBatteryCount.INT_MountCount=Mount Count, ITEMNavalGun.TXT_NavalGunID=NavalGunID | ||
|where= | |where=TXT_BelleName = '{{#replace:{{PAGENAME}}|'|\'}}' AND TXT_BatteryType = '{{{3}}}' | ||
|join on=JOINMainBatteryCount. | |join on=JOINMainBatteryCount.TXT_NavalGunID=ITEMNavalGun.TXT_NavalGunID | ||
|format=template | |format=template | ||
|template=Template:WeaponCountLine | |template=Template:WeaponCountLine | ||
Latest revision as of 08:43, 13 May 2023
No results
| Position | {{{1}}} | {{{2}}} |
|---|
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit Template:MainBatteryCount/doc to edit this documentation. (How does this work?) |