Forgotten Realms Wiki
Forgotten Realms Wiki
No edit summary
(Last chance for feedback on new tabbed Deity template)
Line 146: Line 146:
 
|[[User:Terrorblades| Terrorblades ]]'s Far Realm logs dated 14:23, October 17, 2014 (UTC)
 
|[[User:Terrorblades| Terrorblades ]]'s Far Realm logs dated 14:23, October 17, 2014 (UTC)
 
}}
 
}}
  +
  +
  +
{{forum post
  +
|Meanwhile, back on the original focus of this forum thread, the new Deity template is about ready for testing. You can see it in action [[User:Moviesign/Sandbox3.1|here]], both with tabs and without. Note how the text re-flows when the infobox changes length (it should no longer change width). Unfortunately, I think Internet Explorer 8 does not handle this well, I viewed it with that browser and it looked broken to me, but it looks fine in IE 11. If you view it with the mobile skin (append <code>?useskin&#61;wikiamobile</code> to the end of the URL) then it still looks terrible, but the section headings are there to separate the edition-specific info. Viewing in Monobook (<code>?useskin&#61;monobook</code>) seems fine, but I defer to BadCatMan who has more experience with Monobook. Please try it out and let me know of any problems or suggestions. The data in those infoboxes is dummy data not guaranteed to be correct.
  +
  +
Just for fun, you can see how the infobox appears for 6 randomly selected deities by clicking [[User:Moviesign/Deity test|here]]. Click the "Re-roll" link to generate a new set of 6. Just ignore the references, and you will probably have to scroll down to see them all because putting multiple infoboxes on a page is just weird.
  +
|&mdash;[[User:Moviesign|Moviesign]] ([[User talk:Moviesign|talk]]) 14:55, October 17, 2014 (UTC)}}

Revision as of 14:55, 17 October 2014

Forums: Helping Hand > Possible change to infoboxes

Use the following template for a nicely presented post:

{{Forum post|Write your message here!|~~~~}}

Okay, after wrestling with the tabber function, I finally got something working that looks halfway decent. Take a look at User:Moviesign/Sandbox3 and tell me what you think. There are a number of issues with this solution that we might want to consider before anyone goes and changes anything.
  • I think it was mentioned somewhere that the tabber thing doesn't work on mobile devices. I have no idea what this looks like viewed on a phone.
  • The infobox changes size dynamically when tabs contain different amounts of content. This may cause the text of an article to re-flow around the box (at least I hope it does, rather then overlap) which could lead to some ugly situations on any given page.
  • Putting an infobox inside an infobox makes the text very small. The CSS will probably have to be adjusted so the text isn't so tiny. Oh, and to remove the extra border.
  • We may have to make the infobox wider to accommodate the extra padding (which results in lost width) that the tabber puts in.
  • It makes a messy template even messier, but damn if that isn't cool.

What do you think, sirs?

Moviesign (talk) 19:59, October 11, 2014 (UTC)


That... is very cool. i really like that!
Terrorblades 's Far Realm logs dated 20:24, October 11, 2014 (UTC)


Great Maker!!! Movie, I think you just solved Niirfa's problem... that looks fricken cool!!!
- Darkwynters (talk) 20:47, October 11, 2014 (UTC)


Yeah, I agree, that's much better. Well done and better than I'd managed to do with my own tweaking. I'm fine with this layout, as it's very tidy and easy to read.
Niirfa-sa (talk) 00:39, October 12, 2014 (UTC)


Movie, if you have the code that makes Wikia give you extra tabs to switch between Oasis and Monobook skins, then the Mobile skin should also be available.

Right, now it looks fine in the Oasis skin: the infobox width remains fixed; the length changes, but the text readjusts. In Monobook, however, the width changes and the Basic Information box spills out of the tabber box.

It doesn't work at all in Mobile: no tabs, every edition is shown, 5e, 4e, 3e, 2e, 1e, all at once with a lot of different rows. They're not even labelled by edition.

Does it really need the extra infobox inside? Are the raw tables of before a problem?

I'd rather the infobox wasn't made wider, as the article space is already quite narrow in the Oasis skin, and that would affect the layout of some pages.

— BadCatMan (talk) 04:05, October 12, 2014 (UTC)


I have never seen tabs that let you switch between monobook and oasis. Where did you see it? The monobook.css file was deleted by Wikia back in 2007. Can we restore it? I have no idea what would happen if we do. Is there a monobook fan club that has taken up the torch and supports it or some equivalent?

Okay, we need to make a decision before I put the effort into adding tabs to our infoboxes. Assuming that it will not work on mobile devices or in monobook for the foreseeable future, should we make this change? I can mitigate the problem for mobile devices by adding a section header for each edition so that the content will at least be divided up for them and look pretty much like the infoboxes look now. Everybody will see the dividers regardless of their viewing platform, unless the CSS has a way to make the distinction between mobile and non-mobile.

Moviesign (talk) 00:00, October 14, 2014 (UTC)


I vote for going for it. While there's a few areas that could use improvement, I definitely like it more than the previous method of sorting out edition changes. It'd be nice if we could improve the templates to make them easier to read for mobile users, but the current set-up isn't really better for them anyway (indeed, it's arguably clunkier looking at Ilmater's page, where only a portion of the 1st edition stats are shown by default without a prompt).
Niirfa-sa (talk) 00:50, October 14, 2014 (UTC)


Hmmm, I had another thought... do the Tabs have a default setting... for example, when a reader looks at the black pudding page (What in the Abyss has happened to the infobox!), will they see the 5e tab first... but what if there is no 5e content... will I see 4e info then? Personally, the tabs are cool, but I think the infoboxes are fine the way they are... every time we mess with these, we have to go back and fix them again... and again... and again... and what happened to the black pudding page!!! hehe... P.S. I think the Ilmater page looks radical, BTW.
Darkwynters (talk) 01:37, October 14, 2014 (UTC)


The first tab defined is the default, so don't put in a 5e tab unless you have 5e info to display, same for 4e etc. I've been messing with the Creature template, so you may have to clear your cache (or do a purge on the page) to see it correctly. If there are other issues, let me know. User:Niirfa-sa has been updating them, I just simplified the code and eliminated all the redundant templates. I vigorously applied a greatsword to them, so if I cut out something that you liked, tell me.
Moviesign (talk) 03:15, October 14, 2014 (UTC)


I know a secret trick other people don't! Awesome! Okay, have look at the Doctor Who wiki, at Forum:Easy switching between monobook, wikia and wikiamobile. You get a button you can click to change the skin of a page. It won't stay set though, you have to change it every time you go to a new page. It makes it easier to access features that only appear in the Oasis skin, though they tend not to work if you switch to Monobook. And vice versa.

I wish Wikia was still maintaining Monobook. It's vastly cleaner, faster, and easier to use than Oasis, and it's my default. But Oasis is the default for everybody who comes to the wiki, and I imagine most members use it now anyway. For that reason, I'd say go ahead. We should use our best features to greet the most users, and that's Oasis.

Infoboxes in Monobook have been bent for a long time: alignment grids are stretched and tables are all spaced out. It's probably a problem specific to Monobook, and I've gotten used to it being funky. Monobook is the probably the domain of stubborn old editors like me, and will probably be removed one day. The Mobile skin, meanwhile, always looks like crap; putting edition headings is sufficient to solve that problem.

We probably should default to the latest edition tab, where there is information present for it.

— BadCatMan (talk) 03:31, October 14, 2014 (UTC)


Cool... then let's fix the infoboxes and begin editing!!!
- Darkwynters (talk) 04:17, October 14, 2014 (UTC)


Sorry Wynters, did the image ruin the page :(? Should I remove it? So... erm... how do I apply the tabs? Is there any where that I can read about the code? Sorry if this seams like a stupid question :S!
Terrorblades 's Far Realm logs dated 12:17, October 14, 2014 (UTC)


No, Blades, I do not think your image messed up the page... I think both Admin Movie and Niirfa have been tinkering with the infoboxes... Though, I agree with Blades... just show me the new format and I will copy and paste to my hearts content :)
- Darkwynters (talk) 20:47, October 14, 2014 (UTC)


Hey folks, especially BadCatMan, I may have fixed the problems with monobook. Please clear your cache and view User:Moviesign/Sandbox3 again (or do a Shift-reload of the page) and tell me if you see any problems. I think this is enough to warrant moving to tabs in our edition-partition infoboxes. (Assuming I can get it to work.)
Moviesign (talk) 02:10, October 15, 2014 (UTC)


Since it looks like we're really close to changing all the infoboxes over to Moviesign's model I've been holding off updating the infoboxes for the last day or so. I don't want to accidentally mess up anything he's working on, even though I know he's using sandboxes to do the editing. Once we've transferred over I'll continue with my tinkering, which is mostly a matter of aesthetic consistency and making everything look a little bit fancier/stylish (in line with how the creature infoboxes look ATM).
Niirfa-sa (talk) 05:35, October 15, 2014 (UTC)


I'm done with the {{Creature}} boxes for now, if you want to keep working on them. I'm going to try converting the Deity template first, since I think it will be the hardest, so the other templates are fair game for now. What else are you going to change? Are you going to add edition-specific parameters? Is there a method to your color scheme, or are you just picking colors from a palette? Colored text on a tinted background is harder to read, so please keep it contrasty.
Moviesign (talk) 18:06, October 15, 2014 (UTC)
Mostly everything's going to stick to dark brown and tan, which is what the default 4ed box template created by Fw190a8 way back in 2009 uses. The idea behind the box was to use a template that looks kind of like the sidebars in 4th edition rulebooks, which Fw190a8 thought looked kind of neat and was worth copying. The color coding is specifically for planar subjects, to represent the Outer Planes (astral dominions in 4e), the Inner Planes (elemental realms in 4e), Feywild, the Far Realm, and Shadowfell, although Fw190a8 actually didn't make a dark gray palette for the last one (I just took a look at the usual contrast schemes and made my own guess as to what it would look like).

I'm not planning to add any more color palettes and I think the ones I've worked out at the moment are pretty contrasty (I've actually increased the contrast between the text and the background color to some degree). But if it's still too hard to read I'll look into altering them further.

Other than stylistic stuff, I'm also planning to differentiate the planar creature templates a little bit more in the future, adding a few inputs that are relevant only to creatures from a certain kind of plane or possibly removing some which aren't relevant. I haven't gotten around to that yet though, as my main priority ATM has been adding new material from the 5th edition Player's Handbook.
Niirfa-sa (talk) 19:49, October 15, 2014 (UTC)


Per Moviesign's suggestion I'm bringing forward a minor infobox format decision, which is whether to align infobox cells to the right or to the left. Infoboxes as a whole, like most of our templates, default to the right, but there's an apparent divide within the two kinds of infoboxes we currently have right now (this kind and this kind), where one style aligns cells to the right and one aligns them to the left.

The conflict is at its most obvious when using the alignment grid, which when placed inside an infobox doesn't follow either guideline by default but instead it's own internal direct to float left or right. I tried disabling the float directive so that it would instead go where the rest of the text does but it doesn't work that way - without a float directive it floats naturally to the left, which makes it out of place in right-aligned templates.

Basically, what it comes down to is do we want infobox cells to be aligned toward the right or the left?
Niirfa-sa (talk) 06:01, October 16, 2014 (UTC)


I'm used to seeing them on the right, so I'd prefer it stayed that way. My 2 copper;
Moviesign (talk) 19:59, October 16, 2014 (UTC)


I agree with Movie.
- Darkwynters (talk) 00:19, October 17, 2014 (UTC)


It sounds like we'll probably go with right alignment but before I throw in the towel I'll give a few reasons why I prefer left:
  1. It requires less coding. Unless told otherwise, infobox cells default to left alignment because that's the way that text normally aligns on English-language websites. As a result, right alignment is something that must be explicitly coded, whereas left alignment is inferred.
  2. I think it looks neater. With right alignment, there's a large amount of white space in the middle and there's also a tendency for long lines of text like lists to look a bit weird, because the text moves away from the right rather than from the left as is typical in English.
  3. Nearly all other wikis use left-alignment (including several of our sister wikis like the Baldur's Gate Wiki or the Eberron Wiki). As a general rule I look to other wikis as a model for aesthetics and styling.
What's most important of course, is just that we have a unified model so although I do prefer left alignment, I'll work with right if that's what most people want.
Niirfa-sa (talk) 00:50, October 17, 2014 (UTC)


The first point is easy to answer. If we do it right, the switch between right and left is just a matter of changing one word in the CSS file. So either way, it's just as much code. The other two points are more about personal preferences and sense of esthetic (and individuality, I suppose), so everyone who cares should speak up.
Moviesign (talk) 01:35, October 17, 2014 (UTC)


Huh...I never noticed that before. I always wondered why our infoboxes tended to be abit crumpled, does anyone know why we have been putting things on the right like that? If it is a simple fix then I suggest we go for left alignment.
--Eli the Tanner (talk) 01:42, October 17, 2014 (UTC)


I honestly have no idea why we favored one way over the other to begin with or how the conflict arose in the first place (I made the first alterations toward what is currently the Creature/Location template way back in 2010 and I just don't recall what my exact reason was). But like Moviesign said it is relatively easy to change: all we'd need to do is either tell the infobox cell to align toward the right or leave it blank (which would align it to the left). All that needs to be figured out is basically which we prefer.
Niirfa-sa (talk) 05:14, October 17, 2014 (UTC)


I didn't dig into the history of our templates, but of all the infobox templates, {{Author}}, {{Book}}, {{Building}}, {{Computer game}}, {{Conflict}}, {{Deity}}, {{Dragon magazine}}, {{Dungeon magazine}}, {{Item}}, {{Location/state}}, {{Organization}}, {{Plane}}, {{Planet}}, {{Ritual}}, and {{Spell}} (and all sub-templates) all use right-justification, whereas {{Class infobox}}, {{Creature}} (and all sub-templates), {{Information}}, {{Location}}, and {{Person}} are left-justified (mostly due to recent changes by Niirfa-sa).

I kinda like that our wiki is different from other wikis, and I believe we can create our own style (note the relatively recent addition of the map background image, the {{On this day}}, {{Featured image}}, and {{DidYouKnow}} features on the front page, for example), but we don't need to be quirky just for quirkiness's sake. I will fix whatever templates need fixing once we come to a decision, but I'd like to hear from more people first. I'm sure BadCat will chime in when he's awake, but Hash? User:Daranios? User:Terrorblades? User:LadySilverhair? anyone?...Bueller?...Bueller?...

Moviesign (talk) 13:42, October 17, 2014 (UTC)


Well erm I'f I'm to chime in I guess that the right oriented one is more for short measures of information whereas the left leaning seams more like they have a box to fill rather then a long line that can if unchecked can become this of course the conflict template seams to have that type of issue. But I actually don't really want them to be "uniform" I like that there different, feels like they fit for there type.

The creature template looks like it fit the creatures info without making it to big and the spell template looks to me to fit nicely with the less words making it more direct.

Other then that yes having out own style is very important, its the different features that makes other wiki's get an eye for you... Just like when we talk about new features we usually mention other wikis and show there pages as examples of what we think would be cool/informative. My two coppers. :)

Terrorblades 's Far Realm logs dated 14:23, October 17, 2014 (UTC)


Meanwhile, back on the original focus of this forum thread, the new Deity template is about ready for testing. You can see it in action here, both with tabs and without. Note how the text re-flows when the infobox changes length (it should no longer change width). Unfortunately, I think Internet Explorer 8 does not handle this well, I viewed it with that browser and it looked broken to me, but it looks fine in IE 11. If you view it with the mobile skin (append ?useskin=wikiamobile to the end of the URL) then it still looks terrible, but the section headings are there to separate the edition-specific info. Viewing in Monobook (?useskin=monobook) seems fine, but I defer to BadCatMan who has more experience with Monobook. Please try it out and let me know of any problems or suggestions. The data in those infoboxes is dummy data not guaranteed to be correct.

Just for fun, you can see how the infobox appears for 6 randomly selected deities by clicking here. Click the "Re-roll" link to generate a new set of 6. Just ignore the references, and you will probably have to scroll down to see them all because putting multiple infoboxes on a page is just weird.

Moviesign (talk) 14:55, October 17, 2014 (UTC)