Template:Fmi816

See this listing at Galactic Central This template inserts the correct link to look up the story at the listings in the Galactic Central website's Fiction Magazines Index (fmi). The fmi is more unstable than the Central Fiction Index (cfi) in that the page numbers containing the Christie stories do change quite often as the site owner adds new pages.

Where possible, reference the cfi rather than the fmi and use this other template: cfi. However the fmi does contain more information than the cfi. Some magazines which published a Christie story are listed in the fmi but not in the cfi.

Hence this template is designed to allow easy global changes to all affected pages when the fmi index is updated and the details change.

The link URL to the fmi consists of 2 parts.
 * The number that begins "n000...." specifies the page on the website. As at Dec 2021, the first page containing Agatha Christie's stories is n00816. This contains stories in alphabetical order up to Peril at End House. Should this change in the future, e.g. if the maintainer adds new pages of authors who come alphabetically before Christie, this number can be edited here. Just a little while ago, this page was 00812. As of 7 Dec 2021 it is 00816 and hence this template is named fmi816.


 * The number that begins "#A...." specifies the section on the page where the story is found. This number is more stable and will not change much unless a hitherto unlisted Christie story is found through research and added to the index. The template passes this section number as parameter 1. Note that it is then evaluated with a parser function which adds an offset. As of 7 Dec 2021, the offset is 0.

Usage
Important: Follow the correct usage according to the latest change notes below.

22 Dec 2021

 * As of 22 Dec 2021, the correct page is now 817. The sections are correct until about section 194 (Clapham Cook). Thereafter what was 194 becomes 195. So for sections below 194, the offset is 0 and for sections 194 and above the offset is +1. So the code now incorporates a #ifexpr parser function: A.
 * Usage. Locate the correct section on the page. Then:
 * If below 194, for example 180, insert
 * If above 194, for example 200, insert
 * To use this template, first locate the appropiate entry at Galactic Central and note the section. Then, examples:
 * For http://www.philsp.com/homeville/fmi/n/n00817.htm#A192, write . Do the same for any section before this, so #100 is
 * For http://www.philsp.com/homeville/fmi/n/n00817.htm#A195, write (deduct 1). Do the same for any section after this, so #300 is

6 Feb 2022

 * The correct page now 818.
 * All sections +3, previous +1, so total +4
 * To use, first locate the appropiate entry at Galactic Central and note the section. Then
 * For example for http://www.philsp.com/homeville/fmi/n/n00818.htm#A195, write (deduct 4).