Template:Publication Infobox: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<includeonly>{| class="infobox toccolours" style="width:500px;" |- |+ class="invert" |''{{#if: {{{url|}}}|[{{{url}}} {{PAGENAME}}]|{{PAGENAME}}}}'' {{pagedata}} |- | width="18...")
 
mNo edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="infobox toccolours" style="width:500px;"
<noinclude>
<!-- Cargo Table -->
{{#cargo_declare:
_table = Publication
|Sort_Text = String
|Title = String
|Abbreviation = String
|System = String
|Author = List (, ) of String
|AllAuthors= String of Wikitext
|Publisher = String
|Publication_Date = String
|Media_Type = String
|Page_Count = String
|Series = String
|Previous_Work = String <!-- Preceding work in series -->
|Following_Work = String <!-- Work that follows in series -->
|Minimum_Level = Integer <!-- for modules/adventures -->
|Maximum_Level = Integer <!-- for modules/adventures -->
|Issue = String <!-- for periodicals -->
|Article = String <!-- for periodicals -->
|ISBN = String
|Price = String
|URL = URL
|Canon = Boolean
}}
</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}}}}
| 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: {{{system|}}}|&nbsp;
{| class="infobox" style="background-color:#FCF9D3;" {{#if: {{{title|}}}|&nbsp;
{{!}}-
{{!}}'''Title:'''
{{!}}<!--[[Title::{{{title}}}]]-->{{{title}}}&nbsp;|}} {{#if: {{{system|}}}|&nbsp;
{{!}}-
{{!}}-
{{!}}'''System:'''
{{!}}'''System:'''
{{!}}[[System::{{{system}}}]]}}&nbsp;
{{!}}<!--[[System::{{{system}}}]]-->{{{system}}}&nbsp;|}}
{{!}}-
{{!}}-
{{!}} width="100px" | '''Abbreviation:'''
{{!}} width="100px" | '''Abbreviation:'''
{{!}} width="220px" | {{#if: {{{abbreviation|}}}|{{#arraymap: {{{abbreviation}}}|, |x|[[Abbreviation::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:'''
{{!}}{{#arraymap: {{{publisher}}}|, |x|{{#if: {{#pos: {{{x}}}|[|0}} |{{#set: Publisher={{#sub: {{#sub: x |2|0}}|0|-2}}}}[[Canon:{{#sub: {{#sub: x |2|0}}|0|-2}}|{{#sub: {{#sub: x |2|0}}|0|-2}}]] |{{#set: Publisher=x}}[[Canon:x|x]]}}}} }}{{#if: {{{itemcode|}}}|&nbsp;
{{!}}{{#arraymap: {{{publisher}}}|, |x|{{#if: {{#pos: {{{x}}}|[|0}} |<!--{{#set: Publisher={{#sub: {{#sub: x |2|0}}|0|-2}}}}-->[[<!--Canon:-->{{#sub: {{#sub: x |2|0}}|0|-2}}|{{#sub: {{#sub: x |2|0}}|0|-2}}]] |<!--{{#set: Publisher=x}}-->[[<!--Canon:-->x|x]]}}}} }}{{#if: {{{itemcode|}}}|&nbsp;
{{!}}-
{{!}}-
{{!}}'''Item Code:'''
{{!}}'''Item Code:'''
{{!}}[[Item Code::{{{itemcode}}}]] }}{{#if: {{{date|}}}|&nbsp;
{{!}}{{{itemcode}}}<!--[[Item Code::{{{itemcode}}}]]-->}}{{#if: {{{date|}}}|&nbsp;
{{!}}-
{{!}}-
{{!}}'''Publication Date:'''
{{!}}'''Publication Date:'''
{{!}}[[Publication Date::{{{date}}}]] }}{{#if: {{{format|}}}|&nbsp;
{{!}}{{{date}}}<!--[[Publication Date::{{{date}}}]]--> }}{{#if: {{{format|}}}|&nbsp;
{{!}}-
{{!}}-
{{!}}'''Format:'''
{{!}}'''Format:'''
{{!}}[[Media Type::{{{format}}}]] }}{{#if: {{{pgcount|}}}|&nbsp;
{{!}}{{{format|}}}<!--[[Media Type::{{{format}}}]]--> }}{{#if: {{{pgcount|}}}|&nbsp;
{{!}}-
{{!}}-
{{!}}'''Page Count:'''
{{!}}'''Page Count:'''
{{!}}[[Page Count::{{{pgcount}}}]] }}{{#if: {{{isbn10|}}}|&nbsp;
{{!}}<!--[[Page Count::{{{pgcount}}}]]-->{{{pgcount}}}|}}{{#if: {{{isbn10|}}}|&nbsp;
{{!}}-
{{!}}-
{{!}}'''ISBN-10:'''
{{!}}'''ISBN-10:'''
Line 58: 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> }}
|}</includeonly><noinclude>{{Documentation}}</noinclude>
|}
<!--
Store Data
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
_table = Publication
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}}|{{#if: {{{title|}}}|{{{title}}}|{{PAGENAME}}}}}}
|Title = {{#if: {{{title|}}}|{{{title}}}|{{PAGENAME}}}}
|Abbreviation = {{{abbreviation|}}}
|System = {{{system|}}}
|Author = {{#if: {{#pos: {{{author|}}}|,}}|<!--multiple authors-->{{#sub: {{{author}}}|0|{{#pos: {{{author|}}}|,}}-1}}, et. al.|<!--single or no author-->{{{author|}}}}}
|AllAuthors = {{{author|}}}
|Publisher = {{{publisher|}}}
|Publication_Date = {{{date|}}}
|Media_Type = {{{format|}}}
|Page_Count = {{{pgcount|}}}
|Issue = {{{issue|}}}
|Article = {{{article|}}}
|Series = {{{series|}}}
|Previous_Work = {{{preceded by|}}}
|Following_Work = {{{followed by|}}}
|ISBN = {{#if: {{{isbn13|}}}|{{{isbn13}}}|{{#if: {{{isbn10|}}}{{{isbn10}}}|}}|}}
|Price = {{{price|}}}
|URL = {{#if: {{{url|}}}|{{{url}}}|}}
|Canon = {{#if: {{{canon|}}}|1|}}
}}}}</includeonly><noinclude>
{{Documentation}}
</noinclude>

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>