Difference between revisions of "Template:JAH/core"
imported>Headbomb (ce) |
imported>Headbomb (ce) |
||
| Line 4: | Line 4: | ||
|''[[{{{1|}}}]]'' exists!<br> | |''[[{{{1|}}}]]'' exists!<br> | ||
|''[[{{{1|}}}]]'' doesn't exist, create it as a <code><nowiki>{{</nowiki>[[Template:R template index|R from...]]<nowiki>}}</nowiki></code> | |''[[{{{1|}}}]]'' doesn't exist, create it as a <code><nowiki>{{</nowiki>[[Template:R template index|R from...]]<nowiki>}}</nowiki></code> | ||
| − | + | {{columns-list|colwidth=25em|style=width: 60em;|1= | |
| − | |||
::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-bluebook&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20Bluebook%7CR%20from%20Bluebook%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d ''Bluebook'' abbreviation] | ::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-bluebook&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20Bluebook%7CR%20from%20Bluebook%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d ''Bluebook'' abbreviation] | ||
::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-iso4&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20ISO%204%7CR%20from%20ISO%204%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d ISO 4 abbreviation] / [//en.wikipedia.org/wiki/{{urlencode:{{replace|{{{1|}}}|.|}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-iso4&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20ISO%204%7CR%20from%20ISO%204%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d dotless version] | ::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-iso4&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20ISO%204%7CR%20from%20ISO%204%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d ISO 4 abbreviation] / [//en.wikipedia.org/wiki/{{urlencode:{{replace|{{{1|}}}|.|}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-iso4&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20ISO%204%7CR%20from%20ISO%204%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d dotless version] | ||
| Line 11: | Line 10: | ||
::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-nlm&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20NLM%7CR%20from%20NLM%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d NLM abbreviation] / [//en.wikipedia.org/wiki/{{urlencode:{{replace|{{{1|}}}|.|}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-nlm&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20NLM%7CR%20from%20NLM%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d dotless version] | ::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-nlm&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20NLM%7CR%20from%20NLM%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d NLM abbreviation] / [//en.wikipedia.org/wiki/{{urlencode:{{replace|{{{1|}}}|.|}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-nlm&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20NLM%7CR%20from%20NLM%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d dotless version] | ||
::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-abbreviation&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20abbreviation%7CR%20from%20abbreviation%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d other abbreviation] / [//en.wikipedia.org/wiki/{{urlencode:{{replace|{{{1|}}}|.|}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-abbreviation&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20abbreviation%7CR%20from%20abbreviation%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d dotless version] | ::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-abbreviation&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20abbreviation%7CR%20from%20abbreviation%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d other abbreviation] / [//en.wikipedia.org/wiki/{{urlencode:{{replace|{{{1|}}}|.|}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-abbreviation&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20abbreviation%7CR%20from%20abbreviation%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d dotless version] | ||
| + | ::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-former&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20former%20name%7CR%20from%20former%20name%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d former name] | ||
| + | ::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-acronym&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20acronym%7CR%20from%20acronym%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d acronym] / [//en.wikipedia.org/wiki/{{urlencode:{{replace|{{{1|}}}|.|}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-acronym&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20acronym%7CR%20from%20acronym%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d dotless version] | ||
::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-typo&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20typo%7CR%20from%20typo%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d typo] | ::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-typo&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20from%20typo%7CR%20from%20typo%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d typo] | ||
::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-possibilities&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20with%20possibilities%7CR%20with%20possibilities%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d with possibilities] | ::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-possibilities&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=%5B%5BTemplate%3AR%20with%20possibilities%7CR%20with%20possibilities%5D%5D%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d with possibilities] | ||
| − | ::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-plain&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=Redirecting%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d plain]}}</includeonly><noinclude> | + | ::* [//en.wikipedia.org/wiki/{{urlencode:{{{1|}}}|WIKI}}?action=edit&redlink=1&preload=Template:JAH/preload-plain&preloadparams%5b%5d={{urlencode:{{PAGENAME}}|PATH}}&summary=Redirecting%20to%20%5B%5B{{urlencode:{{PAGENAME}}|PATH}}%5d%5d plain] |
| + | }}}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> | <!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> | ||
</noinclude> | </noinclude> | ||
Revision as of 14:24, 6 November 2018
This is a preview template, designed to facilitate the finding of abbreviations, and creation of various redirects for academic journals and similar publications. JAH stands for Journal Abbreviations Helper.
Usage
Mode 1
In the first mode, the template supports up to 10 parameters, for 10 different journal names.
{{JAH|JOURNALNAME1|JOURNALNAME2|...|JOURNALNAME10}}
To use the template, put say {{JAH|Journal of Foobar}} in the edit window, and click on Show preview.
If JOURNALNAME exist, you will be presented with something like this
- Search abbreviations for Journal of Physics:
- Journal of Physics doesn't exist, create it as a
{{R from...}}
- Journal of Physics doesn't exist, create it as a
which can then be used to search for abbreviations.
If JOURNALNAME does not exist, you will then be presented with something like
- Search abbreviations for Journal of Foobar:
- Journal of Foobar doesn't exist, create it as a
{{R from...}}
- Journal of Foobar doesn't exist, create it as a
The redirect creation links will pre-load a page that can then be saved to create redirects from JOURNALNAME to the page the template is previewed on. For instance if JOURNALNAME is a former name of the journal, click on "former name", to create a redirect tagged with {{R from former name}}.
However, to create a redirect from an abbreviation, you first need to find the abbreviation (e.g. J. Foobar), and preview the page again to get
- Search abbreviations for J. Foobar:
You can then click on the appropriate link (e.g. 'ISO 4 abbreviation' for an ISO 4 abbreviation) to pre-load a page that can then be saved.
If you can include multiple former names and abbreviations at once, e.g.
{{JAH|Proceedings of the Foobar Society|Proceedings of the Foobar Society of London|Proc. Foobar Soc.|Proc. Foobar Soc. Lond.}}
which will give something like
- Search abbreviations for Proceedings of the Foobar Society:
- Proceedings of the Foobar Society doesn't exist, create it as a
{{R from...}}
- Proceedings of the Foobar Society doesn't exist, create it as a
- Search abbreviations for Proceedings of the Foobar Society of London:
- Proceedings of the Foobar Society of London doesn't exist, create it as a
{{R from...}}
- Proceedings of the Foobar Society of London doesn't exist, create it as a
- Search abbreviations for Proc. Foobar Soc.:
- Proc. Foobar Soc. doesn't exist, create it as a
{{R from...}}
- Proc. Foobar Soc. doesn't exist, create it as a
- Search abbreviations for Proc. Foobar Soc. Lond.:
- Proc. Foobar Soc. Lond. doesn't exist, create it as a
{{R from...}}
- Proc. Foobar Soc. Lond. doesn't exist, create it as a
You can then click on the relevant redirect creation link.
Mode 2
In the second mode, the template supports two parameters. The first for the journal name, the second for the ISSN.
Put say {{JAH|Journal of Foobar|0123-4567}} in the edit window, and click on Show preview.
You will be then be presented with something like this
- Search abbreviations for Journal of Foobar:
- Journal of Foobar doesn't exist, create it as a
{{R from...}}
- Journal of Foobar doesn't exist, create it as a
- Search abbreviations for 0123-4567:
which includes extra 'alt' search links for NLM and MathSciNet.
| The above documentation is transcluded from Template:JAH/core/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |