|
|
(29 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|}}} |
| <table class="wikitable lineup-infobox"> | | <table class="wikitable lineup-infobox"> |
| <tr> | | <tr> |
− | <td colspan="6"> | + | <td colspan="6" style="min-width:500"> |
− | {{#cargo_query:
| + | {{#arraymaptemplate:{{{saints|}}}|Saints get thumb|,|\n}} |
− | | table = Saints
| |
− | | fields = title=title,alias=alias,thumb=thumb
| |
− | | where = alias="{{{saint1|}}}"
| |
− | | order by = title
| |
− | | intro = <div style="overflow:hidden;display:block">
| |
− | | outro = </div>
| |
− | | default= YY
| |
− | | format = template
| |
− | | template = Saints thumb
| |
− | }}
| |
− | {{#cargo_query: | |
− | | table = Saints
| |
− | | fields = title=title,alias=alias,thumb=thumb
| |
− | | where = alias="{{{saint2|}}}"
| |
− | | order by = title
| |
− | | intro = <div style="overflow:hidden;display:block"> | |
− | | outro = </div>
| |
− | | default= YY
| |
− | | format = template
| |
− | | template = Saints thumb
| |
− | }}
| |
− | {{#cargo_query:
| |
− | | table = Saints
| |
− | | fields = title=title,alias=alias,thumb=thumb | |
− | | where = alias="{{{saint3|}}}"
| |
− | | order by = title
| |
− | | intro = <div style="overflow:hidden;display:block">
| |
− | | outro = </div>
| |
− | | default= YY
| |
− | | format = template
| |
− | | template = Saints thumb
| |
− | }}
| |
− | {{#cargo_query:
| |
− | | table = Saints | |
− | | fields = title=title,alias=alias,thumb=thumb
| |
− | | where = alias="{{{saint4|}}}"
| |
− | | order by = title
| |
− | | intro = <div style="overflow:hidden;display:block">
| |
− | | outro = </div>
| |
− | | default= YY
| |
− | | format = template
| |
− | | template = Saints thumb
| |
− | }}
| |
− | {{#cargo_query:
| |
− | | table = Saints
| |
− | | fields = title=title,alias=alias,thumb=thumb
| |
− | | where = alias="{{{saint5|}}}"
| |
− | | order by = title
| |
− | | intro = <div style="overflow:hidden;display:block">
| |
− | | outro = </div>
| |
− | | default= YY
| |
− | | format = template
| |
− | | template = Saints thumb
| |
− | }}
| |
− | {{#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> |