Template:Product description: Difference between revisions

From Project: Redcap
(Added documentation)
(Moved documentation to doc subpage. Added category.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>
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
* productType : should be either core rules, sourcebook, Tribunal book, scenario, or (rarely) something else
* 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
----
</noinclude>
{{Infobox
{{Infobox
|title = {{{productName}}}
|title = {{{productName}}}
Line 19: Line 4:
|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}}}
Line 42: Line 27:
{{documentation}}
{{documentation}}


<!-- Add categories and interwikis to the /doc subpage, not here! -->
<noinclude>
[[Category:Project Redcap Custom Templates]]
</noinclude>
</noinclude>

Latest revision as of 14:36, 28 December 2015

{{{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 in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.