Difference between revisions of "Template:Infobox journal"
Jump to navigation
Jump to search
Haspelmath (talk | contribs) (Created page with '{{Infobox Journal | title = | cover = | editor = | discipline = | language = | abbreviation = | publisher = | country = | freque...') |
Wohlgemuth (talk | contribs) (from http://en.wikipedia.org/wiki/Template:Infobox_journal) |
||
Line 1: | Line 1: | ||
+ | {| class="infobox hproduct" style="font-size:90%; width:{{#if:{{{boxwidth|}}}|{{{boxwidth}}}|20em}}; text-align:left;" | ||
+ | ! colspan="2" style="background:#ddffcc; text-align:center; font-size:larger; border-color:#dfc;" | ''<span class="fn">{{{title|{{PAGENAME}}}}}</span>'' <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:journal}}{{#if: {{{title|}}}|&rft.jtitle={{urlencode:{{{title}}}}}}}{{#if: {{{abbreviation|}}}|&rft.stitle={{urlencode:{{{abbreviation}}}}}}}{{#if: {{{ISSN|}}}|&rft.issn={{urlencode:{{{ISSN}}}}}}}{{#if: {{{website|{{{url|}}}}}}|&rft_id={{urlencode:{{{website|{{{url}}}}}}}}}}"> </span> | ||
+ | |- | ||
+ | | colspan="2" style="text-align:center;" | {{{cover|}}} | ||
+ | |- | ||
+ | {{#if:{{{abbreviation|}}}| | ||
+ | ! Abbreviated title | ||
+ | {{!}} {{{abbreviation}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | ! width="42%" | [[List of academic disciplines|Discipline]] | ||
+ | |<span class="category">{{{discipline}}}</span> | ||
+ | |- | ||
+ | ! Language | ||
+ | | {{{language|[[English language|English]]}}} | ||
+ | |- | ||
+ | {{#if:{{{editor|}}}| | ||
+ | ! Edited by | ||
+ | {{!}} {{{editor}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | ! colspan="2" style="background:#ddffcc; text-align:center;" | Publication details | ||
+ | |- | ||
+ | ! Publisher | ||
+ | | {{{publisher}}} ({{{country}}}) | ||
+ | |- | ||
+ | {{#if:{{{history|}}}| | ||
+ | ! Publication history | ||
+ | {{!}} {{{history}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{JCR|}}}| | ||
+ | {{!}} '''Impact factor'''<br/>on [[Journal Citation Reports|JCR]] (year) | ||
+ | {{!}} {{{JCR}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{frequency|}}}| | ||
+ | ! Frequency | ||
+ | {{!}} {{{frequency}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{openaccess|}}}| | ||
+ | ! [[Open access publishing|Open access]] | ||
+ | {{!}} {{{openaccess}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{license|}}}| | ||
+ | ! [[License]] | ||
+ | {{!}} {{{license}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{impact|}}}| | ||
+ | ! [[Impact factor]] | ||
+ | {{!}} {{{impact}}}{{#if:{{{impact-year|}}}| ({{{impact-year}}})}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{ISSN|{{{LCCN|{{{OCLC|{{{CODEN|}}}}}}}}}}}}|<!-- Then: display indexing section --> | ||
+ | ! colspan="2" style="background:#ddffcc; text-align:center;" {{!}} Indexing | ||
+ | {{!}}- class="identifier" | ||
+ | {{#if:{{{ISSN|}}}| | ||
+ | ! <span class="type">[[International Standard Serial Number|ISSN]] | ||
+ | {{!}}<span class="value">{{ISSN search link|{{{ISSN}}}}}</span>{{#if:{{{eISSN|}}}| (print)<br>{{ISSN search link|{{{eISSN}}}}} (web)}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{LCCN|}}}| | ||
+ | ! [[Library of Congress Control Number|LCCN]] | ||
+ | {{!}} {{{LCCN}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{CODEN|}}}| | ||
+ | ! [[CODEN]] | ||
+ | {{!}} {{{CODEN}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{OCLC|}}}| | ||
+ | ! [[OCLC]] | ||
+ | {{!}}{{#ifeq:{{#expr:{{{OCLC}}}}}|Expression error: Unrecognised punctuation character "["|{{{OCLC}}}|{{OCLC search link|{{{OCLC}}}}}}} | ||
+ | {{!}}- | ||
+ | }}|<!--no indexing info: -->[[Category:ISSN needed]]<!-- end indexing section -->}} | ||
+ | {{#if:{{{website|{{{url|{{{JSTOR|{{{link1|}}}}}}}}}}}}|<!-- Then: display links section --> | ||
+ | ! colspan="2" style="background:#ddffcc; text-align:center;" {{!}} Links | ||
+ | {{!}}- | ||
+ | {{!}} colspan="2" {{!}} {{#if:{{{website|{{{url|}}}}}}| | ||
+ | *[{{{website|{{{url}}}}}} Journal homepage]}}{{#if:{{{link1|}}}| | ||
+ | *[{{{link1}}} {{{link1-name}}}]}}{{#if:{{{link2|}}}| | ||
+ | *[{{{link2}}} {{{link2-name}}}]}}{{#if:{{{link3|}}}| | ||
+ | *[{{{link3}}} {{{link3-name}}}]}}{{#if:{{{RSS|{{{rss|}}}}}}| | ||
+ | <div class=plainlinksneverexpand>[[Image:Feed-icon.svg|16px]] [{{{RSS|{{{rss}}}}}} RSS] ([[RSS|?]])</div>}}{{#if:{{{atom|}}}| | ||
+ | <div class=plainlinksneverexpand>[[Image:Feed-icon.svg|16px]] [{{{atom}}} Atom] ([[Atom (standard)|?]])</div>}}{{#if:{{{JSTOR|}}}| | ||
+ | *[http://www.jstor.org/journals/{{{JSTOR}}}.html ''JSTOR'']}}}} | ||
+ | |}<!-- | ||
+ | ------------------------------------------ Validate parameters | ||
+ | -->{{#ifeq:{{{licence|xz}}}|xz||<br>Infobox Journal: invalid "licence" - try "licen'''s'''e=copyright"}}{{ | ||
+ | #ifeq:{{{URL|xz}}}|xz||<br>Infobox Journal: invalid "URL" - try lowercase "url=" or "website=".}}{{ | ||
+ | #ifeq:{{{jstor|xz}}}|xz||<br>Infobox Journal: invalid "jstor" - try uppercase "JSTOR=".}}{{ | ||
+ | #ifeq:{{{issn|xz}}}|xz||<br>Infobox Journal: invalid "issn" - try uppercase "ISSN=".}}{{ | ||
+ | #ifeq:{{{eissn|xz}}}|xz||<br>Infobox Journal: invalid "eissn" - try uppercase "eISSN=".}}{{ | ||
+ | #ifeq:{{{lccn|xz}}}|xz||<br>Infobox Journal: invalid "lccn" - try uppercase "LCCN=".}}{{ | ||
+ | #ifeq:{{{oclc|xz}}}|xz||<br>Infobox Journal: invalid "oclc" - try uppercase "OCLC=".}}{{ | ||
+ | #ifeq:{{{coden|xz}}}|xz||<br>Infobox Journal: invalid "coden" - try uppercase "CODEN=".}}{{ | ||
+ | #ifeq:{{{Coden|xz}}}|xz||<br>Infobox Journal: invalid "Coden" - try uppercase "CODEN=".}}<!-- | ||
+ | --><noinclude> | ||
+ | |||
+ | {{TOCright}} | ||
+ | The '''Template:Infobox Journal''' is used to display details about journal<br> publications as a right-side infobox. It can be stacked with other infoboxes. | ||
+ | {{Documentation subpage}} | ||
+ | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
+ | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
+ | == Usage == | ||
+ | <pre> | ||
{{Infobox Journal | {{Infobox Journal | ||
| title = | | title = | ||
Line 29: | Line 139: | ||
| boxwidth = | | boxwidth = | ||
}} | }} | ||
+ | </pre> | ||
+ | |||
+ | {| valign="top" style="border-width:0px; border-collapse:collapse; padding:2px;" | ||
+ | |- | ||
+ | | colspan="3" | <nowiki>{{</nowiki>Infobox Journal | ||
+ | |- | ||
+ | | width="15%" | | title|| width="20px" | = || Name of journal (defaults to page name) | ||
+ | |- | ||
+ | || cover|| = || Optional image of journal | ||
+ | |- | ||
+ | || editor|| = || Optional name of editor | ||
+ | |- | ||
+ | || discipline|| = || Topic of the journal | ||
+ | |- | ||
+ | || language|| = || Language of publication, (or abstracts) | ||
+ | |- | ||
+ | || abbreviation|| = || Abbreviation for journal | ||
+ | |- | ||
+ | || publisher|| = || Name of publisher | ||
+ | |- | ||
+ | || country|| = || Country of publication, as: [[United States|USA]] | ||
+ | |- | ||
+ | || frequency|| = || Frequency of publication | ||
+ | |- | ||
+ | || history|| = || Publication history, as: 1869 to present | ||
+ | |- | ||
+ | || openaccess|| = || Availability of [[Open access (publishing)|open access content]], with links if appropriate | ||
+ | |- | ||
+ | || license|| = || License of the journal's content | ||
+ | |- | ||
+ | || impact|| = || The [[impact factor]] of the journal | ||
+ | |- | ||
+ | || impact-year|| = || The year the impact factor was measured | ||
+ | |- | ||
+ | || website|| = || [[Uniform Resource Locator|URL]] for journal homepage; see usage below | ||
+ | |- | ||
+ | || link1|| = || URL for additional link; see below | ||
+ | |- | ||
+ | || link1-name|| = || name for additional link; see below | ||
+ | |- | ||
+ | || link2|| = || URL for additional link; see below | ||
+ | |- | ||
+ | || link2-name|| = || Name for additional link; see below | ||
+ | |- | ||
+ | || RSS|| = || URL of [[RSS]] feed | ||
+ | |- | ||
+ | || atom|| = || URL of [[Atom (standard)|Atom]] feed | ||
+ | |- | ||
+ | || JSTOR|| = || [[JSTOR]] number, usually the ISSN - link will be generated automatically | ||
+ | |- | ||
+ | || OCLC|| = || [[Online Computer Library Center|OCLC]] number | ||
+ | |- | ||
+ | || LCCN|| = || Link to [[Library of Congress Control Number|LCCN]] | ||
+ | |- | ||
+ | || CODEN|| = || Link to [[CODEN]] | ||
+ | |- | ||
+ | || ISSN|| = || [[International Standard Serial Number|ISSN]] (print edition) or eISSN if electronic-only journal | ||
+ | |- | ||
+ | || eISSN|| = || ISSN for web version of paper journals | ||
+ | |- | ||
+ | || boxwidth|| = || Width of infobox, specify '[[em (typography)|em]]' or '[[Pixel|px]]' explicitly (e.g. ''boxwidth = 30em'' or ''boxwidth = 300px''); default is 20em | ||
+ | |- | ||
+ | | colspan="3" | <nowiki>}}</nowiki> | ||
+ | |} | ||
+ | |||
+ | |||
+ | ==Examples== | ||
+ | * ''language'' - default is "English" but could put many: language=English or French (etc.). | ||
+ | * ''website'' - Just put the full URL; e.g., http://www.nature.com . This field automatically displays the name "Journal homepage." If you wish to display a different name, or to include additional links, use parameters "link1" & "link1-name" ("link2" etc.). For example, show "About Nature": | ||
+ | <pre> | ||
+ | | website = http://www.nature.com | ||
+ | | link1 = http://www.nature.com/nature/about/index.html | ||
+ | | link1-name = About Nature | ||
+ | </pre> | ||
+ | * ''title'' - The infobox displays the journal title at the top, wrapping to keep the infobox narrow. To custom-wrap a long title, insert "<br>". Otherwise, the title will auto-wrap after all words that fit: | ||
+ | <pre> | ||
+ | | title = Canadian Journal of<br>Earth Sciences | ||
+ | </pre> | ||
+ | * ''country'' - such as "Canada". To include a flag, use: <code> country=&nbsp;{<font/>{flag|Canada}}</code>. The non-breaking "&nbsp;" keeps the parenthesis "(" on the same line. | ||
+ | |||
+ | In general, any parameter can be custom-wrapped by inserting a "<br>" wherever needed. | ||
+ | |||
+ | </noinclude> | ||
+ | <includeonly> | ||
+ | [[Category:journal]] | ||
+ | </includeonly> |
Revision as of 10:16, 30 June 2009
Infobox journal | |
---|---|
Discipline | {{{discipline}}} |
Language | English |
Publication details | |
Publisher | {{{publisher}}} ({{{country}}}) |
Contents |
The Template:Infobox Journal is used to display details about journal
publications as a right-side infobox. It can be stacked with other infoboxes.
Template:Documentation subpage
Usage
{{Infobox Journal | title = | cover = | editor = | discipline = | language = | abbreviation = | publisher = | country = | frequency = | history = | openaccess = | license = | impact = | impact-year = | website = | link1 = | link1-name = | link2 = | link2-name = | RSS = | atom = | JSTOR = | OCLC = | LCCN = | CODEN = | ISSN = | eISSN = | boxwidth = }}
{{Infobox Journal | ||
| title | = | Name of journal (defaults to page name) |
| cover | = | Optional image of journal |
| editor | = | Optional name of editor |
| discipline | = | Topic of the journal |
| language | = | Language of publication, (or abstracts) |
| abbreviation | = | Abbreviation for journal |
| publisher | = | Name of publisher |
| country | = | Country of publication, as: USA |
| frequency | = | Frequency of publication |
| history | = | Publication history, as: 1869 to present |
| openaccess | = | Availability of open access content, with links if appropriate |
| license | = | License of the journal's content |
| impact | = | The impact factor of the journal |
| impact-year | = | The year the impact factor was measured |
| website | = | URL for journal homepage; see usage below |
| link1 | = | URL for additional link; see below |
| link1-name | = | name for additional link; see below |
| link2 | = | URL for additional link; see below |
| link2-name | = | Name for additional link; see below |
| RSS | = | URL of RSS feed |
| atom | = | URL of Atom feed |
| JSTOR | = | JSTOR number, usually the ISSN - link will be generated automatically |
| OCLC | = | OCLC number |
| LCCN | = | Link to LCCN |
| CODEN | = | Link to CODEN |
| ISSN | = | ISSN (print edition) or eISSN if electronic-only journal |
| eISSN | = | ISSN for web version of paper journals |
| boxwidth | = | Width of infobox, specify 'em' or 'px' explicitly (e.g. boxwidth = 30em or boxwidth = 300px); default is 20em |
}} |
Examples
- language - default is "English" but could put many: language=English or French (etc.).
- website - Just put the full URL; e.g., http://www.nature.com . This field automatically displays the name "Journal homepage." If you wish to display a different name, or to include additional links, use parameters "link1" & "link1-name" ("link2" etc.). For example, show "About Nature":
| website = http://www.nature.com | link1 = http://www.nature.com/nature/about/index.html | link1-name = About Nature
- title - The infobox displays the journal title at the top, wrapping to keep the infobox narrow. To custom-wrap a long title, insert "<br>". Otherwise, the title will auto-wrap after all words that fit:
| title = Canadian Journal of<br>Earth Sciences
- country - such as "Canada". To include a flag, use:
country= {{flag|Canada}}
. The non-breaking " " keeps the parenthesis "(" on the same line.
In general, any parameter can be custom-wrapped by inserting a "<br>" wherever needed.