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

From A3! Wiki
m (Blog Images)
m
Line 4: Line 4:
 
==Blog Images==
 
==Blog Images==
 
{{#cargo_query:tables=Blog_List
 
{{#cargo_query:tables=Blog_List
|fields=CONCAT('<div style="max-width:300px; text-align: center;">[[File:',image,'.png]]<br />[[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>')
 
|where=image_charas HOLDS '{{Character to Troupe|characterfirst2={{BASEPAGENAME}}}}'
 
|where=image_charas HOLDS '{{Character to Troupe|characterfirst2={{BASEPAGENAME}}}}'
 
}}
 
}}

Revision as of 04:57, 27 December 2018