Template:TestThisTable: Difference between revisions

From HorizonXI Wiki
(Created page with "<noinclude> This is the "Book" template. {{#cargo_declare:_table=Books |Authors=List (,) of Page |Genres=List (,) of String |Year_of_publication=Date |Number_of_pages=Integer}} </noinclude> <includeonly> {{#cargo_store:_table=Books}} {| ! Author(s) | {{#arraymap:{{{Authors|}}}|,|x|{{#formredlink:form=Author|target=x}} }} |- ! Genre(s) | {{{Genres|}}} |- ! Year of publication | {{{Year_of_publication|}}} |- ! Number of pages | {{{Number_of_pages|}}} |} </includeonly>")
 
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Book" template.
{{#cargo_declare:
 
_table = testThisTable
{{#cargo_declare:_table=Books
|testParamDate = Date
|Authors=List (,) of Page
}}
|Genres=List (,) of String
</noinclude><includeonly>
|Year_of_publication=Date
{{#cargo_store:
|Number_of_pages=Integer}}
_table = testThisTable
|testParamDate={{{testParamDate|}}}
}}</includeonly><noinclude>
[[Category:TestThisTable]]
</noinclude>
</noinclude>
<includeonly>
{{#cargo_store:_table=Books}}
{|
! Author(s)
| {{#arraymap:{{{Authors|}}}|,|x|{{#formredlink:form=Author|target=x}} }}
|-
! Genre(s)
| {{{Genres|}}}
|-
! Year of publication
| {{{Year_of_publication|}}}
|-
! Number of pages
| {{{Number_of_pages|}}}
|}
</includeonly>

Revision as of 14:13, 22 October 2023

This template defines the table "testThisTable". This table has not been created yet.