Template:Product description: Difference between revisions

From Project: Redcap
(Added documentation)
(Removed default values, slightly updated documentation)
Line 7: Line 7:
* edition: which edition of Ars Magica the product was designed for, as an English word (second, third, etc.)
* edition: which edition of Ars Magica the product was designed for, as an English word (second, third, etc.)
* abbreviation : the abbreviation used to refer to the book, if any
* abbreviation : the abbreviation used to refer to the book, if any
* productType : should be either core rules, sourcebook, Tribunal book, scenario, or (rarely) something else  
* type : should be either core rules, sourcebook, Tribunal book, scenario, or (rarely) something else  
* authors : comma-separated list of authors
* publisher : the company that published the product
* publisher : the company that published the product
* isbn : International Standard Book Number, or N/A if the product is not a book
* isbn : International Standard Book Number, or N/A if the product is not a book
Line 19: Line 20:
|header1 = Product Information
|header1 = Product Information
|label2 = '''Rules Edition:'''
|label2 = '''Rules Edition:'''
|data2 = {{{edition|Fifth}}}
|data2 = {{{edition}}}
|label3 = '''Abbreviation:'''
|label3 = '''Abbreviation:'''
|data3 = {{{abbreviation}}}
|data3 = {{{abbreviation}}}
|label4 = '''Product Type:'''
|label4 = '''Product Type:'''
|data4 = {{{type|Sourcebook}}}
|data4 = {{{type}}}
|label5 = '''Author(s):'''
|label5 = '''Author(s):'''
|data5 = {{{authors}}}
|data5 = {{{authors}}}

Revision as of 05:45, 7 February 2012

This is the Product description template. Use it to create a nice infobox when you're creating a page in the Category:Products.

Since I have trouble getting the template documentation to work, here is what you need to know. This template has the following parameters:

  • productName : the name of the product. Use the full title including punctuation such as colons, etc.
  • imageFile : file name of a cover illustration, if available.
  • edition: which edition of Ars Magica the product was designed for, as an English word (second, third, etc.)
  • abbreviation : the abbreviation used to refer to the book, if any
  • type : should be either core rules, sourcebook, Tribunal book, scenario, or (rarely) something else
  • authors : comma-separated list of authors
  • publisher : the company that published the product
  • isbn : International Standard Book Number, or N/A if the product is not a book
  • releaseDate : date the product was released, preferably month and year
  • availability : should be one of: in print, out of print, in print (PDF available), or PDF only

{{{productName}}}
Cover illustration for {{{productName}}}
Product Information
Rules Edition: {{{edition}}}
Abbreviation: {{{abbreviation}}}
Product Type: {{{type}}}
Author(s): {{{authors}}}
Publisher: Atlas Games
Product Number: {{{productNumber}}}
ISBN: {{{isbn}}}
Release date: {{{releaseDate}}}
Format: Hardcover, ?? pages
Availability: In print

Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.