Difference between revisions of "Template:Stageplays"

From A3! Wiki
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>
+
<noinclude>{{#cargo_declare:_table=Stage
{{#cargo_declare:_table=Stage
 
 
|number=Integer
 
|number=Integer
 
|name_en=String
 
|name_en=String
}}
+
}}</noinclude><includeonly>{{#cargo_store:_table=Stage
</noinclude>
 
<includeonly>
 
{{#cargo_store:_table=Stage
 
 
|number={{{number|}}}
 
|number={{{number|}}}
 
|name_en={{{name_en|}}}
 
|name_en={{{name_en|}}}
 
}}
 
}}
 +
'''Previous Stage:''' {{#cargo_query:tables=Stage|fields=CONCAT('[[',name_en,']]')|where=number={{{number|}}}-1|default=N/A}}<br>
 +
'''Next Stage:''' {{#cargo_query:tables=Stage|fields=CONCAT('[[',name_en,']]')|where=number={{{number|}}}+1|default=N/A}}
 
</includeonly>
 
</includeonly>

Latest revision as of 12:56, 17 March 2019

This template defines the table "Stage". View table.