Template:Publication Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="infobox toccolours" style="width: | <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}} | ||
|- | |- | ||
| | | style="max-width:150px;" | {{#if:{{{image|}}}|[[File:{{{image}}}|150px]]|[[file:ImageNeeded.png|150px]][[:Category:Image Needed|Image Needed]]}} | ||
| | | <!--style="max-width:50vw;"--> | | ||
{| class="infobox" style="background-color:#FCF9D3;" {{#if: {{{title|}}}| | {| class="infobox" style="background-color:#FCF9D3;" {{#if: {{{title|}}}| | ||
{{!}}- | {{!}}- | ||
Line 14: | Line 40: | ||
{{!}}- | {{!}}- | ||
{{!}} width="100px" | '''Abbreviation:''' | {{!}} width="100px" | '''Abbreviation:''' | ||
{{!}} width="220px" | {{#if: {{{abbreviation|}}}|{{#arraymap: {{{abbreviation}}}|, |x|<!--[[Abbreviation::x]]-->x}}|—}}{{#if: {{{series|}}}| | {{!}} <!--width="220px"--> | {{#if: {{{abbreviation|}}}|{{#arraymap: {{{abbreviation}}}|, |x|<!--[[Abbreviation::x]]-->x}}|—}}{{#if: {{{series|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}}'''Series:''' | {{!}}'''Series:''' | ||
{{!}}''{{{series}}}'' }}{{#if: {{{author|}}}| | {{!}}''{{{series}}}'' }}{{#if: {{{minlevel|}}}| | ||
{{!}}- | |||
{{!}}'''Levels:''' | |||
{{!}}{{{minlevel|}}}{{#if: {{{maxlevel|}}}| – {{{maxlevel|}}}|}}|}}{{#if: {{{author|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}}'''Author:''' | {{!}}'''Author:''' | ||
{{!}}{{#arraymap: {{{author}}}|, | | {{!}}{{#arraymap: {{{author}}}|, |authorx|{{#if: {{#pos: {{{authorx}}}|[|0}} |[[{{#sub: {{#sub: authorx |2|0}}|0|-2}}|{{#sub: {{#sub: authorx |2|0}}|0|-2}}]] |[[authorx]]}}}} }}{{#if: {{{publisher|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}}'''Publisher:''' | {{!}}'''Publisher:''' | ||
Line 32: | Line 61: | ||
{{!}}- | {{!}}- | ||
{{!}}'''Format:''' | {{!}}'''Format:''' | ||
{{!}}{{{format}}}<!--[[Media Type::{{{format}}}]]--> }}{{#if: {{{pgcount|}}}| | {{!}}{{{format|}}}<!--[[Media Type::{{{format}}}]]--> }}{{#if: {{{pgcount|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}}'''Page Count:''' | {{!}}'''Page Count:''' | ||
Line 61: | 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)
| |||||||||||||||||||
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>
Visit Template:Publication Infobox/doc to edit this text! (How does this work?)