Template:Generic cargo compact list: Difference between revisions
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><div class="cargo-small-list {{#if:{{{center cols|}}}|center-cols}}">{{#cargo_query:tables={{{tables|{{{table|}}}}}} | <includeonly><div class="cargo-small-list {{#if:{{{center extra cols|}}}|center-extra-cols}}">{{#cargo_query:tables={{{tables|{{{table|}}}}}} | ||
|fields=CONCAT("[[File:", {{{image field|image}}}, "|{{{image size|30px}}}|link=", _pageName, "|Image of", {{{name field|name}}}, "]] [[", _pageName, "|", {{{name field|name}}}, "]]") = {{{col 1 name|Item}}}<!-- | |fields=CONCAT("[[File:", {{{image field|image}}}, "|{{{image size|30px}}}|link=", _pageName, "|Image of", {{{name field|name}}}, "]] [[", _pageName, "|", {{{name field|name}}}, "]]") = {{{col 1 name|Item}}}<!-- | ||
-->{{#if:{{{extra col 1|}}}|, {{{extra col 1}}}}}<!-- | -->{{#if:{{{extra col 1|}}}|, {{{extra col 1}}}}}<!-- | ||
| Line 11: | Line 11: | ||
-->{{#if:{{{extra col 9|}}}|, {{{extra col 9}}}}}<!-- | -->{{#if:{{{extra col 9|}}}|, {{{extra col 9}}}}}<!-- | ||
-->{{#if:{{{extra col 10|}}}|, {{{extra col 10}}}}}<!-- | -->{{#if:{{{extra col 10|}}}|, {{{extra col 10}}}}}<!-- | ||
-->{{#if:{{{introduced col|}}}|, COALESCE(IF({{{introduced field|introduced}}} = "Firstlook test" OR introduced = "Full Playable test", {{{introduced field|introduced}}}, CONCAT("Version ", {{{introduced field|introduced}}})), "Launch")=Introduced}} | -->{{#if:{{{introduced col game name|}}}|, | ||
COALESCE(IF({{{introduced field|introduced}}} = "Firstlook test" OR introduced = "Full Playable test", CONCAT("[[{{{introduced col game name|}}} ", {{{introduced field|introduced}}}, "|", {{{introduced field|introduced}}}, "]]"), | |||
CONCAT("[[{{{introduced col game name|}}} v", {{{introduced field|introduced}}}, "|Version ", {{{introduced field|introduced}}}, "]]")), | |||
"Launch")=Introduced}} | |||
|where ={{{where|}}} | |where ={{{where|}}} | ||