Template:Infobox journal/doc: Difference between revisions
update TD |
imported>Wdchk →Search links: formatted diff as internal link instead of external |
||
(One intermediate revision by one other user not shown) | |||
Line 123: | Line 123: | ||
:{{Aligned table <!--style="vertical-align:top;border-width:0;border-collapse:collapse;padding:2px;font-size:95%;line-height:1.42em;overflow:auto;"--> | :{{Aligned table <!--style="vertical-align:top;border-width:0;border-collapse:collapse;padding:2px;font-size:95%;line-height:1.42em;overflow:auto;"--> | ||
|style=font-size:95%;line-height:1.425em;overflow:auto; | |style=font-size:95%;line-height:1.425em;overflow:auto; | ||
|cols=2 |col1width=8.0em |col2width=81.5em | |cols=2 |col1width=8.0em |col2width=81.5em | col1style=white-space:nowrap; | ||
| {{para|title }} | Name of journal (defaults to {{tlx|PAGENAMEBASE}}). | | {{para|title }} | Name of journal (defaults to {{tlx|PAGENAMEBASE}}). | ||
| {{para|italic title }} | Put "no" to override the italic format of the page article title. | | {{para|italic title }} | Put "no" to override the italic format of the page article title. Setting to "no" also disables the automatic generation of a [[Wikipedia:Short description|short description]]. | ||
| {{para|image }} | Image of journal's cover (e.g. abc.jpg, xpz.png, 123.gif). Does not need <code><nowiki>[[File:...]]</nowiki></code> or <code><nowiki>[[File:...]]</nowiki></code>. | | {{para|image }} | Image of journal's cover (e.g. abc.jpg, xpz.png, 123.gif). Does not need <code><nowiki>[[File:...]]</nowiki></code> or <code><nowiki>[[File:...]]</nowiki></code>. | ||
| {{para|image_size }} | Size to display image. Defaults to 200px. | | {{para|image_size }} | Size to display image. Defaults to 200px. | ||
Line 152: | Line 152: | ||
| {{para|eISSN }} | Same as ISSN, but for online version of paper journals. eISSN2, eISSN3, ... eISSN10 supported. | | {{para|eISSN }} | Same as ISSN, but for online version of paper journals. eISSN2, eISSN3, ... eISSN10 supported. | ||
| {{para|CODEN }} | [[CODEN]]. | | {{para|CODEN }} | [[CODEN]]. | ||
| {{para|coden-link''n''}} | Since the CODEN database linked to does not contain all CODENs ever used the link can be suppressed using {{para|coden-link''n''|no}} for the corresponding {{para|CODEN''n''}}. | |||
| {{para|JSTOR }} | Journal's [[JSTOR]] number (usually its ISSN without the dash; link will be generated automatically). | | {{para|JSTOR }} | Journal's [[JSTOR]] number (usually its ISSN without the dash; link will be generated automatically). | ||
| {{para|LCCN }} | [[Library of Congress Control Number|LCCN]] (link will be generated automatically). | | {{para|LCCN }} | [[Library of Congress Control Number|LCCN]] (link will be generated automatically). | ||
Line 165: | Line 166: | ||
=== Usage notes === | === Usage notes === | ||
* | * {{para|title}} The infobox displays the journal title at the top, wrapping to keep the infobox narrow. To custom-wrap a long title, insert "{{tag|br|s}}". Otherwise, the title will auto-wrap after all words that fit: | ||
| title = Canadian Journal of{{tag|br|s}}Earth Sciences | | title = Canadian Journal of{{tag|br|s}}Earth Sciences | ||
* | * {{para|language}} default is "English" but it is possible to put more than one: language=English, French (etc.) | ||
* | * {{para|website}} Just put the full URL; e.g., https://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, to show "Online access": | ||
| website = | <div class="plainlinks"> | ||
| link1 = | | website = https://www.nature.com | ||
| link1 = https://www.nature.com/nature/current_issue.html | |||
| link1-name = Online access | | link1-name = Online access | ||
</div> | |||
In general, any parameter can be custom-wrapped by inserting a "{{tag|br|s}}" wherever needed. | In general, any parameter can be custom-wrapped by inserting a "{{tag|br|s}}" wherever needed. | ||
==Sub templates== | ==Sub templates== | ||
===Main infobox=== | |||
; {{tlx|Infobox journal/Bluebook check}} : Checks if a [[Bluebook]] redirect exists. If not, prompts editors to create it. | |||
; {{tlx|Infobox journal/Bluebook preload}} : The suggested content of the Bluebook redirect page. | |||
; {{tlx|Infobox journal/frequency}} : To populate [[:Category:Academic journals by publication frequency (infobox)]]. | |||
; {{tlx|Infobox journal/ISO 4 check}} : Checks if an [[ISO 4]] redirect exists. If not, prompts editors to create it. | |||
| | ; {{tlx|Infobox journal/ISO 4 preload}} : The suggested content of the ISO 4 redirect page. | ||
; {{tlx|Infobox journal/ISSN-eISSN}} : Used to format the ISSN information. | |||
; {{tlx|Infobox journal/MathSciNet check}} : Checks if a [[MathSciNet]] redirect exists. If not, prompts editors to create it. | |||
; {{tlx|Infobox journal/MathSciNet preload}} : The suggested content of the MathSciNet redirect page. | |||
; {{tlx|Infobox journal/NLM check}} : Checks if an [[United States National Library of Medicine|NLM]] redirect exists. If not, prompts editors to create it. | |||
; {{tlx|Infobox journal/NLM preload}} : The suggested content of the NLM redirect page. | |||
===Search links=== | |||
Put {{code|2=css|.infobox-journal-search { display: inline !important;} }} in your CSS file ({{Diff||841588503|840747595|like this}}) to enable search links. | |||
|- | |||
|} | |||
; | ; {{tlx|Infobox journal/Abbreviation search}} : Provides search links for relevant standard abbreviations ([[ISO 4]], [[Bluebook]], [[MathSciNet]], and [[United States National Library of Medicine|NLM]]). It also gives a link to their corresponding databases when possible. Some links need {{para|ISSN/eISSN}} to work. | ||
; {{tlx|Infobox journal/Former check}} : Checks if a former name redirect exists. If not, prompts editors to create it and to verify that standard abbreviation redirects are also created. This is currently experimental, and will only display if you've enabled the search links. | |||
; {{tlx|Infobox journal/Indexing search}} : Provides a MIAR database search link to verify Abstracting/Indexing information. Needs {{para|ISSN/eISSN}} to work. | |||
===Other=== | |||
*{{ | *{{tlx|Infobox journal/sandbox}} | ||
*{{ | *{{tlx|Infobox journal/testcases}} | ||
*{{ | *{{tlx|Infobox journal/wikidata}} | ||
== Template characteristics == | == Template characteristics == | ||
Line 240: | Line 227: | ||
"italic title": { | "italic title": { | ||
"label": "no italic title", | "label": "no italic title", | ||
"description": "Put \"no\" to override the italic format of the page article title.", | "description": "Put \"no\" to override the italic format of the page article title. Setting to \"no\" also disables the automatic generation of a short description.", | ||
"type": "string/line", | "type": "string/line", | ||
"required": false | "required": false | ||
Line 390: | Line 377: | ||
"type": "url", | "type": "url", | ||
"required": false, | "required": false, | ||
"example": " | "example": "https://www.nature.com", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 399: | Line 386: | ||
"required": false, | "required": false, | ||
"suggested": true, | "suggested": true, | ||
"example": " | "example": "https://www.nature.com/nature/current_issue.html" | ||
}, | }, | ||
"link1-name": { | "link1-name": { | ||
Line 438: | Line 425: | ||
"bypass-rcheck": { | "bypass-rcheck": { | ||
"label": "bypass redirect check", | "label": "bypass redirect check", | ||
"description": "Put \"yes\" to bypass the built-in ISO 4 / bluebook redirect check. See [[Category:Infobox journals | "description": "Put \"yes\" to bypass the built-in ISO 4 / bluebook redirect check. See [[Category:Infobox journals with bypassed redirect checking]] for more information.", | ||
"type": "unknown" | "type": "unknown" | ||
}, | }, | ||
Line 539: | Line 526: | ||
* {{clc|Infobox journals with bypassed ISO 4 abbreviations}} | * {{clc|Infobox journals with bypassed ISO 4 abbreviations}} | ||
* {{clc|Infobox journals with bypassed redirect checking}} | * {{clc|Infobox journals with bypassed redirect checking}} | ||
* {{clc|Infobox journals with missing Bluebook abbreviations}} | |||
* {{clc|Infobox journals with missing ISO 4 abbreviations}} | * {{clc|Infobox journals with missing ISO 4 abbreviations}} | ||
* {{clc|Infobox journals with missing NLM abbreviations}} | |||
* {{clc|Infobox journals with missing MathSciNet abbreviations}} | |||
* {{clc|ISSN needed}} | * {{clc|ISSN needed}} | ||
* {{clc|Pages using infobox journal with unknown parameters}} | * {{clc|Pages using infobox journal with unknown parameters}} |
Latest revision as of 03:30, 14 January 2023
Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127.
Lua error: Internal error: The interpreter exited with status 127.
{{Infobox journal}} can be used to display details about academic journals, as a right-aligned infobox. It can be stacked with other infoboxes. The infoboxJournal.js script can be used to easily add the infobox to articles, as well as standardize existing infoboxes. The script is in development, so make sure to review the suggested presentation before saving.
Usage
- Syntax
Simply copy-paste this code in an article and fill it according to the documentation below. Remove hidden notes (both the <!--
and -->
characters) that surround certain entries, in order for the data you enter to appear in the published article. Unused parameters may also be removed.
{{Infobox journal | title = | image = <!-- or |cover= --> | image_size = <!-- default is 200px --> | alt = | caption = | former_name = <!-- or |former_names= --> | abbreviation = <!-- use ISO 4 standard --> | discipline = <!-- or |subject= --> | peer-reviewed = | language = | editor = <!-- or |editors= --> | publisher = | country = | history = | frequency = | openaccess = | license = | impact = | impact-year = | bluebook = | mathscinet = | nlm = | ISSN = <!-- up to |ISSN10= --> | ISSNlabel = <!-- up to |ISSNlabel10= --> | eISSN = <!-- up to |eISSN10= --> | CODEN = <!-- up to |CODEN10= --> | JSTOR = <!-- up to |JSTOR10= --> | LCCN = <!-- up to |LCCN10= --> | OCLC = <!-- up to |OCLC10= --> | website = | link1 = <!-- up to |link10= --> | link1-name = <!-- up to |link10-name= --> }}
- Non-ISO 4 abbreviations (pick those that apply)
| bluebook = <!-- For law journals only --> | mathscinet = <!-- For the MathSciNet abbreviation, IF different from ISO 4 abbreviation --> | nlm = <!-- For the NLM abbreviation, IF different from ISO 4 abbreviation -->
- Identifiers for multiple journals at once
| ISSNlabel = | ISSN = | eISSN = | CODEN = | JSTOR = | LCCN = | OCLC = | ISSNlabel2 = | ISSN2 = | eISSN2 = | CODEN2 = | JSTOR2 = | LCCN2 = | OCLC2 = ...
Goes up to |ISSNlabel10=
Parameters
All parameters are optional.
{{Infobox journal
- Lua error: Internal error: The interpreter exited with status 127.
}}
Usage notes
|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
|language=
default is "English" but it is possible to put more than one: language=English, French (etc.)|website=
Just put the full URL; e.g., https://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, to show "Online access":
| website = https://www.nature.com | link1 = https://www.nature.com/nature/current_issue.html | link1-name = Online access
In general, any parameter can be custom-wrapped by inserting a "<br />
" wherever needed.
Sub templates
Main infobox
- {{Infobox journal/Bluebook check}}
- Checks if a Bluebook redirect exists. If not, prompts editors to create it.
- {{Infobox journal/Bluebook preload}}
- The suggested content of the Bluebook redirect page.
- {{Infobox journal/frequency}}
- To populate Category:Academic journals by publication frequency (infobox).
- {{Infobox journal/ISO 4 check}}
- Checks if an ISO 4 redirect exists. If not, prompts editors to create it.
- {{Infobox journal/ISO 4 preload}}
- The suggested content of the ISO 4 redirect page.
- {{Infobox journal/ISSN-eISSN}}
- Used to format the ISSN information.
- {{Infobox journal/MathSciNet check}}
- Checks if a MathSciNet redirect exists. If not, prompts editors to create it.
- {{Infobox journal/MathSciNet preload}}
- The suggested content of the MathSciNet redirect page.
- {{Infobox journal/NLM check}}
- Checks if an NLM redirect exists. If not, prompts editors to create it.
- {{Infobox journal/NLM preload}}
- The suggested content of the NLM redirect page.
Search links
Put .infobox-journal-search { display: inline !important;}
in your CSS file (like this) to enable search links.
- {{Infobox journal/Abbreviation search}}
- Provides search links for relevant standard abbreviations (ISO 4, Bluebook, MathSciNet, and NLM). It also gives a link to their corresponding databases when possible. Some links need
|ISSN/eISSN=
to work. - {{Infobox journal/Former check}}
- Checks if a former name redirect exists. If not, prompts editors to create it and to verify that standard abbreviation redirects are also created. This is currently experimental, and will only display if you've enabled the search links.
- {{Infobox journal/Indexing search}}
- Provides a MIAR database search link to verify Abstracting/Indexing information. Needs
|ISSN/eISSN=
to work.
Other
Template characteristics
Microformat
The HTML mark-up produced by this template includes an hProduct microformat that makes a product's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
If the product has a URL, use {{URL}} to include it.
- Classes used
The HTML classes of this microformat include:
- Lua error: Internal error: The interpreter exited with status 127.
nor collapse nested elements which use them.
COinS
This template produces COinS metadata; see COinS in Wikipedia for background information.
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Infobox journal in articles based on its TemplateData.
Lua error: Internal error: The interpreter exited with status 127.
TemplateData for Infobox journal {{Infobox journal}} can be used to display details about academic journals and similar publications as a right-side infobox.
|
Tracking categories
- [[:Category:Lua error: Internal error: The interpreter exited with status 127.|Category:Lua error: Internal error: The interpreter exited with status 127.]] (0)
- [[:Category:Lua error: Internal error: The interpreter exited with status 127.|Category:Lua error: Internal error: The interpreter exited with status 127.]] (0)
- [[:Category:Lua error: Internal error: The interpreter exited with status 127.|Category:Lua error: Internal error: The interpreter exited with status 127.]] (0)
- [[:Category:Lua error: Internal error: The interpreter exited with status 127.|Category:Lua error: Internal error: The interpreter exited with status 127.]] (0)
- [[:Category:Lua error: Internal error: The interpreter exited with status 127.|Category:Lua error: Internal error: The interpreter exited with status 127.]] (0)
- [[:Category:Lua error: Internal error: The interpreter exited with status 127.|Category:Lua error: Internal error: The interpreter exited with status 127.]] (0)
- [[:Category:Lua error: Internal error: The interpreter exited with status 127.|Category:Lua error: Internal error: The interpreter exited with status 127.]] (0)
- [[:Category:Lua error: Internal error: The interpreter exited with status 127.|Category:Lua error: Internal error: The interpreter exited with status 127.]] (0)
- [[:Category:Lua error: Internal error: The interpreter exited with status 127.|Category:Lua error: Internal error: The interpreter exited with status 127.]] (0)
- [[:Category:Lua error: Internal error: The interpreter exited with status 127.|Category:Lua error: Internal error: The interpreter exited with status 127.]] (0)
Related tracking categories
- [[:Category:Lua error: Internal error: The interpreter exited with status 127.|Category:Lua error: Internal error: The interpreter exited with status 127.]] (0)
- [[:Category:Lua error: Internal error: The interpreter exited with status 127.|Category:Lua error: Internal error: The interpreter exited with status 127.]] (0)
- [[:Category:Lua error: Internal error: The interpreter exited with status 127.|Category:Lua error: Internal error: The interpreter exited with status 127.]] (0)
- [[:Category:Lua error: Internal error: The interpreter exited with status 127.|Category:Lua error: Internal error: The interpreter exited with status 127.]] (0)
- [[:Category:Lua error: Internal error: The interpreter exited with status 127.|Category:Lua error: Internal error: The interpreter exited with status 127.]] (0)
Related redirect templates
- {{R from Bluebook abbreviation}}
- {{R from ISO 4 abbreviation}}
- {{R from MathSciNet abbreviation}}
- {{R from NLM abbreviation}}
See also
Lua error: Internal error: The interpreter exited with status 127.