Difference between revisions of "Template:Character Page/Gallery"

From A3! Wiki
m (Blog Images)
m (cargo_query: Add field alias and update string literal quotes, in preparation for Cargo extension upgrade)
 
(17 intermediate revisions by 5 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}}}}'
|format=slideshow
+
|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 "%Chibi%"
+
|where=_pagename LIKE CONCAT('File:','{{Character to Troupe|characterfirst2={{PAGENAME}}}}','%') AND _pagename LIKE '%Chibi%'
 
|format=gallery
 
|format=gallery
 
|mode=nolines
 
|mode=nolines

Latest revision as of 02:29, 31 December 2024