Template:Publication Infobox: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
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
|Issue = String <!-- for periodicals -->
|ISBN13 = String
|Article = String <!-- for periodicals -->
|ISBN = String
|Price = String
|Price = String
|URL = URL
|URL = URL
|Canon = Boolean
|Canon = Boolean
}}
}}
</noinclude><includeonly>{| class="infobox<!-- toccolours-->" style="width:500px;"
</noinclude><includeonly>{| class="infobox<!-- toccolours-->" style="max-width:60vw; font-size:0.75rem;"
|-
|-
|+ class="invert" |''{{#if: {{{url|}}}|[{{{url}}} {{PAGENAME}}]|{{PAGENAME}}}}'' {{pagedata}}
|+ class="invert" |''{{#if: {{{url|}}}|[{{{url}}} {{PAGENAME}}]|{{PAGENAME}}}}'' {{pagedata}}
|-
|-
| width="180px" | [[File:{{#if:{{{image|}}}|{{{image}}}|ImageNeeded.png }}|180px]]{{#if:{{{image|}}}||<!--{{#set:Help Wanted Reason=Image Needed}}-->[[:Category:Image Needed|Image Needed]]}}
| style="max-width:150px;" | {{#if:{{{image|}}}|[[File:{{{image}}}|150px]]|[[file:ImageNeeded.png|150px]][[:Category:Image Needed|Image Needed]]}}
| width="320px" |  
| <!--style="max-width:50vw;"--> |  
{| class="infobox" style="background-color:#FCF9D3;" {{#if: {{{title|}}}|&nbsp;
{| class="infobox" style="background-color:#FCF9D3;" {{#if: {{{title|}}}|&nbsp;
{{!}}-
{{!}}-
Line 39: Line 40:
{{!}}-
{{!}}-
{{!}} width="100px" | '''Abbreviation:'''
{{!}} width="100px" | '''Abbreviation:'''
{{!}} width="220px" | {{#if: {{{abbreviation|}}}|{{#arraymap: {{{abbreviation}}}|, |x|<!--[[Abbreviation::x]]-->x}}|&mdash;}}{{#if: {{{series|}}}|&nbsp;
{{!}} <!--width="220px"--> | {{#if: {{{abbreviation|}}}|{{#arraymap: {{{abbreviation}}}|, |x|<!--[[Abbreviation::x]]-->x}}|&mdash;}}{{#if: {{{series|}}}|&nbsp;
{{!}}-
{{!}}-
{{!}}'''Series:'''
{{!}}'''Series:'''
{{!}}''{{{series}}}'' }}{{#if: {{{author|}}}|&nbsp;
{{!}}''{{{series}}}'' }}{{#if: {{{minlevel|}}}|&nbsp;
{{!}}-
{{!}}'''Levels:'''
{{!}}{{{minlevel|}}}{{#if: {{{maxlevel|}}}| – {{{maxlevel|}}}|}}|}}{{#if: {{{author|}}}|&nbsp;
{{!}}-
{{!}}-
{{!}}'''Author:'''
{{!}}'''Author:'''
{{!}}{{#arraymap: {{{author}}}|, |x|{{#if: {{#pos: {{{x}}}|[|0}} |<!--{{#set: Author={{#sub: {{#sub: x |2|0}}|0|-2}}}}-->[[<!--Canon:-->{{#sub: {{#sub: x |2|0}}|0|-2}}|{{#sub: {{#sub: x |2|0}}|0|-2}}]] |<!--{{#set: Author=x}}-->[[<!--Canon:-->x|x]]}}}} }}{{#if: {{{publisher|}}}|&nbsp;
{{!}}{{#arraymap: {{{author}}}|, |authorx|{{#if: {{#pos: {{{authorx}}}|[|0}} |[[{{#sub: {{#sub: authorx |2|0}}|0|-2}}|{{#sub: {{#sub: authorx |2|0}}|0|-2}}]] |[[authorx]]}}}} }}{{#if: {{{publisher|}}}|&nbsp;
{{!}}-
{{!}}-
{{!}}'''Publisher:'''
{{!}}'''Publisher:'''
Line 86: Line 90:
{{!}}}  
{{!}}}  
<div style="margin-top: -10px;"><small>This text is quoted from promotion material. Text and images are copyrighted by the original publisher.</small></div> }}
<div style="margin-top: -10px;"><small>This text is quoted from promotion material. Text and images are copyrighted by the original publisher.</small></div> }}
|}<!--
|}
<!--
Store Data
Store Data
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
_table = Publication
_table = Publication
|Sort_Text = {{{sorttext|}}}
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}}|{{#if: {{{title|}}}|{{{title}}}|{{PAGENAME}}}}}}
|Page_Name = {{FULLPAGENAME}}
|Title = {{#if: {{{title|}}}|{{{title}}}|{{PAGENAME}}}}
|Title = {{#if: {{{title|}}}|{{{title}}}|{{PAGENAME}}}}
|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|}}}
|Media_Type = {{{format|}}}
|Media_Type = {{{format|}}}
|Page_Count = {{{pgcount|}}}
|Page_Count = {{{pgcount|}}}
|Issue = {{{issue|}}}
|Article = {{{article|}}}
|Series = {{{series|}}}
|Series = {{{series|}}}
|Previous_Work = {{{preceded by|}}}
|Previous_Work = {{{preceded by|}}}
|Following_Work = {{{followed by|}}}
|Following_Work = {{{followed by|}}}
|ISBN10 = {{{isbn10|}}}
|ISBN = {{#if: {{{isbn13|}}}|{{{isbn13}}}|{{#if: {{{isbn10|}}}{{{isbn10}}}|}}|}}
|ISBN13 = {{{isbn13|}}}
|Price = {{{price|}}}
|Price = {{{price|}}}
|URL = {{#if: {{{url|}}}|{{{url}}}|}}
|URL = {{#if: {{{url|}}}|{{{url}}}|}}

Latest revision as of 11:18, 31 January 2022

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

Template documentation (for the above template, sometimes hidden or invisible)
Publication Infobox
Title: Monster Manual (5e)   
System: Dungeons and Dragons 5e 
Abbreviation: MM 
Author: Christopher Perkins, Mike Mearls, Jeremy Crawford 
Publisher: Wizards of the Coast 
Publication Date: 2014-09-30 
Format: Hardback 
ISBN-10: 978-0786965618  
Price: 49.95
 
Product Blurb
A menagerie of deadly monsters for the world’s greatest roleplaying game.
This text is quoted from promotion material. Text and images are copyrighted by the original publisher.
{{Publication Infobox
|title=
|system=
|url=
|image=
|minlevel= <!-- for module -->
|maxlevel= <!-- for module -->
|abbreviation=
|series=
|author=
|issue= <!--for periodical-->
|article= <!--for periodical-->
|itemcode=
|publisher=
|date=
|format=
|pgcount=
|isbn10=
|isbn13=
|price=
|productblurb=
|preceded by=
|followed by=
}}
{{Publication Infobox
|title=Complete Divine
|system=Dungeons & Dragons 3.5
|url=http://www.wizards.com/default.asp?x=products/dndacc/880360000
|image=Compdivine.jpg
|minlevel= <!-- for module -->
|maxlevel= <!-- for module -->
|abbreviation=CD
|series=
|itemcode=880360000
|date=May 2004
|format=Hardcover
|pgcount=192
|isbn10=0-7869-3272-4
|isbn13=9780786932726
|price=$29.95; C$44.95
|productblurb=Legends tell of brave champions whose unwavering faith earned them the favor of the gods. Empowered by the might and magic of their deity, these devoted characters transcend the realm of mere heroes.

This supplement for the D&D game provides everything you need to create divinely inspired characters of any class. Along with new base classes, prestige classes, feats, spells, magic items, and relics, Complete Divine also provides guidelines for incorporating religion -- from mysterious cults to powerful theocracies -- into your campaign.
}}
</noinclude>