Template:Publication Infobox/Module: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<noinclude> <!-- Cargo Table --> {{#cargo_attach: _table = Publication}}<!-- |Sort_Text = String |Page_Name = Page (unique) |Title = String |Abbreviation = String |System = St...")
 
No edit summary
Line 4: Line 4:
_table = Publication}}<!--
_table = Publication}}<!--
|Sort_Text = String
|Sort_Text = String
|Page_Name = Page (unique)
|Title = String
|Title = String
|Abbreviation = String
|Abbreviation = String
|System = String
|System = String
|Author = List (, ) of String
|Author = List (, ) of String
|AllAuthors = String of Wikitext
|Publisher = String
|Publisher = String
|Publication_Date = String
|Publication_Date = String
Line 18: Line 18:
|Minimum_Level = Integer <!-- for modules/adventures -->
|Minimum_Level = Integer <!-- for modules/adventures -->
|Maximum_Level = Integer <!-- for modules/adventures -->
|Maximum_Level = Integer <!-- for modules/adventures -->
|ISBN10 = String
|ISBN = String
|ISBN13 = String
|Price = String
|Price = String
|URL = URL
|URL = URL
Line 95: Line 94:
|Abbreviation = {{{abbreviation|}}}
|Abbreviation = {{{abbreviation|}}}
|System = {{{system|}}}
|System = {{{system|}}}
|Author = {{{author|}}}<!--{{#arraymap: {{{author}}}|, |authorx|{{#if: {{#pos: {{{authorx}}}|[|0}} |--><!--if starts with sq bracket skip double square brackets on both ends--><!--{{#sub: {{#sub: authorx |2|0}}|0|-2}}}}|authorx}}-->
|Author = {{#if: {{#pos: {{{author|}}}|,}}|<!--multiple authors-->{{#sub: {{{author}}}|0|{{#pos: {{{author|}}}|,}}-1}}, et. al.|<!--single or no author-->{{{author|}}}}}
|AllAuthors = {{{author|}}}
|Publisher = {{{publisher|}}}
|Publisher = {{{publisher|}}}
|Publication_Date = {{{date|}}}
|Publication_Date = {{{date|}}}
Line 105: Line 105:
|Minimum_Level = {{{minlevel|}}}
|Minimum_Level = {{{minlevel|}}}
|Maximum_Level = {{{maxlevel|}}}
|Maximum_Level = {{{maxlevel|}}}
|ISBN10 = {{{isbn10|}}}
|ISBN = {{#if: {{{isbn13|}}}|{{{isbn13}}}|{{#if: {{{isbn10|}}}{{{isbn10}}}|}}|}}
|ISBN13 = {{{isbn13|}}}
|Price = {{{price|}}}
|Price = {{{price|}}}
|URL = {{#if: {{{url|}}}|{{{url}}}|}}
|URL = {{#if: {{{url|}}}|{{{url}}}|}}
|Canon = {{#if: {{{canon|}}}|1|}}
|Canon = {{#if: {{{canon|}}}|1|}}
}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 15:34, 21 March 2020

This template adds rows to the table "Publication", which is declared by the template Publication Infobox. View table. |Following_Work = String |Minimum_Level = Integer |Maximum_Level = Integer |ISBN = String |Price = String |URL = URL |Canon = Boolean }}-->

Template documentation (for the above template, sometimes hidden or invisible)
[  Publication Infobox/Module]
Title: Hoard of the Dragon Queen
Levels: 1 – 7 
Author: Wolfgang Baur, Steve Winter 
Publisher: Wizards of the Coast 
Item Code: A9606 
Publication Date: 2014 
Format: Hardcover 
Page Count: 96 
ISBN-10: 0-7869-6564-9
 
Product Blurb
The Sword Coast is Under Siege

In an audacious bid for power the Cult of the Dragon, along with its dragon allies and the Red Wizards of Thay, seek to bring Tiamat from her prison in the Nine Hells to Faerun. To this end, they are sweeping from town to town, laying waste to all those who oppose them and gathering a hoard of riches for their dread queen. The threat of annihilation has become so dire that groups as disparate as the Harpers and Zhentarim are banding together in the fight against the cult. Never before has the need for heroes been so desperate.

This is a supplement, not a module, but it's using the module infobox to give you an example.

This text is quoted from promotion material. Text and images are copyrighted by the original publisher.
{{Publication Infobox/Module
|title=
|url=
|image=
|minlevel=
|maxlevel=
|series=
|author=
|itemcode=
|publisher=
|date=
|format=
|pgcount=
|isbn10=
|isbn13=
|price=
|productblurb=
|preceded by=
|followed by=
}}
{{Publication Infobox/Module
|title=Hoard of the Dragon Queen
|system=Dungeons and Dragons 5e
|url= 
|image=HotDQ.png
|minlevel=1
|maxlevel=7
|publisher=Wizards of the Coast
|itemcode=A9606
|author=Wolfgang Baur, Steve Winter
|date=2014
|format=Hardcover
|pgcount=96
|isbn10=0-7869-6564-9
|productblurb=''The Sword Coast is Under Siege''
In an audacious bid for power the Cult of the Dragon, along with its dragon allies and the Red Wizards of Thay, seek to bring Tiamat from her prison in the Nine Hells to Faerun. To this end, they are sweeping from town to town, laying waste to all those who oppose them and gathering a hoard of riches for their dread queen. The threat of annihilation has become so dire that groups as disparate as the Harpers and Zhentarim are banding together in the fight against the cult. Never before has the need for heroes been so desperate.

This is a supplement, not a module, but it's using the module infobox to give you an example.
}}
</noinclude>