StrategyWiki:Staff lounge/2016/February: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
m
Bot: Archiving 1 thread from StrategyWiki:Staff lounge.
m (fix months)
m (Bot: Archiving 1 thread from StrategyWiki:Staff lounge.)
 
Line 10: Line 10:
I am logged into SW using the Dolphin skin, and noticed that the [[Special:Notifications]] link box appears twice, one right next to the other. Both appear to function equally well. Is there any reason for this? Thanks! [[User:Wjk|Wjk]] ([[User talk:Wjk|talk]]) 22:56, 9 February 2016 (UTC)
I am logged into SW using the Dolphin skin, and noticed that the [[Special:Notifications]] link box appears twice, one right next to the other. Both appear to function equally well. Is there any reason for this? Thanks! [[User:Wjk|Wjk]] ([[User talk:Wjk|talk]]) 22:56, 9 February 2016 (UTC)
:New feature of 1.26! One is messages, one is alerts.  -- [[User:Prod|Prod]] ([[User talk:Prod|talk]]) 01:27, 10 February 2016 (UTC)
:New feature of 1.26! One is messages, one is alerts.  -- [[User:Prod|Prod]] ([[User talk:Prod|talk]]) 01:27, 10 February 2016 (UTC)
== Series templates format ==
Currently, the series templates commonly have lists of games all on one line, separated by only {{t|Dot}} templates. This makes the code hard to read and work with, and it's not very semantic. It should be possible to have the game lists formatted as bullet lists in the code, so it'll be easier to read and type, and use CSS to make it still be displayed the same way. [[User:Wanderer|Wanderer]] ([[User talk:Wanderer|talk]]) 19:18, 19 February 2016 (UTC)
:I agree that your proposal would be preferable, but how can CSS be used to do that?  '''[[User:Procyon|<span style="color:red">Pro</span>]][[User talk:Procyon|<span style="color:grey">cyon</span>]]''' 20:42, 19 February 2016 (UTC)
::The template could wrap the game list in a DIV element with a class name, let's say, "series-game-list" or something, and the CSS could have something like:
div.series-game-list ul, div.series-game-list ul > li {
  display: inline;
}
div.series-game-list ul > li:before {
  content: "\00B7\0020";
}
div.series-game-list ul > li:first-child:before {
  content: "";
  display: none;
}
::This will display the list as a line of text, and render the dots as pseudo-elements before all but the first list item.[[User:Wanderer|Wanderer]] ([[User talk:Wanderer|talk]]) 21:47, 19 February 2016 (UTC)
:::The idea sounds pretty good to me too, can you set up a demo template?  We can then look into using a bot to make the change. -- [[User:Prod|Prod]] ([[User talk:Prod|talk]]) 21:56, 19 February 2016 (UTC)
::::I set up a demo [[User:Wanderer/Series Nav demo|here]], but I can't edit the style sheet. [[User:Wanderer|Wanderer]] ([[User talk:Wanderer|talk]]) 00:29, 20 February 2016 (UTC)
:I've updated common.css.  You should be able to see the changes if you purge your cache. -- [[User:Prod|Prod]] ([[User talk:Prod|talk]]) 01:35, 20 February 2016 (UTC)
::Wow, that looks pretty cool.  Nice job.  '''[[User:Procyon|<span style="color:red">Pro</span>]][[User talk:Procyon|<span style="color:grey">cyon</span>]]''' 01:47, 20 February 2016 (UTC)
:::Fyi, you guys are all great and appreciated. --[[User:Zaiqukaj|Zaiqukaj]] ([[User talk:Zaiqukaj|talk]]) 05:43, 20 February 2016 (UTC)
::I think we need to clean up a bit of the styling still, but it is a cleaner solution. -- [[User:Prod|Prod]] ([[User talk:Prod|talk]]) 22:31, 27 February 2016 (UTC)
:::I just added a few more examples with different formats on the demo page. [[User:Wanderer|Wanderer]] ([[User talk:Wanderer|talk]]) 23:58, 28 February 2016 (UTC)
::::I don't think it's possible to switch to lists like this without changing how they look.  It seems impossible to have an optional first "heading" in the list format. The option where you've included it with the first entry seems less intuitive than just using the {{t|dot}}. -- [[User:Prod|Prod]] ([[User talk:Prod|talk]])
:::::Trying to keep the headings on the same line does seem to be proving problematic. [[User:Wanderer|Wanderer]] ([[User talk:Wanderer|talk]]) 05:20, 29 February 2016 (UTC)