Difference between revisions of "Template:Lineup infobox"

From Saint Seiya Awakening Wiki
({{{title|}}} Lineup)
 
(10 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
This is the "Lineup" template.
 
This is the "Lineup" template.
 
{{#cargo_declare:_table=Lineup|title=String|intro=Text|saints=List (,) of Page|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|}}}|saints={{{saint1|}}},{{{saint2|}}},{{{saint3|}}},{{{saint4|}}},{{{saint5|}}},{{{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:{{{saints|}}}|,|x}}
+
{{#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.