Template:BTDB upgrade info: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="Info/style.css"/><div class="info"><!-- | <includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!-- | ||
--><div class="head">{{{name M}}}</div><!-- | --><div class="head">{{{name M}}}</div><!-- | ||
--><tabs><tab name="Multiplatform"> | --><tabs><tab name="Multiplatform"> | ||
{|class="subtable main centered" | {|class="subtable main centered" | ||
|[[File:{{{image M}}}| | |[[File:{{{image M}}}|100px|Portrait of {{{name M}}}]] | ||
|- | |- | ||
|class="flex-left-icon-wrapper"|[[File:{{{icon M}}}|50px|Icon of {{{name M}}}]]{{{description M}}} | |class="flex-left-icon-wrapper"|[[File:{{{icon M}}}|50px|Icon of {{{name M}}}]]{{{description M}}} | ||
| Line 10: | Line 10: | ||
{{#if:{{{image F|}}}|<tab name="Flash"> | {{#if:{{{image F|}}}|<tab name="Flash"> | ||
{{{!}}class="subtable main centered" | {{{!}}class="subtable main centered" | ||
{{!}}[[File:{{{image F}}}| | {{!}}[[File:{{{image F}}}|100px|Portrait of {{{name F}}}]] | ||
{{!}}- | {{!}}- | ||
{{!}}class="flex-left-icon-wrapper"{{!}}[[File:{{{icon F}}}|50px|Icon of {{{name F}}}]]{{{description F}}} | {{!}}class="flex-left-icon-wrapper"{{!}}[[File:{{{icon F}}}|50px|Icon of {{{name F}}}]]{{{description F}}} | ||
| Line 25: | Line 25: | ||
}} | }} | ||
|}<div class="foot">{{#cargo_query:table=btdb_upgrades | |}<div class="foot">{{#cargo_query:table=btdb_upgrades | ||
|fields=CONCAT(IF(tier<{{{tier|0}}}, "<div style='float:left'>[[", "<div style='float:right'>[["), _pageName, "{{!}}", IF(tier>{{{tier|0}}}, CONCAT(name_M, " →]]"), CONCAT("← ", name_M, "]]")), "</div>") = text | |fields=CONCAT(IF(tier<{{{tier|0}}}, "<div style='float:left'>[[", "<div style='float:right'>[["), _pageName, "{{!}}", IF(tier>={{{tier|0}}}, CONCAT(name_M, " →]]"), CONCAT("← ", name_M, "]]")), "</div>") = text | ||
|where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) | |where={{#if:{{{prev|}}}{{{next|}}}|name_M="{{{prev|???}}}" OR name_M="{{{next|???}}}"|tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1)}} | ||
|delimiter= | |delimiter= | ||
}}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btdb_upgrades | }}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btdb_upgrades | ||