Module:IA Citation/data/H
Appearance
| This module is rated as alpha. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome. |
This page contains the data configurations for Module:IA Citation for all book keys starting with the letter "H".
To add a new citation, follow the existing examples in the code.
- Book Key eg. `['HIH4']`
- Use a unique yet recognizable name, all caps, spaces converted to "_", and that starts with "H".
- Engine Parameters (Top-level):
- template = (Required) "cite book", "cite journal", etc.
- id = <Internet Archive identifier> (e.g.,
encyclopaediabrit01chisrich). Required for a single book on IA. - query = <Internet Archive search query> (Optional. Use instead of `id` for multi-volume works. Links the title to an IA search page. Page linking will not work.)
- ex. query = 'title:"Encyclopaedia Britannica" AND date:1911'
- iadisplay = "full screen" (Optional. Opens the book in full-screen mode instead of 2-up.)
- iasearch = "none" (Optional. Disables the default dummy search string. More info: Module:IA_Citation#Dummy_search)
- Citation Parameters (Inside `cite_params`):
- cite_params = A table of standard CS1 parameters displayed by default. Users can override these within the invoking templates.
- title, author, year, isbn, etc.
- url = If the work is not on the Internet Archive, omit `id` and `query` from the top level, and provide a hardcoded `url` (e.g., to Google Books) directly inside this `cite_params` table. This method nullifies features such as direct linking to page numbers, full screen display.
- cite_params = A table of standard CS1 parameters displayed by default. Users can override these within the invoking templates.
local library = {}
-- US Nuclear Weapons: The Secret History by Aerofax
-- Template:Book-Hansen-US Nuclear Weapons
library['HANSEN_US_NUCLEAR_WEAPONS'] = {
template = 'cite book',
id = "usnuclearweapons0000hans",
cite_params = {
['title'] = "US Nuclear Weapons: The Secret History",
['last'] = "Hansen",
['first'] = "Chuck",
['author-link'] = "Chuck Hansen",
['year'] = "1988",
['publisher'] = "Aerofax",
['isbn'] = "0517567407",
}
}
-- Power from Steam by Cambridge University Press
-- Template:Book-Hills-Power from Steam
library['HILLS_POWER_FROM_STEAM'] = {
template = 'cite book',
id = "powerfromsteamhi0000hill",
cite_params = {
['last'] = "Hills",
['first'] = "Richard L.",
['author-link'] = "Richard L. Hills",
['title'] = "Power from Steam",
['year'] = "1989",
['publisher'] = "[[Cambridge University Press]]",
['isbn'] = "0-521-45834-X",
}
}
-- The History of Yolo County, California by Historic Record Company
-- Template:History of Yolo County
library['HISTORY_OF_YOLO_COUNTY'] = {
template = 'cite book',
id = "historyofyolocou00greg",
iadisplay = "full screen",
iasearch = "none",
cite_params = {
['last'] = "Gregory",
['first'] = "Thomas Jefferson",
['year'] = "1913",
['title'] = "History of Yolo County, California",
['publisher'] = "Historic Record Company",
['location'] = "Los Angeles, Cal.",
}
}
return library