Template:EB1911set
Usage
[edit]Template, by default, used to apply {{EB1911}} and typeset pages in a standard fashion utilising partial or full transclusion from the Page: namespace.
Ideally, copy and paste the text between and including the curly brackets {{EB1911set}} (below) as it is, complete the required detail and save.
Note that this template needs to be substituted for full effect, as shown.
For this to work the article subpage under 1911 Encyclopædia Britannica must have the same name as the translucent tags in the Page: namespace.
The from= and to= fields contain the page image location numbers and not the page numbers that appear in the image. In the Great Mother of the Gods example below: the page image location number is "418" while the page number that appears in the image is "401" (The output is automagically adjusted to display the page numbers that appear in the image which in this example is "401" — if the page numbers are not what are expected then please ask for help at Wikisource talk:WikiProject 1911 Encyclopædia Britannica)
- Where start and finish <section>s are given the same id
{{subst:EB1911set |volume= |previous= |next= |wikipedia = |extra_notes= |from= |to= }}
- Where start and finish <section>s are given different id names.
{{subst:EB1911set |volume= |previous= |next= |wikipedia = |extra_notes= |from= |to= |fromsection= |tosection= }}
Example
[edit]In this example the article name that is to be used is "Great Mother of the Gods"
- so to work correctly with these parameters the
subst:EB1911set...
- must be placed in 1911 Encyclopædia Britannica/Great Mother of the Gods
- and the markup in page space must be
## Great Mother of the Gods ##
The output section below means what is seen when the template {{subst:EB1911set...
is placed on the article page, the [save page] button is pressed to save the edit and then another edit is made to the page to see the result.
Code
[edit]{{subst:EB1911set |volume = 12 |previous= Great Lakes of North America, The |next= Great Rebellion |wikipedia = Cybele |extra_notes= |from=418 |to=420 }}
Output
[edit]{{EB1911 |volume= 12 |previous= Great Lakes of North America, The |next= Great Rebellion |wikipedia = Cybele |extra_notes= }} <pages index="EB1911 - Volume 12.djvu" from="418" to="420" fromsection="Great Mother of the Gods" tosection="Great Mother of the Gods"> </pages> {{smallrefs}}
In the wild
[edit]Known problems
[edit]Some titles may cause problems if they have characters in them that confused the script language. For example there is a article called M'Lennan, John Ferguson and the single quite confuses the {{EB1911set}} script. The simple work around is use the parameters fromsection=
and tosection=
like this:
{{subst:EB1911set |volume = 17 |previous = Maclaurin, Colin |next = Macleod, Henry Dunning |wikipedia = John Ferguson McLennan |extra_notes= |from=276 |to=277 |fromsection=M'Lennan, John Ferguson |tosection=M'Lennan, John Ferguson }}
This will not work if there are double quotes in the name — to work around that use the html code "
or "
, this method can be used for any character for which the first solution does not work (external link: "HTML Codes for punctuation and other characters").