Template talk:Internet Archive

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconLibraries Template‑class
WikiProject iconThis template is within the scope of WikiProject Libraries, a collaborative effort to improve the coverage of Libraries on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.


Pesky persistent italics[edit]

The "name=" field will display as all italics. You may wish to have part of the name displayed in standard type. After trial and error, I found a way which works. Someone who knows more about HTML than I do may have a better method, but this works: If you place a ' ' somewhere in the name it will cancel the italics. If you place another ' ' further on, it will once again display italics. However, if you place a ' ' immediately after "name=", it will not cancel the italics. In order to fool the template into thinking that there is another letter before the initial ' ', you have to insert a space before the ' '. Alas, a standard space (i.e. ASCII 32) will not work. You have to use the other ASCII space which is 255. In Windows you can insert a 255-space with ALT+255. I don't know how to do it on a Mac but I suggest you look in Help:Special symbols. When I get to a Mac, I'll try to find out. If you'd like to see an example, you can see how I used this method at John Gribbel#Politics. Mike Hayes (talk) 20:26, 14 October 2013 (UTC)[reply]

The way you insert ALT+255 into your document in Mac, you choose "Unicode Hex Input" from the drop-down input menu at the upper right in the menu bar - that's the flag symbol. (If it isn't present you will have to enable it in the Input menu in "System Preferences". Click on "Open International" to access that option.) To insert an ASCII-255-equivalent space, hold down the Option key and type 00a0. Mike Hayes (talk) 00:51, 15 October 2013 (UTC)[reply]
The automatic application of italics that was removed in January 2017 following the discussion above has now been re-introduced. I think the argument above is still valid, and the recent change ought to be reverted. -- Michael Bednarek (talk) 04:28, 9 April 2019 (UTC)[reply]
Yes, it seems odd to force italics when not necessarily everything linked to is going to require it. Individual songs, for example. --tronvillain (talk) 16:49, 11 January 2020 (UTC)[reply]

Resultant url redirects[edit]

I used this template to replace

https://archive.org/stream/southafricatrans08cres/southafricatrans08cres#page/153/mode/1up

with

{{Internet Archive|id=southafricatrans08cres|name=South Africa and the Transvaal war|page=153}}

It produces this url:

https://archive.org/stream/southafricatrans08cres#page/n153/mode/2up

which looks fine, but redirects to

https://archive.org/stream/southafricatrans08cres#page/104/mode/2up


What's going on? --Auric talk 00:38, 31 August 2018 (UTC)[reply]

Scraping metadata from the IA page?[edit]

Could a LUA script get metadata from the IA page? A call like:

{{Internet Archive |handbuchderdrog02buchgoog |page=337 |scrape=yes}}

could then result in:

Gustav Adolf Buchheister (1891). "Handbuch der Drogisten-praxis: Ein Lehr- und Nachschlagebuch für Drogisten" (in German). J. Springer. p. 337. {{cite web}}: |archive-date= requires |archive-url= (help), at the Internet Archive