Difference between revisions of "Template:Infobox Publication"

From Pensapedia, the Pensacola encyclopedia
Jump to navigation Jump to search
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<table class="infobox" style="font-size: 90%; text-align: left; width: 21em;">
+
{| class="infobox" style="width: 25.5em; font-size: 90%; text-align: left;"
<tr><th style="text-align: center; font-size: larger;" colspan="2">'''''{{{name}}}'''''</th></tr>
+
|-
{{#if: {{{image|}}}
+
| colspan="2" style="font-size: larger; text-align: center;" | '''{{{name}}}'''
| <tr><td colspan="2" style="text-align: center;"> {{{image|}}}<br/>{{{caption|}}}</td></tr>
+
|-
}}<tr><th>Type</th><td>{{{type}}}</td></tr>
+
{{#if: {{{image|}}}
<tr><td colspan="2" style="text-align: center;"><hr></td></tr>
+
{{!}} colspan="2" style="font-size: smaller; text-align: center;" {{!}} [[image:{{{image}}}|{{{image_size}}}]]<br>{{{image_caption|}}}}}<!--
<tr><th>Owner</th><td>{{{owners}}}</td></tr>
+
-->
<tr><th>Publisher</th><td>{{{publisher}}}</td></tr>
+
|-
<tr><th>Editor</th><td>{{{editor}}}</td></tr>
+
{{#if: {{{type|}}}|
<tr><th>Founded</th><td>{{{foundation}}}</td></tr>
+
! Type of publication
{{#if: {{{ceased publication|}}}
+
{{!}} {{{type|}}}}}
| <tr><th>Ceased&nbsp;publication</th><td>{{{ceased publication}}}</td></tr>
+
|-
}}{{#if: {{{price|}}}
+
{{#if: {{{editor|}}}|
| <tr><th>Price</th><td>{{{price}}}</td></tr>
+
! {{#if: {{{editor_title|}}}|{{{editor_title}}}|Editor}}
}}<tr><th>Headquarters</th><td>{{{headquarters}}}</td></tr>
+
{{!}} {{{editor|}}}}}
{{#if: {{{circulation|}}}
+
|-
| <tr><th>Circulation</th><td>{{{circulation}}}</td></tr>
+
{{#if: {{{staff|}}}|
}}
+
! Staff
<tr><td colspan="2" style="text-align: center;"> <hr> </td></tr>
+
{{!}} {{{staff|}}}}}
<tr><td colspan="2" style="text-align: center;">'''Website:''' {{{website}}}</td></tr>
+
|-
</table><noinclude>
+
{{#if: {{{publisher|}}}|
 
+
! Publisher
----
+
{{!}} {{{publisher|}}}}}
== How to use this template ==
+
|-
 
+
{{#if: {{{owner|}}}|
Empty syntax
+
! Owner
 +
{{!}} {{{owner|}}}}}
 +
|-
 +
{{#if: {{{frequency|}}}|
 +
! Frequency
 +
{{!}} {{{frequency|}}}}}
 +
|-
 +
{{#if: {{{circulation|}}}|
 +
! Circulation
 +
{{!}} {{{circulation|}}}}}
 +
|-
 +
{{#if: {{{cost|}}}|
 +
! Cost
 +
{{!}} {{{cost|}}}}}
 +
|-
 +
{{#if: {{{founded|}}}|
 +
! Founded
 +
{{!}} {{{founded|}}}}}
 +
|-
 +
{{#if: {{{firstdate|}}}|
 +
! First Issue
 +
{{!}} {{{firstdate|}}}<br>{{{firstnumber}}}}}
 +
|-
 +
{{#if: {{{finaldate|}}}|
 +
! Final Issue:
 +
{{!}} {{{finaldate|}}}<br>{{{finalnumber}}}}}
 +
|-
 +
{{#if: {{{headquarters|}}}|
 +
! Headquarters
 +
{{!}} {{{headquarters|}}}}}
 +
|-
 +
{{#if: {{{website|}}}|
 +
! Website
 +
{{!}} {{{website|}}}}}
 +
|}
 +
<noinclude>
 +
== Usage ==
 
<pre>
 
<pre>
{{Infobox Newspaper
+
{{Infobox Publication
| name               =  
+
|name=
| image               =  
+
|image=
| caption            =  
+
|image_size=
| type                =  
+
|image_caption=
| format              =  
+
|type=
| foundation          =  
+
|editor=
| ceased publication  =  
+
|editor_title=
| price              =
+
|staff=
| owners              =  
+
|publisher=
| publisher           =  
+
|owner=
| editor              =  
+
|frequency=
| language            =
+
|circulation=
| political          =  
+
|cost=
| circulation         =  
+
|founded=
| headquarters        =  
+
|firstdate=
| ISSN                =  
+
|firstnumber=
| website            =
+
|finaldate=
}}
+
|finalnumber=
</pre>
+
|headquarters=
 
+
|website=
=== Optional parameters ===
 
 
 
The following parameters are optional; if no value is specified for the parameter, it will not be displayed.
 
 
 
* ceased publication
 
* editor
 
* owners
 
* political
 
* publisher
 
* price
 
* ISSN
 
* language
 
* circulation
 
 
 
=== Example ===
 
 
 
''Example: [[Chicago Tribune]]''
 
 
 
<pre>
 
{{Infobox Newspaper
 
| name                = [[Image:Chicago Tribune.png|225px|centre]]
 
| image              = [[Image:Chicago Tribune Frontpage.jpg|150px|centre]]
 
| type                = Daily [[newspaper]]
 
| format              = [[Broadsheet]]
 
| foundation          = [[June 10]], [[1847]]
 
| owners              = [[Tribune Company]]
 
| publisher          = David Hiller
 
| editor              = Ann Marie Lipinski
 
| political          = conservative
 
| price              = USD 0.50 City & Suburbs<br />USD 0.75 Elsewhere
 
| headquarters       = [[Chicago, Illinois]]
 
| ISSN                = 1085-6706
 
| website             = [http://www.chicagotribune.com www.chicagotribune.com]
 
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 22:04, 13 March 2007

{{{name}}}

Usage[edit]

{{Infobox Publication
|name=
|image=
|image_size=
|image_caption=
|type=
|editor=
|editor_title=
|staff=
|publisher=
|owner=
|frequency=
|circulation=
|cost=
|founded=
|firstdate=
|firstnumber=
|finaldate=
|finalnumber=
|headquarters=
|website=
}}