Memory Alpha
Memory Alpha
m (rep)
m (moving to layout)
Line 1: Line 1:
{{Ten Forward Thread Nav}}
+
{{Ten Forward Thread Nav|Layout}}
 
<!-- <nowiki>Please always sign your post with "-- ~~~~". See "[[Help:Talk page]]". Please do not overwrite any of this text, and write your comment below. </nowiki> -->
 
<!-- <nowiki>Please always sign your post with "-- ~~~~". See "[[Help:Talk page]]". Please do not overwrite any of this text, and write your comment below. </nowiki> -->
   

Revision as of 20:55, 6 December 2010

Forums ForumsTen Forward → Issue with bg template (replywatch)

I don't really have an idea if this is the right place for this, (feel free to move it), but alas... I seem to have found a problem with the template thingy responsible for the formating of bg notes. (you're goint to have to click edit to see this I suppose)

  • Two consecutive background notes are generally formated as such :
note1
note2

that works for up to three notes:

note1
note2
note3

But if you add a fourth note using the same method, it doesn't work.

Error: the bginfo template only supports three individual notes. Please use a Background section instead.

I know that that's not exactly something that happens a lot, but of course I found this problem trying to do exactly that :D -- Capricorn 11:20, December 1, 2010 (UTC)

I'm unsure as to the context of your bg notes(so there may be a valid reason to have that many) but I think that if there is enough information to have that many consecutive bg notes, that there should be a seperate Background section, and the inarticle bg note should direct the user to that section.--31dot 11:22, December 1, 2010 (UTC)

That's actually a really good point. Can't believe I didn't consider that. -- Capricorn 11:25, December 1, 2010 (UTC)

That was definitely the intent when the {{bginfo}} template was designed. If there are more than 3 short lines, it should be in a full BG section. -- sulfur 11:26, December 1, 2010 (UTC)
I added an error message to the template that will display if 4 or more notes are passed. That should help a bit. -- Renegade54 17:51, December 1, 2010 (UTC)

It's pretty cool that you can do that. But it kind of got me thinking, I've seen a number of times how less experienced users were stumped that the template got broken because they included an "=" (typically as part of an url) - I don't suppose it would be possible, and useful, to put in a troubleshooting message if that happens? -- Capricorn 11:11, December 2, 2010 (UTC)

The problem with the '=' sign is that it's part of the template language. Making it hard to autodetect. -- sulfur 11:24, December 2, 2010 (UTC)