Template:Generic cargo compact list: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly | <includeonly>{{#cargo_query:tables={{{tables|{{{table|}}}}}} | ||
|fields=CONCAT("[[File:", {{{image field|image}}}, "|{{{image size|30px}}}|link=", {{{ | |fields=CONCAT("<div class='flex-left-icon-wrapper'>[[File:", {{{image field|image}}}, "|{{{image size|30px}}}|link=", {{{link field|_pageName}}}, {{#if:{{{link to sections|}}}|"#", {{{name field|name}}},}} "|Image of", {{{name field|name}}}, "]]<div>", | ||
{{#if:{{{ | {{#if:{{{link field}}}| | ||
"[[", {{{link field|_pageName}}}, {{#if:{{{link to sections|}}}|"#", {{{name field|name}}},}} "|", {{{name field|name}}}, "]]"| | |||
{{{name field|name}}}}}, "</div></div>") = {{{col 1 name|Item}}}<!-- | |||
-->{{#if:{{{extra col 1|}}}|, {{{extra col 1}}}}}<!-- | -->{{#if:{{{extra col 1|}}}|, {{{extra col 1}}}}}<!-- | ||
-->{{#if:{{{extra col 2|}}}|, {{{extra col 2}}}}}<!-- | -->{{#if:{{{extra col 2|}}}|, {{{extra col 2}}}}}<!-- | ||
| Line 15: | Line 17: | ||
COALESCE(IF({{{introduced field|introduced}}} = "Firstlook test" OR introduced = "Full Playable test", CONCAT("[[{{{introduced col game name|}}} ", {{{introduced field|introduced}}}, "|", {{{introduced field|introduced}}}, "]]"), | 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|}}} | CONCAT("[[Update history:{{{introduced col game name|}}}/Version ", {{{introduced field|introduced}}}, "|Version ", {{{introduced field|introduced}}}, "]]")), | ||
"Launch")=Introduced}} | "Launch")=Introduced}} | ||
| Line 23: | Line 25: | ||
|join on ={{{join on|}}} | |join on ={{{join on|}}} | ||
|limit ={{{limit|}}} | |limit ={{{limit|}}} | ||
|default ={{{default|No results.}}} | |||
|format=table | |format=table | ||
}}</div></includeonly><noinclude>{{/doc}}</noinclude><templatestyles src="Generic cargo compact list/style.css"/> | |intro=<div class="generic-cargo-compact-list {{#if:{{{center extra cols|}}}|gccl-center-extra-cols}}"> | ||
|outro=</div> | |||
}}</includeonly><noinclude>{{/doc}}</noinclude><templatestyles src="Generic cargo compact list/style.css"/> | |||