Difference between revisions of "Template:Books"

From PianoPedaWiki
Jump to navigation Jump to search
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Publisher|PublicationDate|Repertoire}}
{{#template_params:Publisher|PublicationDate|Repertoire}}
{{#cargo_declare:_table=Books|Publisher=String|PublicationDate=Integer|Repertoire=List (,) of Page}}
 
</noinclude><includeonly>{{#cargo_store:_table=Books}}
{{#cargo_declare:_table=Books|Publisher=String|PublicationDate=Integer|Repertoire=List (~) of Page|SheetMusicPlusLink=String|AmazonDB=string}}
{{#template_display:_format=standard}}
</noinclude>
 
<includeonly>
{{#cargo_store:_table=Books}}
 
 
{| class="wikitable"
! Publisher
| {{{Publisher|}}}
|-
! Original Publication Date
| {{{PublicationDate|}}}
|-
! Repertoire
| {{#arraymap:{{{Repertoire|}}}|~|x|[[x]]|\n\n}}
|-
! Link to Sheet Music Plus:
| {{#if:{{{SheetMusicPlusLink|}}}|[{{{SheetMusicPlusLink|}}}??aff_id=740417 Buy this at Sheetmusicplus.com]|No Sheet Music Plus Link Yet.}}
|-
! Link to Amazon:
|{{#if:{{{AmazonDB|}}}|[http://www.amazon.com/dp/{{{AmazonDB|}}}/ref=nosim?tag=pianopedawiki-20 Buy this at Amazon.com]|No Amazon Link Yet}}
|-}
 
 
[[Category:Books]]
[[Category:Books]]
</includeonly>
</includeonly>

Latest revision as of 16:45, 28 March 2022

This is the "Books" template.

It should be called in the following format:

{{Books
|Publisher=
|PublicationDate=
|Repertoire=
}}

Edit the page to see the template text.

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