Template talk:Japanese episode list
From Wikipedia, the free encyclopedia
Archives |
---|
See also Wikipedia talk:WikiProject Television and Template talk:Episode list.
Contents |
[edit] New template, Template:Japanese episode list multi-part
I created a new template, Template:Japanese episode list multi-part, following some discussion at Talk:Sayonara Zetsubō Sensei#About the Titles of Each Episodes over how to treat episodes with multiple titles; I hope this wasn't unnecessary. —TangentCube, Dialogues 06:22, 7 January 2008 (UTC)
- Hmm, interesting. I think for myself I would have just made separate entires for each half, but since SZS is not constantly in two parts, I can understand the logic. -- Ned Scott 08:07, 12 January 2008 (UTC)
[edit] TopColor
{{Editprotected}} Please edit the very first line of the template and replace it with:
<tr style="text-align: center; {{#if:{{{TopColor|}}}|background:#{{{TopColor}}}|{{#ifeq:{{{ShortSummary|ʁ}}}|ʁ| |background:#F2F2F2}} }}">{{
This brings back TopColor, which was originally removed to make the template smaller and because no one used it. Since then we've removed the code for images and other tricks, there is more "room", and there are a few new situations where TopColor can now be used. Basically, it will be used to add alternating coloring for lists such as List of Lost episodes, and used to highlight special episodes within the list. I've tested this in my sandbox before hand (at User:Ned Scott/sandbox5 and User:Ned Scott/sandbox8. (userfied template at User:Ned Scott/sandbox4) This will have no effect on any list unless someone defines TopColor= for an entry. -- Ned Scott 08:13, 12 January 2008 (UTC)
[edit] Anchors
Could we add anchors to the template to allow the episodes to be linked directly? This would actually be better when redirecting an episode title to the top of the list. --Farix (Talk) 20:21, 19 January 2008 (UTC)
- We already have that. Use "#ep0#" as the anchor where the second # is the number of the episode for 1-9, and then "#ep##" for episodes 10 and above. Took me by surprise too until I saw someone using it. Examples: List of Clannad episodes#ep05 and List of Clannad episodes#ep15.--十八 23:16, 19 January 2008 (UTC)
-
- Oops, I guess we forgot to document that a while ago. It also works for ProdCode as well, where it becomes "#pccode" -- Ned Scott 04:48, 20 January 2008 (UTC)
[edit] Ratings
Is it possible to add Ratings to this template... --Staka 18:41, 25 January 2008 (UTC)
- Use the Aux fields. —TangentCube, Dialogues 18:44, 25 January 2008 (UTC)
Is Aux 3 the maximum? --Staka 18:45, 25 January 2008 (UTC)
- Yes. Adding too many possible columns only creates clutter. —TangentCube, Dialogues 18:46, 25 January 2008 (UTC)
-
- Not sure where I put it, but I actually proposed a while back giving some dedicated fields for the very common stuff, which I think included ratings. If I have time, I'll check to see what impact such a change might have on the template-limitation problem. Lately I've been thinking we should just use a different template for lists that are very long, so we don't have to worry so much about it. Though it is good to be conservative with these fields, so there isn't a flood of them. -- Ned Scott 01:42, 26 January 2008 (UTC)
[edit] Large revamp/notes discussion
Please see Template talk:Episode list#Revamp. I've noted several proposals to the main Template:Episode list that will effect this template as well. Plus a bunch of other notes and proposals for things such as an LOE/season page method that allows season pages to be transcluded on the main LOE page. I encourage everyone to participate. -- Ned Scott 06:25, 1 February 2008 (UTC)
[edit] Description doesn't stretch correctly when the 'EnglishTitle' parameter is omitted
This problem should be easy to fix.
This is what it looks like without 'EnglishTitle'
"Japanese Title" | 00 Month, 0000 |
Description | |
and here's with 'EnglishTitle'
"Japanese Title" | 00 Month, 0000 |
Description | |
I think changing the expression for colspan calculation from {{#ifeq:{{{EnglishTitle|ʁ}}}|ʁ|0|1}} to {{#ifeq:{{{EnglishTitle|ʁ}}}|ʁ|{{#ifeq:{{{JapaneseTitle|ʁ}}}|ʁ|0|1}}|1}} should fix it without breaking anything.
--Execvator (talk) 19:42, 11 February 2008 (UTC)
- That is a bug in the main episode list too. When I asked over there they said to just put in the field with no content. Collectonian (talk) 19:46, 11 February 2008 (UTC)
-
- Due to undue weight, or some other reason? Someone should at least change (Required if no JapaneseTitle) to simply (Required) for the EnglishTitle row in the parameters table, or something to that effect. --Execvator (talk) 22:36, 11 February 2008 (UTC)
-
-
- I think its something related to the code. I'd personally rather see the template fixed so article length isn't bloated by unnecessary fields, but I'm not experienced enough in template code to even attempt such a fix. :P Collectonian (talk) 22:46, 11 February 2008 (UTC)
-
-
-
-
- What do you mean by bloated? —TangentCube, Dialogues 23:19, 11 February 2008 (UTC)
-
-
-
-
-
-
- Having the blank lines can add quite a bit of length to the page's code unnecessarily, making it seem larger than it is and making it slower to load, particularly for larger lists. Collectonian (talk) 15:49, 12 February 2008 (UTC)
-
-
-
-
-
-
-
-
- I still don't see this. Adding "|EnglishTitle=" is only 18 bytes of text, and the generated HTML doesn't have anything that's not defined in the template call. —TangentCube, Dialogues 21:05, 12 February 2008 (UTC)
-
-
-
-
- {{#ifeq:{{{EnglishTitle|{{{JapaneseTitle|{{{KanjiTitle|ʁ}}}}}}}}}|ʁ|0|1}} would work, I think, but since the workaround is simple, I don't think there's any rush. —TangentCube, Dialogues 23:19, 11 February 2008 (UTC)
Oops. This originally worked in an older version, but I think it was lost when this template was being "synced" with the main one. I didn't think to add the additional calculation to Template:Episode list because it would be unlikely to use AltTitle without Title. I'm about to request an edit to the template for the addition of the DirectedBy and WrittenBy parameters that were discussed at Template talk:Episode list, and will put this fix in with that. -- Ned Scott 00:09, 12 February 2008 (UTC)
- That's great, thanks --Execvator (talk) 13:28, 12 February 2008 (UTC)
[edit] Update
Please replace the entire contents of Template:Japanese episode list with this. See also Template talk:Episode list#Revamp. -- Ned Scott 03:23, 15 February 2008 (UTC)
- I believe the else part of #if:{{{JapaneseTitle}}} needs a check for EnglishTitle, or it will add RTitle twice if EnglishTitle is defined but JapaneseTitle is not. —TangentCube, Dialogues 06:04, 15 February 2008 (UTC)
I just noticed there's more padding at the top and bottom of the ShortSummary cell. Is this intentional? —TangentCube, Dialogues 06:01, 17 February 2008 (UTC)
- It wasn't intentional. At first I couldn't figure out why this was, but I saw that I added two extra line breaks. This would fix it. -- Ned Scott 07:07, 17 February 2008 (UTC)
Please replace the contents of Template:Japanese episode list with this. This is a minor fix for the extra padding, as noted above, and also adds {{Documentation}}. -- Ned Scott 07:07, 17 February 2008 (UTC)
- Also add <noinclude><table></noinclude> to the beginning and </table> to the end so that the {{Documentation}} div wraps around the doc correctly. —TangentCube, Dialogues 08:02, 17 February 2008 (UTC)
{{editprotected}}
-
- Added. Please replace the contents of Template:Japanese episode list with this. -- Ned Scott 08:43, 17 February 2008 (UTC)
[edit] Low-importance edits
There are a copule of low-priority changes that should be made the next time this template is edited. First, the two <noinclude/>
sections should be merged with each other, and second, the <table/>
tag should be removed from around {{documentation}} as it is unnecessary. —Dinoguy1000 15:22, 10 May 2008 (UTC)
- Actually, the <table> tags should be around the template code itself, but what's currently there works just as well to get the {{documentation}} template to work correctly. Compare these two versions from {{Graphic novel list}} to see what I mean: r188536446, r188968798, diff. —TangentCube, Dialogues 00:40, 11 May 2008 (UTC)
- I suggested having the two noinclude sections merged in the above section with this draft, but the editing admin went with two sections. *shrug* -- Ned Scott 20:49, 12 May 2008 (UTC)