Template:Books: Difference between revisions

From Railway Knowledge Base for New Zealand
Jump to navigation Jump to search
(Generated from a page schema)
(Generated from a page schema)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Book_Full_Title (label=Full Title;namespace=User)|Edition (list;namespace=User)|AUTHOR_NAME (label=Author(s))|PUBR_NAME (label=Publisher)|Pubn_Year (label=Publication Year;namespace=User)|Pubn_Type (label=Publication Type;namespace=User)|ISBN (namespace=User)|Width (label=Width in mm;namespace=User)|Height (namespace=User)|Orientation (list;namespace=User)|Format (namespace=User)|Page_Count (label=Pages;namespace=User)|Cover Image (namespace=File)}}
{{#template_params:Book_Full_Title (label=Full Title;namespace=User)|Edition (list)|AUTHOR_NAME (label=Author(s))|PUBR_NAME (label=Publisher)|Pubn_Year (label=Publication Year)|Pubn_Type (label=Publication Type)|ISBN|Width (label=Width (mm))|Height (label=Height (mm))|Orientation (list)|Format|Page_Count (label=Pages)|Cover Image (namespace=File)}}
{{#cargo_declare:_table=Books|Book_Full_Title=Text|Edition=List (,) of Integer|AUTHOR_NAME=Page|PUBR_NAME=Page|Pubn_Year=Integer|Pubn_Type=Text (allowed values=Book,Booklet,Pamphlet,Report)|ISBN=Text|Width=Integer|Height=Integer|Orientation=List (,) of Text (allowed values=Portrait,Landscape)|Format=Text (allowed values=Hard-cover,Soft-cover,Spiral-bound,Staple-bound,Stapled,Loose-leaf)|Page_Count=Integer|Cover_Image=File}}
{{#cargo_declare:_table=Books|Book_Full_Title=Text|Edition=List (,) of Integer|AUTHOR_NAME=Page|PUBR_NAME=Page|Pubn_Year=Integer|Pubn_Type=Text (allowed values=Book,Booklet,Pamphlet,Report)|ISBN=Text|Width=Integer|Height=Integer|Orientation=List (,) of Text (allowed values=Portrait,Landscape)|Format=Text (allowed values=Hard-cover,Soft-cover,Spiral-bound,Staple-bound,Stapled,Loose-leaf)|Page_Count=Integer|Cover_Image=File}}
</noinclude><includeonly>{{#cargo_store:_table=Books}}
</noinclude><includeonly>{{#cargo_store:_table=Books}}

Revision as of 08:31, 21 July 2022

This is the "Books" template.

It should be called in the following format:

{{Books
|Book_Full_Title=
|Edition=
|AUTHOR_NAME=
|PUBR_NAME=
|Pubn_Year=
|Pubn_Type=
|ISBN=
|Width=
|Height=
|Orientation=
|Format=
|Page_Count=
|Cover Image=
}}

Edit the page to see the template text.

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