Difference between revisions of "Template:Card List"

From A3! Wiki
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=Cards|number=Integer|prebloomed=Boolean|cardname=String|character=String|attribute=String|rarity=String|troupe=String|cardset=String}}</noinclude>
+
<noinclude>{{#cargo_declare:_table=Cards|number=Integer|prebloomed=Boolean|cardname=String|character=String|attribute=String|rarity=String|troupe=String|cardset=String|trainingcard=Boolean}}</noinclude>
<includeonly>{{#cargo_store:_table=Cards|number={{{number|}}}|prebloomed={{{prebloomed|0}}}|cardname={{{cardname|}}}|character={{{character|}}}|attribute={{{attribute|}}}|rarity={{{rarity|}}}|troupe={{{troupe|}}}|cardset={{{cardset|}}}}}</includeonly>
+
<includeonly>{{#cargo_store:_table=Cards|number={{{number|}}}|prebloomed={{{prebloomed|0}}}|cardname={{{cardname|}}}|character={{{character|}}}|attribute={{{attribute|}}}|rarity={{{rarity|}}}|troupe={{{troupe|}}}|cardset={{{cardset|}}}|trainingcard={{{trainingcard|}}}}}</includeonly>
 
<noinclude>
 
<noinclude>
 
{{Card List
 
{{Card List
Line 1,236: Line 1,236:
 
|troupe=Other
 
|troupe=Other
 
|cardset=N/A
 
|cardset=N/A
 +
|trainingcard=yes
 
}}
 
}}
 
{{Card List
 
{{Card List
Line 1,246: Line 1,247:
 
|troupe=Other
 
|troupe=Other
 
|cardset=N/A
 
|cardset=N/A
 +
|trainingcard=yes
 
}}
 
}}
 
{{Card List
 
{{Card List
Line 1,256: Line 1,258:
 
|troupe=Other
 
|troupe=Other
 
|cardset=N/A
 
|cardset=N/A
 +
|trainingcard=yes
 
}}
 
}}
 
{{Card List
 
{{Card List
Line 1,266: Line 1,269:
 
|troupe=Other
 
|troupe=Other
 
|cardset=N/A
 
|cardset=N/A
 +
|trainingcard=yes
 
}}
 
}}
 
{{Card List
 
{{Card List
Line 1,276: Line 1,280:
 
|troupe=Other
 
|troupe=Other
 
|cardset=N/A
 
|cardset=N/A
 +
|trainingcard=yes
 
}}
 
}}
 
{{Card List
 
{{Card List
Line 1,286: Line 1,291:
 
|troupe=Other
 
|troupe=Other
 
|cardset=N/A
 
|cardset=N/A
 +
|trainingcard=yes
 
}}
 
}}
 
{{Card List
 
{{Card List
Line 1,296: Line 1,302:
 
|troupe=Other
 
|troupe=Other
 
|cardset=N/A
 
|cardset=N/A
 +
|trainingcard=yes
 
}}
 
}}
 
{{Card List
 
{{Card List
Line 1,306: Line 1,313:
 
|troupe=Other
 
|troupe=Other
 
|cardset=N/A
 
|cardset=N/A
 +
|trainingcard=yes
 
}}
 
}}
 
{{Card List
 
{{Card List
Line 1,316: Line 1,324:
 
|troupe=Other
 
|troupe=Other
 
|cardset=N/A
 
|cardset=N/A
 +
|trainingcard=yes
 
}}
 
}}
 
{{Card List
 
{{Card List
Line 1,346: Line 1,355:
 
|troupe=Other
 
|troupe=Other
 
|cardset=N/A
 
|cardset=N/A
 +
|trainingcard=yes
 
}}
 
}}
 
{{Card List
 
{{Card List
Line 1,356: Line 1,366:
 
|troupe=Other
 
|troupe=Other
 
|cardset=N/A
 
|cardset=N/A
 +
|trainingcard=yes
 
}}
 
}}
 
{{Card List
 
{{Card List
Line 1,366: Line 1,377:
 
|troupe=Other
 
|troupe=Other
 
|cardset=N/A
 
|cardset=N/A
 +
|trainingcard=yes
 
}}
 
}}
 
{{Card List
 
{{Card List

Revision as of 23:35, 17 October 2017

Error: "character" cannot be used as a Cargo field name, because it is an SQL keyword.