The Sims Wiki talk:Development Portal: Difference between revisions

Jump to navigation Jump to search
imported>Nikel23
imported>Mira Laime
Line 453:
 
::It's all I can say at the moment. Maybe I spent too much time with it and need to freshen up for now... and figure out a workaround later. Who knows? Also, I value your opinion, LiR. I just wanted to make an impression of how the infobox might look like in TSW. If the majority dislikes the infobox after all, we can discard the idea before we make further progress. [[User:Nikel23|'''<span style="color:#007FFF; text-shadow: #ACE5EE 0 4px 4px;">Nikel</span>''']] [[User talk:Nikel23|<span style="color: #30D5C8 ; text-shadow: #00FFEF 0 4px 4px;"><sub>''Talk''</sub></span>]] <sub>–</sub> [[The Sims Wiki:Featured Media/Voting|<span style="color:red ; text-shadow:#E97451 0 4px 4px;"><sub>''Vote!''</sub></span>]] 14:50, July 30, 2015 (UTC)
 
:::Thanks for all the effort you've already put into the conversion! Maybe I can at least clear some things up as far as the infobox's look goes: Once converted, the new infoboxes should look pretty much the same on desktop as they did before the conversion. Before, CSS and other styling info was included in the template to make the infoboxes look the way they did on desktop. Unfortunately, the tool can't convert and move the CSS for you, that has to be done manually. Otherwise, yes, the new infobox will look very plain on desktop.
 
:::All the CSS information is ignored on mobile, where only the content of the infobox is displayed. The downside of the old infoboxes with their in-template CSS was that sometimes, content was accidentally misinterpreted as styling info - and left out, or garbled into a mess. The new infoboxes shouldn't contain any styling information. Instead, once you've used the conversion tool, any CSS should be added to [[Special:CSS]]. You can tweak this so that the new infobox looks just the same as the old on desktop. Your desktop visitors will hardly see the difference, and definitely not have a worse experience than before!
 
:::But when looked at from a mobile, the new, clean infobox markup should deliver a complete, easy-to-read infobox on every device. Just as before, styling information will still be ignored, but content won't be missed anymore.
 
:::As for having different themes on the same infobox, depending on what kind of article it's on: I know that other communities had that same problem and some have found a way to make it work. Usually with the <nowiki><infobox theme-source="theme"></nowiki> that you already mentioned, and with theme definitions ins CSS in [[Special:CSS]]. I'm not sure why this shouldn't work in your case, but then I don't know your infoboxes and different themes as well as you do. But maybe you'll find some more good ideas if you look around at what others have done? [[User:Mira_Laime|Mira_Laime]] <staff /> <small>([[w:c:community:Special:Forum|help forum]] | [[w:c:community:Blog:Wikia_Staff_Blog |blog]])</small> 18:07, August 4, 2015 (UTC)
 
==Modular main page templates==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu