Template:Infobox journal/doc: Difference between revisions

→‎Search links: formatted diff as internal link instead of external
m (1 revision imported)
imported>Wdchk
(→‎Search links: formatted diff as internal link instead of external)
 
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,&nbsp;... eISSN10 supported.
  | {{para|eISSN        }} | Same as ISSN, but for online version of paper journals. eISSN2, eISSN3,&nbsp;... 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 ===
* ''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:
* {{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
* ''language'' - default is "English" but it is possible to put more than one:&nbsp; language=English, French (etc.)
* {{para|language}} default is "English" but it is possible to put more than one:&nbsp; language=English, 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 "Online access":
* {{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 = http://www.nature.com
<div class="plainlinks">
   | link1 = http://www.nature.com/nature/current_issue.html
   | 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
===Main infobox===
{|class=wikitable
 
|-
; {{tlx|Infobox journal/Bluebook check}} : Checks if a [[Bluebook]] redirect exists. If not, prompts editors to create it.
|{{tl|Infobox journal/Bluebook check}} || Checks if a [[Bluebook]] redirects 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)]].
|{{tl|Infobox journal/Bluebook preload}} || The suggested content of the Bluebook redirect page.
; {{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.
|{{tl|Infobox journal/ISO 4 check}} || Checks if an [[ISO 4]] redirects exists. If not, prompts editors to create it.
; {{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.
|{{tl|Infobox journal/ISO 4 preload}} || The suggested content of the ISO4 redirect page.
; {{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.
|{{tl|Infobox journal/ISSN-eISSN}} || Used to format the ISSN information
; {{tlx|Infobox journal/NLM preload}} : The suggested content of the NLM redirect page.
|-
 
|{{tl|Infobox journal/MathSciNet check}} || Checks if a [[MathSciNet]] redirects exists. If not, prompts editors to create it.
===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.
|{{tl|Infobox journal/MathSciNet  preload}} || The suggested content of the ISO4 redirect page.
|-
|{{tl|Infobox journal/NLM check}} || Checks if a [[United States National Library of Medicine|NLM]] redirects exists. If not, prompts editors to create it.
|-
|{{tl|Infobox journal/NLM preload}} || The suggested content of the NLM redirect page.
|-
|}


;Search links{{anchor|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.
Put <code>.infobox-journal-search { display: inline !important;}</code> in your CSS file (like [https://en.wikipedia.org/w/index.php?title=User:Headbomb/monobook.css&diff=841588503&oldid=840747595 this]) to enable search links.
; {{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.
{|class=wikitable
; {{tlx|Infobox journal/Indexing search}} : Provides a MIAR database search link to verify Abstracting/Indexing information. Needs {{para|ISSN/eISSN}} to work.
|-
|{{tl|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 needs {{para|ISSN/eISSN}} to work.
|-
|{{tl|Infobox journal/Former check}} || Checks if former name redirects 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.
|-
|{{tl|Infobox journal/Indexing search}} || Provides a MIAR database search link to verify Abstracting/Indexing information. Needs {{para|ISSN/eISSN}} to work.
|-
|}


;Other
===Other===
*{{tl|Infobox journal/sandbox}}
*{{tlx|Infobox journal/sandbox}}
*{{tl|Infobox journal/testcases}}
*{{tlx|Infobox journal/testcases}}
*{{tl|Infobox journal/wikidata}}
*{{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": "http://www.nature.com",
"example": "https://www.nature.com",
"suggested": true
"suggested": true
},
},
Line 399: Line 386:
"required": false,
"required": false,
"suggested": true,
"suggested": true,
"example": "http://www.nature.com/nature/current_issue.html"
"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]] with bypassed redirect checking for more information.",
"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}}
Anonymous user