Difference between revisions of "Template:Lineup infobox"

From Saint Seiya Awakening Wiki
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
This is the "Lineup" template.
 
This is the "Lineup" template.
{{#cargo_declare:_table=Lineup|title=String|intro=Text|saint1=List (,) of String|saint2=List (,) of String|saint3=List (,) of String|saint4=List (,) of String|saint5=List (,) of String|saint6=List (,) of String|pve=String|pvp=String|usage_dif=String|collection_dif=String|strategy=Text}}
+
{{#cargo_declare:_table=Lineup|title=String|intro=Text|saints=List (,) of Page|pve=String|pvp=String|usage_dif=String|collection_dif=String|strategy=Text}}
</noinclude><includeonly>{{#cargo_store:_table=Lineup|title={{{title|}}}|intro={{{intro|}}}|saint1={{{saint1|}}}|saint2={{{saint2|}}}|saint3={{{saint3|}}}|saint4={{{saint4|}}}|saint5={{{saint5|}}}|saint6={{{saint6|}}}|pve={{{pve|}}}|pvp={{{pvp|}}}|usage_dif={{{usage_dif|}}}|collection_dif={{{collection_dif|}}}|strategy={{{strategy|}}} }}
+
</noinclude><includeonly>{{#cargo_store:_table=Lineup|title={{{title|}}}|intro={{{intro|}}}|saints={{{saints}}}|pve={{{pve|}}}|pvp={{{pvp|}}}|usage_dif={{{usage_dif|}}}|collection_dif={{{collection_dif|}}}|strategy={{{strategy|}}} }}
 
==={{{title|}}} Lineup===
 
==={{{title|}}} Lineup===
 
{{{intro|}}}
 
{{{intro|}}}
Line 8: Line 8:
 
<tr>
 
<tr>
 
<td colspan="6" style="min-width:500">
 
<td colspan="6" style="min-width:500">
{{#arraymap:{{{saint1|}}} }}
+
{{#arraymaptemplate:{{{saints|}}}|Saints get thumb|,|\n}}
{{#cargo_query:
 
| table = Saints
 
| fields = title=title,alias=alias,thumb=thumb
 
| where = alias="{{{saint6|}}}"
 
| order by = title
 
| intro = <div style="overflow:hidden;display:block">
 
| outro = </div>
 
| default= YY
 
| format = template
 
| template = Saints thumb
 
}}
 
 
</td>
 
</td>
 
</tr>
 
</tr>

Latest revision as of 14:48, 27 June 2019

This is the "Lineup" template. This template defines the table "Lineup". View table.