Difference between revisions of "Template:Character Page/Gallery"
From A3! Wiki
Fimbulvetr (talk | contribs) m (that'll do pig) |
m (cargo_query: Add field alias and update string literal quotes, in preparation for Cargo extension upgrade) |
||
(14 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
==Blog Images== | ==Blog Images== | ||
+ | <div class="flex-container" style="column-gap: 20px; justify-content: center;"> | ||
{{#cargo_query:tables=Blog_List | {{#cargo_query:tables=Blog_List | ||
− | |fields=CONCAT('<div style="max-width:300px; text-align: center;">[[File:',image,'.png]]<br />[[',IF(Blog_List.number < 56, 'MANKAI Company Blog Archives', 'Troupe Member Blog'),'#Blog-',Blog_List.number,'|',Blog_List.startdate,' (',Blog_List.chara,')]]</div>') | + | |fields=CONCAT('<div style="max-width:300px; text-align: center;">[[File:',image,'.png]]<br />[[',IF(Blog_List.number < 56, 'MANKAI Company Blog Archives', 'Troupe Member Blog'),'#Blog-',Blog_List.number,'|',Blog_List.startdate,' (',Blog_List.chara,')]]</div>')=ImageMarkup |
|where=image_charas HOLDS '{{Character to Troupe|characterfirst2={{BASEPAGENAME}}}}' | |where=image_charas HOLDS '{{Character to Troupe|characterfirst2={{BASEPAGENAME}}}}' | ||
|delimiter= | |delimiter= | ||
}} | }} | ||
− | + | </div> | |
==Cards== | ==Cards== | ||
{{Gallery Tabs}} | {{Gallery Tabs}} | ||
+ | <gallery> | ||
+ | </gallery> | ||
==Chibi Sprites== | ==Chibi Sprites== | ||
{{#cargo_query:tables=_pageData | {{#cargo_query:tables=_pageData | ||
|fields=_pageName | |fields=_pageName | ||
− | |where=_pagename LIKE CONCAT('File:','{{Character to Troupe|characterfirst2={{PAGENAME}}}}','%') AND _pagename LIKE | + | |where=_pagename LIKE CONCAT('File:','{{Character to Troupe|characterfirst2={{PAGENAME}}}}','%') AND _pagename LIKE '%Chibi%' |
|format=gallery | |format=gallery | ||
|mode=nolines | |mode=nolines |