Difference between revisions of "Template:JAH/doc"
imported>Headbomb (→Mode 1: ce) |
imported>Headbomb (ce) |
||
| Line 21: | Line 21: | ||
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 | 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 | ||
| − | {{JAH|J. Foobar | + | {{JAH|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. | 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. | ||
Revision as of 16:28, 10 June 2019
| This is a documentation subpage for Template:JAH. It contains usage information, categories and other content that is not part of the original template page. |
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.
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.