Difference between revisions of "Template:Publication Infobox"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m (author and publisher namespace link updates)
(cleanup and update)
Line 1: Line 1:
{| class="infobox" width="500px" style="text-align: left;"
+
<includeonly>{| class="infobox toccolours" width:500px;"
 +
|-
 
|+ class="invert" |{{#if: {{{url|}}}|[{{{url}}} {{PAGENAME}}]|{{PAGENAME}}}} {{pagedata}}
 
|+ class="invert" |{{#if: {{{url|}}}|[{{{url}}} {{PAGENAME}}]|{{PAGENAME}}}} {{pagedata}}
 
|-
 
|-
Line 7: Line 8:
 
|}
 
|}
 
|
 
|
{| class="infobox" style="border-style: none;"
+
{| class="infobox" style="border-style: none;"{{#if: {{{system|}}}|&nbsp;
|-
+
{{!}}-
! System:  
+
{{!}}
| {{#if: {{{system|}}}|[[System::{{{system}}}]]|<small>unknown.  Please edit this page and add it. (add <nowiki>|system=</nowiki>)</small>}}
+
'''System:'''
|-
+
{{!}}
! Abbreviation:  
+
[[System::{{{system}}}]]}}&nbsp;
| {{#if:{{{abbreviation|}}}|{{#arraymap: {{{abbreviation}}}|, |x|[[Abbreviation::x]]}}|<small>unknown.  Please edit this page and add it. (add <nowiki>|abbreviation=</nowiki>)</small>}}{{#if: {{{series|}}}|<nowiki/>
+
{{!}}-
 +
{{!}}
 +
'''Abbreviation:'''
 +
{{!}}
 +
{{#if: {{{abbreviation|}}}|{{#arraymap: {{{abbreviation}}}|, |x|[[Abbreviation::x]]}}|&mdash;}}{{#if: {{{system|}}}|&nbsp;
 +
{{!}}-
 +
{{!}}
 +
'''System:'''
 +
{{!}}
 +
[[System::{{{system}}}]]}}{{#if: {{{series|}}}|&nbsp;
 +
{{!}}-
 +
{{!}}
 +
'''Series:'''
 +
{{!}}  
 +
{{{series}}} }}{{#if: {{{author|}}}|&nbsp;
 +
{{!}}-
 +
{{!}}
 +
'''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;
 +
{{!}}-
 +
{{!}}
 +
'''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;
 +
{{!}}-
 +
{{!}}
 +
'''Item Code:'''
 +
{{!}}
 +
[[Item Code::{{{itemcode}}}]] }}{{#if: {{{date|}}}|&nbsp;
 +
{{!}}-
 +
{{!}}
 +
'''Publication Date:'''
 +
{{!}}
 +
[[Publication Date::{{{date}}}]] }}{{#if: {{{format|}}}|&nbsp;
 +
{{!}}-
 +
{{!}}
 +
'''Format:'''
 +
{{!}}
 +
{{{format}}} }}{{#if: {{{pgcount|}}}|&nbsp;
 +
{{!}}-
 +
{{!}}
 +
'''Page Count:'''
 +
{{!}}
 +
[[Page Count::{{{pgcount}}}]] }}{{#if: {{{isbn10|}}}|&nbsp;
 +
{{!}}-
 +
{{!}}
 +
'''ISBN-10:'''
 +
{{!}}
 +
[[Special:Booksources/{{{isbn10}}}|{{{isbn10}}}]][[ISBN::{{{isbn10}}}| ]] }}{{#if: {{{isbn13|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
! Series:
+
{{!}}  
{{!}} {{{series}}} }}
+
'''ISBN-13:'''
|-
+
{{!}}  
! Author:  
+
[[Special:Booksources/{{{isbn13}}}|{{{isbn13}}}]][[ISBN13::{{{isbn13}}}| ]] }}{{#if: {{{price|}}}|&nbsp;
| {{#if:{{{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]]}}}}|<small>unknown.  Please edit this page and add it. (add <nowiki>|author=</nowiki>)</small>}}
 
|-
 
! Publisher:
 
| {{#if:{{{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]]}}}}|<small>unknown.  Please edit this page and add it. (add <nowiki>|publisher=</nowiki>)</small>}}
 
|-
 
! Item Code:
 
| {{#if:{{{itemcode|}}}|[[Item Code::{{{itemcode}}}]]|<small>unknown.  Please edit this page and add it. (add <nowiki>|itemcode=</nowiki>)</small>}}
 
|-
 
! Release Date:
 
| {{#if:{{{date|}}}|[[Publication Date::{{{date}}}]]|<small>unknown.  Please edit this page and add it. (add <nowiki>|date=</nowiki>)</small>}}
 
|-
 
! Format:
 
| {{#if:{{{format|}}}|{{{format}}}|<small>unknown.  Please edit this page and add it. (add <nowiki>|format=</nowiki>)</small>}}
 
|-
 
! Page Count:
 
| {{#if:{{{pgcount|}}}|[[Page Count::{{{pgcount}}}]]|<small>unknown.  Please edit this page and add it. (add <nowiki>|pgcount=</nowiki>)</small>}}
 
|-
 
! ISBN-10:
 
| {{#if:{{{isbn10|}}}|[[Special:Booksources/{{{isbn10}}}|{{{isbn10}}}]]{{#set: ISBN={{{isbn10}}} }}|<small>unknown.  Please edit this page and add it. (add <nowiki>|isbn10=</nowiki>)</small>}}{{#if: {{{isbn13|}}}|<nowiki/>
 
 
{{!}}-
 
{{!}}-
! ISBN-13:
+
{{!}}  
{{!}} [[Special:Booksources/{{{isbn13}}}|{{{isbn13}}}]] }}
+
'''Price:'''
|-
+
{{!}}  
! Price:
+
{{{price}}} }}
| {{#if:{{{price|}}}|{{{price}}}|<small>unknown.  Please edit this page and add it. (add <nowiki>|price=</nowiki>)</small>}}
 
 
|}
 
|}
 
|-
 
|-
Line 52: Line 82:
 
| {{#if:{{{productblurb|}}}|{{{productblurb}}}|<small>unknown.  Please edit this page and add it. (add <nowiki>|productblurb=</nowiki>)</small>}}
 
| {{#if:{{{productblurb|}}}|{{{productblurb}}}|<small>unknown.  Please edit this page and add it. (add <nowiki>|productblurb=</nowiki>)</small>}}
 
|}<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>
|}<noinclude>
+
|}</onlyinclude><noinclude>{{documentation}}</noinclude>
{{Publication Infobox
 
|url=http://www.wizards.com/default.asp?x=products/dndacc/880360000
 
|image=Compdivine.jpg
 
|abbreviation=CD
 
|series=
 
|author=David Noonan
 
|itemcode=880360000
 
|publisher=Wizards of the Coast
 
|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.
 
}}
 
<pre style="word-wrap: break-word; width: 300px; overflow: scroll;"><nowiki>{{Publication Infobox
 
|url=
 
|image=
 
|abbreviation=
 
|series=
 
|author=
 
|itemcode=
 
|publisher=
 
|date=
 
|format=
 
|pgcount=
 
|isbn10=
 
|isbn13=
 
|price=
 
|productblurb=
 
}}</nowiki></pre>
 
<pre style="word-wrap: break-word; width: 300px; overflow: scroll;"><nowiki>{{Publication Infobox
 
|url=http://www.wizards.com/default.asp?x=products/dndacc/880360000
 
|image=Compdivine.jpg
 
|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.
 
}}</nowiki></pre></noinclude>
 

Revision as of 05:35, 31 July 2011