Template:Publication Infobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
_table = Publication | _table = Publication | ||
|Sort_Text = String | |Sort_Text = String | ||
|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 16: | Line 16: | ||
|Previous_Work = String <!-- Preceding work in series --> | |Previous_Work = String <!-- Preceding work in series --> | ||
|Following_Work = String <!-- Work that follows 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 | |Price = String | ||
|URL = URL | |URL = URL | ||
|Canon = Boolean | |Canon = Boolean | ||
}} | }} | ||
</noinclude><includeonly>{| class="infobox<!-- toccolours-->" style="width: | </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 37: | 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 84: | 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}}}}}} | ||
| | |||
|Title = {{#if: {{{title|}}}|{{{title}}}|{{PAGENAME}}}} | |Title = {{#if: {{{title|}}}|{{{title}}}|{{PAGENAME}}}} | ||
|Abbreviation = {{{abbreviation|}}} | |Abbreviation = {{{abbreviation|}}} | ||
|System = {{{system|}}} | |System = {{{system|}}} | ||
|Author = {{{author|}}}<!--{{# | |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|}}} | ||
| | |ISBN = {{#if: {{{isbn13|}}}|{{{isbn13}}}|{{#if: {{{isbn10|}}}{{{isbn10}}}|}}|}} | ||
| | |||
|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)
| |||||||||||||||||||
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?)