Template talk:Journal Entries

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

Problems[edit]

I think I may have just fixed the Quest Comment bug -- while trying to fix the finish=Yes bug. I don't think it's a good idea to try to renumber all of the numbered arguments, and I'm guessing that may have been the source of the Quest Comment bug (unless I'm just mistaken about what the bug was in the first place).

As for the bug that's now visible in preview mode, it's a PHP-level problem somewhere. The /Line template is doing the correct thing, but the HTML code is getting escaped so it's no longer recognized as HTML code. It's probably somewhere in my extension code, but it's going to take some digging to find it, and it's not going to be easy to find. In other words, I'm not going to even try to look into it any further until later this week. --NepheleTalk 03:00, 8 June 2009 (EDT)

I've made some fixes to MetaTemplate that have fixed the problem. --NepheleTalk 00:12, 12 June 2009 (EDT)

Help[edit]

Due to some quest pages having two journal entry sections, I have been trying to add a second part to the template. I have gotten about half way and can't seem to figure anything out... I can't use numbers with the secondary subtemplate I made, as it conflicts with the initial subtemplate. Any ideas? --Mr. Oblivion(T-C) 05:47, 12 June 2009 (EDT)

It would be simplest just to include the template twice on such pages. –RpehTCE 06:39, 12 June 2009 (EDT)
I see you are trying to fit two quests into one template. I would suggest instead trying to call the template each time for a new quest. You can tweak the stylesheet of the table with margin-top and margin-bottom to make the tables fit neatly together. Take a look at my example to see what I mean. --Timenn < talk > 06:40, 12 June 2009 (EDT)
Thank you! This should work perfectly! And Rpeh, I was planning on that; however, the quest notes would be displayed twice, which I was trying to avoid. I think I can finish this now. Awesome! --Mr. Oblivion(T-C) 06:46, 12 June 2009 (EDT)
You can always add an additional parameter notes, to give the template caller the option to omit the notes section. --Timenn < talk > 06:51, 12 June 2009 (EDT)
Hmmm, would that be better than what I just now changed it to? The way I did seems to take the worry out of it entirely. --Mr. Oblivion(T-C) 06:54, 12 June 2009 (EDT)

Sic Not Working[edit]

I have hit a snag in this. The Sic template is not working within the journal entries. Is this something that is easily fixable? --Mr. Oblivion(T-C) 08:13, 14 June 2009 (EDT)

Actually, Quest Comment doesn't work either. :/ --Mr. Oblivion(T-C) 08:26, 14 June 2009 (EDT)
Try using {{!}} instead of the pipe character ('|') in the Template calls. See this. Normally you should be able to give templates as parameters (e.g. as is done with the Infobox Templates), but perhaps #splitargs is messing with this? --Timenn < talk > 09:05, 14 June 2009 (EDT)
It works! I was thinking way to much into it. If you look here, you can see that the {{!}} allows the sic to work. Thanks Timenn! (I haven't been able to stop smiling ever since I saw that!) --Mr. Oblivion(T-C) 09:10, 14 June 2009 (EDT)
The underlying problem appears to be a mediawiki bug. The HTML code generated by the embedded templates simply doesn't work properly within numbered template arguments (it works in named arguments, but not numbered ones). If the Journal Entries template directly printed {{{6}}} using the original, non-{{!}} version of Morrowind:The Death of Ralen Hlaalo, it would print "15" rather than the description for stage 10. The stage 10 description ends up in a variable with the bizarre name "<span title". In other words, #splitargs is inheriting the problem, not creating it.
The good news is that the bug has been fixed in MediaWiki 1.14, so workarounds such as {{!}} won't be necessary after the site is upgraded (however, the workaround will still continue to work, so there won't be a need to immediately edit any quests using the workaround). --NepheleTalk 02:46, 15 June 2009 (EDT)
That's good to hear. I'll keep editing it how I am now, and whenever the upgrade is done, just let us know and I can switch to the new process! :) --Mr. Oblivion(T-C) 03:07, 15 June 2009 (EDT)

Index vs. Stage[edit]

I have noticed that one difference between Morrowind and Oblivion journal entries is the label corresponding with the number of the journal entry, index and stage. Is this even worth altering? I could throw a quick #switch on the template to change it, but I don't know if there is a true difference between them. --Mr. Oblivion(T-C) 03:34, 15 June 2009 (EDT)

Morrowind refers to them as Journal Index, while Oblivion specifically mentions Journal Stages. Though both terms are generally used internally, we might as well keep that difference intact. --Timenn < talk > 07:56, 15 June 2009 (EDT)
I figured. I will go and edit it right now. --Mr. Oblivion(T-C) 07:58, 15 June 2009 (EDT)

it.UESP template translation[edit]

Hi, I would like to translate the template for it.UESP in Italian, I just have to copy the source code and create the template in the it.UESP? I also have to insert any particular indication to report the author or the original template? thank you --Yokudan ..talk.. 14:47, 20 December 2021 (UTC)

The templates on the Italian wiki are completely separate from the ones here, so you should just be able to modify them directly. Be careful, though, that you're actually on the Italian wiki and not here. Oh and it might be a good idea when doing this to copy any updates that have occurred to the template since the time the Italian wiki was created. Robin Hood(talk) 17:24, 20 December 2021 (UTC)