Difference between revisions of "Template:Saints infobox"

From Saint Seiya Awakening Wiki
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
This is the "Saints" template.
 
This is the "Saints" template.
{{#cargo_declare:_table=Saints|title=String}}
+
{{#cargo_declare:_table=Saints|title=String|image=String|class=String|rarity=String|desc=String|}}
</noinclude><includeonly>{{#cargo_store:_table=Saints|title={{{title|}}} }}
+
</noinclude><includeonly>{{#cargo_store:_table=Saints|title={{{title|}}}|image={{{image|}}}|class={{{class|}}}|rarity={{{rarity|}}}|desc={{{desc|}}} }}
 
<table class="wikitable saints-infobox" style="max-width:255px;">
 
<table class="wikitable saints-infobox" style="max-width:255px;">
 
<tr>
 
<tr>

Revision as of 09:29, 27 June 2019

This is the "Saints" template.

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