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_SHORT_NAME (label=Short-name;namespace=User)|Book_Full_Title (label=Full Title;namespace=User)|AUTHOR_NAME (label=Authour Name(s);list;namespace=User)|PUBR_NAME (label=Publisher)|Book_Type (label=Book Type;namespace=User)|ISBN (label=ISBN No;namespace=User)|Width (label=Width (mm);namespace=User)|Height (namespace=User)|Orientation|Format}}
{{#template_params:BOOK_SHORT_NAME (label=Short Name;namespace=User)|Book_Full_Title (label=Full Title;namespace=User)|Edition (list;namespace=User)|AUTHOR_NAME (label=Author(s);namespace=User)|PUBR_NAME (label=Publisher;namespace=User)|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)}}
{{#cargo_declare:_table=Books|BOOK_SHORT_NAME=Page|Book_Full_Title=Text|AUTHOR_NAME=List (,) of Text|PUBR_NAME=Text|Book_Type=Text (allowed values=Book,Booklet,Pamphlet,Report)|ISBN=Text|Width=Integer|Height=Integer|Orientation=Page (allowed values=Portrait,Landscape)|Format=Text (allowed values=Hard-cover,Soft-cover,Spiral-bound,Staple-bound,Stapled,Loose-leaf)}}
{{#cargo_declare:_table=Books|BOOK_SHORT_NAME=Page|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=Integer|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}}
{{#template_display:_format=standard}}
{{#template_display:_format=standard}}
[[Category:Books]]
[[Category:Books]]
</includeonly>
</includeonly>

Revision as of 09:37, 20 July 2022

This is the "Books" template.

It should be called in the following format:

{{Books
|BOOK_SHORT_NAME=
|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.