Template talk:Book Summary

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

Lore:None[edit]

Something funny going on here... There are about 50 book pages with lorename=none, which prevents the 'See Also: Lore version' bit from showing up. However, it also causes the page (through this template) to look for the 'Lore:None/Author' and 'Lore:None/Description' pages, which causes those two pages to appear at the top of the 'Wanted Pages' list. I thought I could see how to fix it, but that didn't work. Any ideas? --Gaebrial 07:21, 29 June 2009 (UTC)

I'd seen those. They're annoying but I wasn't planning on fixing them since we'll be abandoning /Author and /Description pages before too long, which should either solve the problem or turn it into some other problem instead. In general, the upgrade seems to have caused all pages looked for by #ifexist to show as wanted pages, which is a little irritating. –RpehTCE 08:00, 29 June 2009 (UTC)

As could be seen here, the move to the custom code allowing to ditch /Author and /Description was not enough to get rid of the Lore:None issue. Fortunately, using #ifeq: to skip the #load: call fixed that. --Gez (talk) 10:02, 21 June 2013 (GMT)

Maps[edit]

Skyrim introduced a whole slew of treasure maps which are just hand-drawn maps to hidden treasure locations. Can a typing get added to them similar to notes, coded, etc.?--Bwross 02:17, 3 December 2011 (UTC)

Done. using |map=yes will add it to the Map Notes category/trail. I used "Map Notes" instead of just "Maps" because I didn't want the trail pointing to the main SR:Maps page. --NepheleTalk 04:07, 3 December 2011 (UTC)
The parameter map is already in use for books that add Map Markers. Needs a different parameter name. treasuremap for this specific usage works, although it wouldn't be intuitive if in future games they added maps as a regular feature. Not sure if its worth the time for a bot to go through and change all the existing pages that use map to a more suitable mapmarker or marker parameter.--Bwross 14:09, 3 December 2011 (UTC)
Oops, didn't catch that existing parameter. I've now changed my new parameter to |hasmap=yes. Seems like that should be generic enough to cover any case where maps are shown in a book. --NepheleTalk 05:03, 4 December 2011 (UTC)

Notes[edit]

Just a possible consideration for improvement on the inclusion of tag "notes=yes"

  • Trail creates as SECTION: ITEMS : NOTES : BOOKS - seems like it should be BOOKS: NOTES
  • Header of the table indicates Book Summary rather than Note Summary
  • Possible of interest to create a separate parameter for To From

--Bwross 14:41, 7 December 2011 (UTC)

Altered Code For Bugs[edit]

I've gotten an altered version working with a dropdown for bugs. Here's the code

{{Book Summary
|sortkey=Key Here
|id=ID Here
|value=Value Here
|weight=Weight Here
|skill=Skill Here
|nocat=yes
|notrail=yes
|loc=*
* Ex Location 1
* Ex Location 2
* Ex Location 3
* Ex Location 4

{{showhide|Notes|
* Ex Note/Bug 1
* Ex Note/Bug 2
}}

}}

Lord Eydvar Talk|Contribs 09:36, 17 November 2012 (GMT)

OL[edit]

Given that there will be already are books in TESO, could someone update this template to support that namespace? Thanks in advance. -- Kertaw48 (talk) 15:07, 7 December 2012 (GMT)

It should already work for this. The documentation might need to be updated, but there's nothing really that needs to be done to the template itself for that, with the exception of adding the icon field maybe - which won't really be relevant until we start getting actual graphics for that. TheRealLurlock (talk) 02:35, 8 December 2012 (GMT)
Actually, there was a change needed on Template:Book Summary/Lore. I've updated it, should work - were we using "OL" for Online or "ON"? Might need to change that to be consistent... TheRealLurlock (talk) 02:39, 8 December 2012 (GMT)
"ON" (see here). Robin Hoodtalk 22:02, 8 December 2012 (GMT)

Books by Debut[edit]

I made a category family called Category:Lore-Books-by-Debut. I was thinking of using this template to populate it. The Lore version of a book would be placed in either the DF, BS, RG, MW, TR, BM, OB, SI, DB, or ON "Books from" category, depending on the first game in that list it was in. TorchicBlaziken (talk) 20:42, 2 February 2013 (GMT)

Icon[edit]

Currently this uses a complicated scheme by defining icons used on the lore page, saving the parameter in a namespace specific value, then loading it at the game space page. This will be further complicated, if the name of the lore page differs from the game space page name. I propose to simply name that parameter uniformly "icon", define all the icons on the game space pages (it's game specific information after all, like weight and value, and has no business on the lore page). If we save the "icon" value, any other page interested in it, like book summary pages, can still load it. This will need quite a bit of reorganization, but the end result will be a much simpler scheme, with less problems. --Alfwyn (talk) 18:08, 8 February 2014 (GMT)

I've thought for a while now that we should go for something more like that. If it were a case where we were linking to the Lore page directly, that'd be a different story, but since we have namespace-specific pages for all of these, most if not all of which use a standard template themselves, it makes sense to use that instead of this complicated Lore scheme. I don't imagine this would be a huge challenge for the bot to help with once the code is ready to go. Robin Hood  (talk) 23:19, 8 February 2014 (GMT)
Bot help would certainly be appreciated. It looks like about 50 pages actually define the icon on the lore page. In that case xxName may point to the namespace page, if the name differs. Those would need moving xxIcon to namespace pages, and could be done by hand if necessary (but not keen on that, then again many of them may be already redundant). But many more namespace book pages use xxIcon too, that should be renamed to 'icon' (that way it will work for namespaces like TES5mod too, that weren't anticipated). So the steps to take would probably be:
  1. Change this template and {{Book Normal}} to optionally accept the parameter/saved value "icon" too.
  2. Change all the uses of this template as necessary
  3. Simplify the template code by removing the now unused xxIcon bits
--Alfwyn (talk) 13:53, 10 February 2014 (GMT)
Alfwyn and I already discussed this slightly on IRC, and I support it completely. Jeancey (talk) 05:41, 11 February 2014 (GMT)
Makes sense to me. Once the updated icon is in place, I can begin designing and testing the bot code. Robin Hood  (talk) 06:32, 11 February 2014 (GMT)
Okay, so just to make sure I've got the logic right:
  1. If I find any kind of Book Summary icon on a Lore page, I should copy it to the appropriate namespace(s) and remove it from the Lore template.
  2. If I find any kind of Book Summary icon on any other page, I should rename it to simply "icon".
Right? Robin Hood  (talk) 22:35, 11 February 2014 (GMT)
Exactly. --Alfwyn (talk) 22:44, 11 February 2014 (GMT)
The bulk of the code is written and the straight-forward cases are tested. There are a couple of possible anomalies that I'll want to double-check, but it's pretty much ready to go. I would imagine I'll be ready to run it sometime tomorrow afternoon or evening. Robin Hood  (talk) 06:28, 12 February 2014 (GMT)

Source vs Seen In[edit]

Can we have both the Source and the Seen In options on the same table, rather than having only the Source display? —Legoless (talk) 21:05, 10 July 2015 (UTC)

Theoretically I don't see why not. Currently they are in an either/or state, but they could be separated. I'll try it, and we'll see if anything explodes... --Enodoc (talk) 21:41, 10 July 2015 (UTC)
OK, so Because Reasons it's easier to keep it in one box, so it will say "Seen in" if there is no source, as before, but it will now list the games under the "Source" header if there is both a source and game entries. --Enodoc (talk) 21:51, 10 July 2015 (UTC)
Works okay, thanks! —Legoless (talk) 22:10, 10 July 2015 (UTC)

Quests[edit]

Is there any reason quest and questrel should not auto-link? I don't think I've ever seen a case of anything other than just the quest name being added under these parameters. Silence is GoldenBreak the Silence 14:09, 21 August 2016 (UTC)

There are a couple of oddballs like Chronicles of Nchuleft and Chronicles of the Five Companions 1, but even there, the autolink template will handle them, so yeah, I think we can switch those over to being auto-linked. Robin Hood  (talk) 15:18, 21 August 2016 (UTC)
I'm not so happy with how high HnB's edit count is getting..... :P Jeancey (talk) 17:10, 21 August 2016 (UTC)
Hahaha! Robin Hood  (talk) 17:51, 21 August 2016 (UTC)

Compilations[edit]

Given it has caused no problems, no complaints, or anything negative, I think it may be time to allow the wording for compilations in lorespace. I'm not really sure why I asked it not to work there, but there is no reason now. The category already works there so no need to alter anything for that. Silence is GoldenBreak the Silence 14:09, 9 October 2017 (UTC)

Okay, that's been added to the Lore sub-template now. About the only potential issue I see is that if there's nothing in the seen-in/source section, it'll look a little bit odd, but I don't think that's a huge issue. It can be worked around if absolutely necessary, but the code to do so is a bit large, so I'd rather not add it if there's no pressing need to do so. Robin Hood  (talk) 18:50, 9 October 2017 (UTC)