Difference between revisions of "Template:Infobox magazine issue"

From Stationery Wiki
Jump to navigation Jump to search
m (Testing back volume logic)
m (Volume logic)
Line 26: Line 26:
 
| Pages: || {{#if: {{{pages}}} | [[magazine pages::{{{pages}}}]] pages | }}
 
| Pages: || {{#if: {{{pages}}} | [[magazine pages::{{{pages}}}]] pages | }}
 
|- bgcolor="#ffffff"
 
|- bgcolor="#ffffff"
| {{ #ifeq: {{{issue}}} | 1 |[[{{{publication}}} Vol. {{#expr: {{{volume}}} -1 }} Previous Volume]]| [[{{{publication}}} Vol. {{{volume}}} No. {{#expr: {{{issue}}} - 1 }}|Previous Issue]] }} || [[{{{publication}}} Vol. {{{volume}}} No. {{#expr: {{{issue}}} + 1 }}|Next Issue]]
+
| {{ #ifeq: {{{issue}}} | 1 |[[{{{publication}}} Vol. {{#expr: {{{volume}}} -1 }}]] Previous Volume| [[{{{publication}}} Vol. {{{volume}}} No. {{#expr: {{{issue}}} - 1 }}|Previous Issue]] }} || [[{{{publication}}} Vol. {{{volume}}} No. {{#expr: {{{issue}}} + 1 }}|Next Issue]]
 
|}
 
|}
 
<noinclude>
 
<noinclude>

Revision as of 07:46, 10 May 2018

Property "Magazine volume number" (as page type) with input value "{{{volume}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.Property "Magazine issue number" (as page type) with input value "{{{issue}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
[[{{{publication}}} (Magazine)]]
Volume: [[{{{publication}}} Vol. {{{volume}}}]]
Issue: {{{issue}}}
Title: {{{title}}}
Release Date: {{{date}}}
Additional Information
Official page: {{{link}}}
Pages: {{{pages}}} pages
[[{{{publication}}} Vol. {{{volume}}} No. Expression error: Unrecognised punctuation character "{".|Previous Issue]] [[{{{publication}}} Vol. {{{volume}}} No. Expression error: Unrecognised punctuation character "{".|Next Issue]]


Description

This template is used to create an infobox in an article about a magazine. To use it in an article, copy the template below and paste it into an article. Empty fields won't be displayed in the article.

Please enter the length in minutes, e.g. for 73 minutes just enter length = 73

Template

{{Infobox magazine issue
| publication = 
| volume = 
| issue = 
| date =  
| link =  
| pages = 

}}