Template talk:Wikibooks

Reoganizing the Wikibooks templates
Should we reorganize these and even merge them all? It would be easy enough using Parser_functions. --Swift 03:34, 29 July 2006 (UTC)


 * I've set up a Proof of Concept template at wikibooks-poc. Please have a look. --Swift 01:55, 18 August 2006 (UTC)


 * Looks good, but the old one is needed too, because there are a lot of books using the colon convention. Cookbooks in particular has a lot of pages, many of which are linked from WP. -- SB_Johnny | talk 11:43, 18 August 2006 (UTC)


 * The colon convention has been deprecated and those books should be changed to the new convention. Once that is done, the template is redundant. --Swift 16:08, 18 August 2006 (UTC)


 * Yes, but unfortunately there are some grandfathered, and some namespaced.
 * Will template usages with subst: show up as links to the templates, BTW? -- SB_Johnny | talk 16:19, 18 August 2006 (UTC)


 * Grandfathered? Namespaced? My understanding was that WB didn't like giving namespaces to books/projects since they aren't made for that purpose. Could you give some links/examples?
 * The subst:-s won't matter because they've been ... err ... subst:-ed. A template that is substituted doesn't reference the template any more. The contents of the template are simply inserted into the article once and for all so changing the template doesn't change the substituted content. --Swift 21:17, 18 August 2006 (UTC)


 * The Cookbook has its own templates, see Template_messages/Links which, by the way, I've just suggested be merged. --Swift 23:13, 19 August 2006 (UTC)


 * I've just upgraded the template with changes from Wikibooks-poc. I'm going to start deprecating the others. See User:Swift/Projects for a table with redundancies. --Swift 22:15, 22 August 2006 (UTC)

TfD nomination of Template:Wikibookspar
Template:Wikibookspar has been nominated for deletion. You are invited to comment on the discussion at the template's entry on the Templates for Deletion page. Thank you. Swift 22:02, 17 August 2006 (UTC)


 * Template survived with a speedy keep due to number of articles using it. Wikibooksarticle seems like it will be deleted, though. --Swift 22:21, 22 August 2006 (UTC)

TfD nomination of deprecated Wikibooks templates
Template:Book, and other deprecated Wikibooks templates, have been nominated for deletion. You are invited to comment on the discussion at the templates' entry on the Templates for Deletion page. Thank you. -- kenb215 21:42, 16 September 2006 (UTC)

Bold link
Shouldn't the content link be bolded to be consistent with the other wiki sisterlinks? Vicarious 19:39, 11 May 2007 (UTC)
 * Done. --- RockMFR 17:25, 14 September 2007 (UTC)

"Wikibooks" for our purposes are external links
Do not link to a wikibooks article simply because it is there. Wikibooks is essentially a free webhost for cranks. Only link to a "wikibook" if it is of a quality that would justify an external link to a non-wikimedia site. dab (𒁳) 11:41, 16 August 2007 (UTC)

Tricky one
How do I put up a wikibook reference to http://en.wikibooks.org/wiki/Robotics:_Design_Basics:_Design_software using this template? --Abdull (talk) 16:03, 17 November 2007 (UTC)

I see -- this template assumes the "book name/chapter name" convention, although Robotics and a few other books have the "book name: chapter name" convention.

I suppose you could do it this way:

Is there a better way? --68.0.124.33 (talk) 23:15, 19 May 2008 (UTC)

Atlas Shrugged and other non-copyrighted content
Shouldn't there be a section for primary sources that are in wikibooks such as for the article Atlas Shrugged? --Keer lls ton 22:00, 28 November 2007 (UTC)


 * You mean like wikisource?--Joel (talk) 06:15, 31 March 2008 (UTC)

Clickable image
Please make it so when the Wikibooks logo is clicked, instead of going to the image description page, it goes to the corresponding Wikibooks page. It can be done by changing the image link to this: -- penubag  (talk) 07:28, 11 November 2008 (UTC)


 * [[Image:Yes check.svg|20px]] Done — { { Nihiltres | talk | log } } 23:22, 11 November 2008 (UTC)

Space missing
There should be a space between "Wikibook" and the title of the Wikibook. There appears to be no space in the last three examples on this template page. —Kenyon (t·c) 04:06, 20 November 2008 (UTC)
 * Should be fixed now. --- RockMFR 22:19, 21 November 2008 (UTC)

Logo
Please use File:Wikibooks-logo-en-noslogan.svg &mdash; Mike.lifeguard &#124; @en.wb 03:05, 27 January 2009 (UTC)


 * ✅ Updated at Sister. Thanks, Peter Symonds ( talk ) 10:34, 27 January 2009 (UTC)

Strange formatting
If I try and paste the examples in the documentation I get weird formatting

They only seem to work if I remove the spaces --Salix (talk): 09:01, 15 April 2009 (UTC)
 * I fixed the examples. Ideally we should give names to the parameters, but for now this will work.  Maybe someone with a bot can give this a fixup in the future. - SCEhard T 22:59, 16 April 2009 (UTC)

Test

end test

I still see the same problem Salix saw -- I copy and paste an example in the documentation:

and I expected to see two links (one with visible text "Fundamentals of Transportation", the other with the visible text "Estimating Models"). But what I actually see inside the pretty infobox is the the visible non-linked text


 * [[wikibooks: Fundamentals of Transportation
 * | Fundamentals of Transportation
 * ]]
 * ]]

where I expected the first link (the second link is good).

Temporary workaround: If I put the first and second parameter on the same line like so:

the infobox looks OK. (In other words: I expected both boxes on the right to look the same, but they currently don't.)

Is this something we can/should fix in the template, or in the back-end code, so that it works the way this documentation says it works? --DavidCary (talk) 13:08, 19 August 2016 (UTC)


 * It looks like something which can be fixed, I'm creates Template:Wikibooks/sandbox with a version which wraps all the arguments in trim and it seems to work as can be seen by looking at Template:Wikibooks/testcases. I'll leave it a bit before updating main template in case there is some hidden problem, I don't quite understand how the main template is coded. --Salix alba (talk): 18:52, 19 August 2016 (UTC)


 * I've now made that version live. --Salix alba (talk): 19:24, 23 August 2016 (UTC)

has a page
This is often incorrect, there are many times pages, not just one. I suggest the wording is amended to say there is more. "Wikibooks has more on the subject of abc." SunCreator (talk) 12:23, 23 August 2009 (UTC)

Close the 'div'
Hi!

There are unbalanced divs in the template. Could you close the tag? Helder (talk) 23:48, 6 October 2009 (UTC)

interwikies
Two templates are deleted: hr and it. I think the iw should be removed.

--Gdje je nestala duša svijeta (talk) 06:11, 12 September 2010 (UTC)

bad example
The Wikibook Chemical synthesis is deleted. The examples should use something that exists, in order to demonstrate the linking properly. John Vandenberg (chat) 11:06, 11 November 2010 (UTC)
 * Done. Mike Linksvayer (talk) 19:20, 26 March 2011 (UTC)

section links don't link to section
eg

obtains

Note link is to Trip Generation, not Trip Generation#Estimating Models.

Mike Linksvayer (talk) 19:20, 26 March 2011 (UTC)

Formatting
I've never understood why this template offsets the link onto a new line. Having looked through the code, it also appears that the code to do this is broken, as the div tag is never closed. I've created a sandbox which removes this code and just formats the link normally, like commons and other sisterlink templates. If there are no objections I'll get this synced. Chris Cunningham (user:thumperward) (talk) 12:05, 12 December 2011 (UTC)
 * Good work. Regards, SunCreator (talk) 14:18, 12 December 2011 (UTC)
 * ✅, at last. Chris Cunningham (user:thumperward) (talk) 10:04, 20 August 2012 (UTC)

Template fails if param 2 is null but param 3 is non-null
On behalf of a user, I tried to link to a book but display an alternate title:. This fails, because the template creates a URL with an appended slash. I created a kluge workaround (a redirect at wikibooks) and counselled the user to make his wikibook titles match his pagenames, but I still think the template should be fixed. Thanks.-Arch dude (talk) 18:39, 29 July 2018 (UTC)
 * Fixed in [//en.wikipedia.org/w/index.php?title=Template:Wikibooks&diff=852558664&oldid=735886915]. PrimeHunter (talk) 20:44, 29 July 2018 (UTC)