User:Jonathanischoice/sandbox
Using convert template
[edit]What's this all about then: 100 calories (420 J) 500 calories (2,100 J) 600 calories (2,500 J) 800 calories (3,300 J)
Graph templates
[edit]Graphs are broken since mid 2023 and there doesn't seem to be a lot of action in fixing it any time soon, see: beta sandbox.
OMMIGOSH how did I not know all this stuff for doing D3 graphs and fancy maps existed? See: WP:GL, {{Graph:Chart}}, {{Legend}}, WP:Graphs and charts, Category:Chart, diagram and graph templates...
Stacked graph for vineyard area
[edit]Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org. |
(Inline) Legend: Sauvignon Blanc Pinot Noir Chardonnay Pinot Gris Riesling Syrah Cabernet Sauvignon Merlot.
Or, legend produced from:
{{BrewerColorLegends|Set3|8|10em|Sauvignon Blanc|Pinot Noir|Chardonnay|Pinot Gris|Riesling|Syrah|Cabernet Sauvignon|Merlot}}
{{div col|colwidth=10em}} {{legend|#8dd3c7|Sauvignon Blanc}} {{legend|#ffffb3|Pinot Noir}} {{legend|#bebada|Chardonnay}} {{legend|#fb8072|Pinot Gris}} {{legend|#80b1d3|Riesling}} {{legend|#fdb462|Syrah}} {{legend|#b3de69|Cabernet Sauvignon}} {{legend|#fccde5|Merlot}} {{div col end}}
A stacked vertical bar graph
- Apple
- Banana
- Orange
Pie chart
[edit]This has been moved into its own {{Pie chart of New Zealand vineyard area by region}} template so it can be reused in more than one article: New Zealand wine, Marlborough wine region.
Here's the source for a pie chart, using {{pie chart}} and data from the New Zealand Winegrowers annual report:[2]
{{Pie chart | thumb | caption = '''New Zealand vineyard area by region, 2020.''' [[Marlborough wine region|Marlborough]] accounts for about two thirds of the total vineyard area in New Zealand. | footer = Data from [[New Zealand Winegrowers]] annual report.<ref name="nzw-annual-report">{{cite web | title = New Zealand Winegrowers Annual Report | publisher = [[New Zealand Winegrowers]] | year = 2020 | url = https://www.nzwine.com/en/media/statistics/annual-report/ | access-date = 22 April 2021 }}</ref> | label1 = [[Marlborough wine region|Marlborough]] | value1 = 69.6 | label2 = [[Hawke's Bay wine region|Hawke's Bay]] | value2 = 12.6 | label3 = [[Central Otago wine region|Central Otago]] | value3 = 4.8 | label4 = North Canterbury | value4 = 3.4 | label5 = Gisborne | value5 = 3.0 | label6 = Nelson | value6 = 2.8 | label7 = Wairarapa | value7 = 2.6 | label8 = Other | value8 = 1.1 | color1 = #8dd3c7 | color2 = #ffffb3 | color3 = #bebada | color4 = #fb8072 | color5 = #80b1d3 | color6 = #fdb462 | color7 = #b3de69 | color8 = white }}
Colour values from {{BrewerColors}} using Set3; values obtained using (e.g.) value1={{percent|27808|39935|1|%=}}
but using {{percent}} directly caused errors in the chart template.
Annual production graph, for Central Otago
[edit]As a bar graph:
Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org. |
And as a line graph:
Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org. |
Hopefully this text appears after the graph, and it isn't floated right. Tips: align=center
must use US spelling (no centre
synonym) otherwise it will default to right
. The width
parameter takes a px value integer, without a px or any other type (e.g. em
, %
, etc.) Through trial and error it seems the frame needs to be about 100px wider than the width of the {{Graph:Chart}} in content
.
Pie chart for grapes in Hawke's Bay
[edit]Should be floated right here →
Replacement line graph for NZ wine
[edit]Total New Zealand production, in zillions of litres, data from NZ Winegrower annual reports 2007-2020.
Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org. |
Bar chart for English wine production (mostly fizz):
Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org. |
Citations
[edit]Citing the Grove Dictionary of Music and Musicians
[edit]First edition, use {{Cite Grove 1900}} with a title parameter:
- Grove, George, ed. (1900). "Beethoven, Ludwig van". A Dictionary of Music and Musicians. London: Macmillan.
Second edition, can use {{Cite Grove 2001}} with a title:
- Sadie, Stanley; Tyrrell, John, eds. (2001). "Beethoven, Ludwig van". The New Grove Dictionary of Music and Musicians (2nd ed.). London: Macmillan.
But better to use the unified template, {{Cite Grove}}. If only a title is supplied, it assumes the 2nd edition print version:
- Sadie, Stanley; Tyrrell, John, eds. (2001). "Beethoven, Ludwig van". The New Grove Dictionary of Music and Musicians (2nd ed.). London: Macmillan Publishers. ISBN 978-1-56159-239-5.
If a DOI or article ID is supplied (doi or id parameters), then it assumes the Oxford Music Online version of Grove. The author(s) are not deduced, and must be supplied as parameters (author1-first, author1-last, etc.) OMO does not currently supply editors in their supplied citation exports either. By article ID:
- Kerman, Joseph (2001). "Beethoven, Ludwig van". Grove Music Online (8th ed.). Oxford University Press. doi:10.1093/gmo/9781561592630.article.40026. ISBN 978-1-56159-263-0.
By DOI:
- Kerman, Joseph (2001). "Beethoven, Ludwig van". Grove Music Online (8th ed.). Oxford University Press. doi:10.1093/gmo/9781561592630.article.40026. ISBN 978-1-56159-263-0.
By DOI, no author supplied:
- "Beethoven, Ludwig van". Grove Music Online (8th ed.). Oxford University Press. 2001. doi:10.1093/gmo/9781561592630.article.40026. ISBN 978-1-56159-263-0.
Online Grove has an ISBN=9781561592630 which is missing from the template.
Using Wikidata
[edit]Any Wikidata item of the right type (for example, Q91330063 which is a journal article) can be used as a citation in a Wikipedia article using the {{Cite Q}} template:
- Stacy McGaugh (1 August 2018). "Predictions for the Sky-Averaged Depth of the 21 cm Absorption Signal at High Redshift in Cosmologies with and without Nonbaryonic Cold Dark Matter". Physical Review Letters. 121 (8): 081305. arXiv:1808.02532. doi:10.1103/PHYSREVLETT.121.081305. ISSN 0031-9007. PMID 30192615. Wikidata Q91330063.
Multiple citations to the same book but with different pages can be used with a single named reference, followed by the {{rp}} template. e.g. <ref name="bevan2000"/>{{rp|416–430}}
Useful references on Wikidata
[edit]Some {{Cite Q}} references for low brass articles:
- Clifford Bevan (1978). The Tuba Family (1st ed.). London: Faber & Faber. ISBN 0-571-10522-X. LCCN 77082241. OCLC 252522912. OL 4278210M. Wikidata Q111046191.
- Clifford Bevan (2000). The Tuba Family (2nd ed.). Winchester: Piccolo Press. ISBN 1-872203-30-2. OCLC 993463927. OL 19533420M. Wikidata Q111040769.
- David M. Guion (2010). A History of the Trombone. Toronto: Scarecrow Press. ISBN 978-0-81087-445-9. OCLC 725775517. OL 24019524M. Wikidata Q111039945.
- Trevor Herbert (2006). The Trombone. Yale Musical Instrument Series. New Haven: Yale University Press. ISBN 978-0-300235-75-3. OCLC 1007305405. OL 30593699M. Wikidata Q111039091.
- Trevor Herbert; Arnold Myers; John Wallace, eds. (2019). The Cambridge Encyclopedia of Brass Instruments. Cambridge: Cambridge University Press. doi:10.1017/9781316841273. ISBN 978-1-316-63185-0. OCLC 1038492212. OL 34730943M. Wikidata Q114571908.
- Renato Meucci (1989). "Il cimbasso e gli strumenti affini nell'Ottocento italiano". Studi Verdiani (in Italian). 5. National Institute of Verdi Studies: 109–162. ISSN 0393-2532. Wikidata Q111077186.
- Renato Meucci (March 1996). "The Cimbasso and Related Instruments in 19th-Century Italy". The Galpin Society Journal. 49. Translated by William Waterhouse: 143–179. ISSN 0072-0127. JSTOR 842397. Wikidata Q111077162.
- Douglas Yeo (2021). An Illustrated Dictionary for the Modern Trombone, Tuba, and Euphonium Player. Dictionaries for the Modern Musician. Illustrator: Lennie Peterson. Lanham: Rowman & Littlefield. ISBN 978-1-538-15966-8. LCCN 2021020757. OCLC 1249799159. OL 34132790M. Wikidata Q111040546.
- Douglas Yeo (2017). The One Hundred Essential Works for the Symphonic Bass Trombonist. Maple City: Encore Music Publishers. ISBN 978-1-5323-3145-9. OCLC 982957903. OL 47303018M. Wikidata Q111957781.
Citing a patent
[edit]- US patent 3937116, Lawrence, Ramirez, "Tenor trombone construction", issued 8 June 1976, assigned to G. Leblanc Corporation, class G10D7/10 (Holton Superbone)
- EP patent 2422340, Rashleigh, Hugh & Rashleigh Ltd, "Musical instruments", issued 29 February 2012, class G10D7/10 (the plastic "pBone" patent)
- US patent 5965833, Lindburg, Christian, "Rotary valve for a musical instrument", issued 12 October 1999, assigned to Conn-Selmer Inc., class G10D9/04 (Conn CL2000 valve)
- US patent 7910815, Olsen, Michael L., "Precision axial flow valve", issued 22 March 2011, class G10D9/04 (Olsen axial flow valve)
- US patent 4112806, Thayer, Orla E., "Axial flow valve", issued 12 September 1978, class G10D9/04 (Thayer valve patent)
- US patent 4905564, Thayer, Orla E., "Rotary sound path selector valve with biased rotor", issued 6 March 1990, class G10D9/04 (Later Thayer valve improvement)
Maps
[edit]For a nifty zoomable Open Street Map, we can use {{mapframe}}. For a map in an {{infobox}} for towns, locations, buildings and the like (any infobox that has a map
parameter), use the special {{infobox mapframe}} template. At their simplest, they take a coord
parameter (use the {{coord}} template for the value), and a zoom
parameter, which you can tweak to suit. For instance, the infobox in the article for the Harbour View suburb of Lower Hutt contains the following:
map = {{infobox mapframe | coord = {{coord|41|12|07|S|174|53|56|E}} | zoom = 14}}
But these two templates and their various siblings are very powerful - it's worth reading their documentation for more advanced use. For instance, instead of guessing an arbitrary zoom number, you can instead specify the object's size with length_km
or area_km2
and it will figure it out for you. Instead of coordinates, you can specify a Wikidata item with id
, as long as it has geodata properties (coordinates, geoshape, or OSM relation).
Inflation and the New Zealand CPI index
[edit]New Zealand CPI data is available from the terrible Statistics New Zealand "infoshare" website (which does anything but) under Economic Indicators → Consumers Price Index.
See {{Inflation}} and {{Inflation/NZ}}.
Testing:
- 21.232843493865
6369853
equivalent to $6,370,000 in 2021
Apple crumble
[edit]A recipe involving a simple streusel topping (flour, shortening, sugar) appeared in Canadian journal Farmer's Magazine in February 1917.[6] Other appearances: The New Zealand Apple Cookery Book (1938),[7] The Modern Family Cookbook (1942),[8] and The Wise Encyclopedia of Cookery (1948).[9]
New Zealand road network
[edit]Urban Routes, for example Route 31 (Hibiscus Coast Highway), using {{Jct}}:
Route 31 (Hibiscus Coast Highway) – Silverdale
RFP links
[edit]Jonathanischoice (t · th · c · del · cross-wiki · SUL · edit counter · pages created (xtools · sigma) · non-automated edits · BLP edits · undos · manual reverts · rollbacks · logs (blocks · rights · moves) · rfar · spi · cci)
References
[edit]- ^ a b c d "New Zealand Wine: Statistics & Reports". New Zealand Winegrowers. Retrieved 22 April 2021.
- ^ a b "New Zealand Winegrowers Annual Report". New Zealand Winegrowers. 2020. Retrieved 22 April 2021.
- ^ a b "Otago's bumper wine harvest". Otago Daily Times. 21 May 2007. p. 2.
- ^ "New Zealand Winegrowers Vineyard Report, 2020-2023". New Zealand Winegrowers. 2020. Retrieved 13 May 2021.
- ^ "Industry Data and Statistics". WineGB. Wines of Great Britain. Retrieved 10 June 2022.
- ^ "The Month's Recipes – Apple Crumble". Farmer's Magazine. Toronto: MacLean Publishing Co. Ltd.: 53 February 1917. Retrieved 2 June 2023.
- ^ https://archive.org/details/thenewzealandapplecookerybook1938/page/n53/mode/2up?q=%22apple+crumble%22
- ^ https://archive.org/details/modernfamilycook0000unse_s2s5/page/438/mode/2up?q=%22apple+crumble%22
- ^ https://archive.org/details/wiseencyclopedia00wmhw/page/20/mode/2up?q=%22apple+crumble%22