Template:Infobox Magazine: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
mNo edit summary
m (making it optional :))
Line 1: Line 1:
{|
<includeonly><div>
|}
<div>
{| border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#f1f4fa; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; "
{| border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#f1f4fa; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; "
 
| bgcolor=white align="center" colspan="2" | {{{image|}}}
| bgcolor=white align="center" colspan="2" | {{{image}}}
|- valign="top"
|- valign="top"
| align="center" colspan=2 bgcolor="#0041b7" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{magazine name}}}'''
| align="center" colspan=2 bgcolor="#0041b7" style="border-bottom:0px solid gray; font-size:larger; color:white;"{{!}}'''{{{magazine name}}}'''
|-
|-
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt" | '''Issue Number:'''
{{#if:{{{issue number|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{issue number}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt"{{!}}'''Issue Number:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{issue number}}}
}}
|- valign="top"
|- valign="top"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Cover Date:'''
{{#if:{{{cover date|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{cover date}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Cover Date:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{cover date}}}
}}
|- valign="top"
|- valign="top"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Format:'''
{{#if:{{{format|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{format}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Format:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{format}}}
}}
|- valign="top"
|- valign="top"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Editor:'''
{{#if:{{{editor|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{editor}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Editor:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{editor}}}
}}
|- valign="top"
|- valign="top"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Publisher:'''
{{#if:{{{publisher|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{publisher}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Publisher:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{publisher}}}
}}
|- class{{{previous issue}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{previous issue}}}="hiddenStructure" style="vertical-align: top;"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" '''Previous Issue:'''
{{#if:{{{previous issue|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{previous issue}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Previous Issue:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{previous issue}}}
}}
|- class{{{next issue}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{next issue}}}="hiddenStructure" style="vertical-align: top;"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" '''Next Issue:'''
{{#if:{{{next issue|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{next issue}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Next Issue:'''
|- valign="top"
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{next issue}}}
}}
|}
|}
</div><noinclude>
</div></includeonly><noinclude>
==Usage==
==Usage==
Copy and paste '''all''' of the text below onto whichever article page it is needed for (even if some fields are not needed copy '''all''' of the text).
Copy and paste '''all''' of the text below onto whichever article page it is needed for (even if some fields are not needed copy '''all''' of the text).

Revision as of 17:16, 31 January 2010

Usage

Copy and paste all of the text below onto whichever article page it is needed for (even if some fields are not needed copy all of the text).

{{Infobox Magazine
|magazine name    =
|image            =
|issue number     =
|cover date       =
|format           =
|editor           =
|publisher        =
|previous issue   =
|next issue       =
}}

Description of fields

{{Infobox Magazine
|magazine name    = Name of magazine
|image            = Image of magazine cover at 250px
|issue number     = Issue number of magazine
|cover date       = Cover date of magazine
|format           = Number of pages and style of binding 
|editor           = Editor of magazine
|publisher        = Publisher of magazine
|previous issue   = Previous issue of magazine
|next issue       = Next issue of magazine
}}