User talk:Sand Devil

From GodWiki
Revision as of 14:34, 28 February 2019 by Sand Devil (talk | contribs) (Talk page signature)
Jump to: navigation, search

Hey, sorry to drop this here, but I left you a Talk page message a few days ago, not realizing (until now) that because your user page isn't in the User namespace, you wouldn't get a notification. So, this is to generate a banner notification that you have a message waiting, in case you missed it. (If you've already seen it, then my mistake, and my apologies for bugging you with this notice.) -- FeRDNYC (talk) 20:59, 26 January 2019 (UTC)

Thank you! I had not realized it.

Yeah, Djonni and I stumbled across that realization in the forums a few weeks ago, that because his user page wasn't in the User: space all of the notification templates I was leaving at Talk:Djonni were completely pointless as they didn't generate any actual notifications.
I'm not sure how recently the notifications feature was added to the Wiki (somewhat-recently, though not very recently), but it's definitely the one big argument for having at least a personal talk page in the User talk: space. Nothing wrong with keeping a non-User: userpage, and in fact even splitting them works fine (redirecting [[User:Username]] to [[Username]] and [[Talk:Username]] to [[User talk:Username]]), but not using User talk: definitely has its downside.
We should probably make an effort to raise awareness on that, more generally. There are a lot of other users who keep their personal space in the main namespace, and who probably don't realize they're not getting talk page notifications. -- FeRDNYC (talk) 00:00, 28 January 2019 (UTC)

Multi-column formatting

Hey, I noticed Bella Rebe in the recent changes list and was taking a look at it. One suggestion: If you want to make your life a lot easier in doing the multi-column formatting, instead of building it by hand with wikitables, use an HTML list wrapped in the {{div col}} template. That'll let you:

  • Just write one long list, instead of worrying about columns and rows
  • Specify the width of each column
  • Ignore all the wrapping and balancing, which it'll handle automatically
  • Have the list run vertically down each column, instead of across the rows — which tends to feel more natural

It'll also adjust the number of columns to the screen width, whereas tables just squish narrower. Which can look pretty bad.

As the note about List balancing in the {{div col}} documentation notes, unfortunately due to a CSS issue you can't do multi-column wikilists, but it works fine with HTML lists as long as they're styled margin-top:0.

Basically, taking a portion of your Levels section as an example, if the code were...

{{div col|colwidth=18em}}
<ul style="margin-top:0; list-style:none; margin-left:0;">
<li>''' 1)''' ''2018 January 18 ({{GE|1|18|2018}} g.e.)''</li>
<li>''' 2)'''</li>
<li>''' 3)'''</li>
<li>'''40)''' ''2018 July 31 ({{GE|7|31|2018}} g.e.)''</li>
<li>'''41)''' ''2018 August 11 ({{GE|8|11|2018}} g.e.)''</li>
<li>'''42)''' ''2018 August 27 ({{GE|8|27|2018}} g.e.)''</li>
<li>'''43)''' ''2018 September 03 ({{GE|9|03|2018}} g.e.)''</li>
<li>'''44)''' ''2018 September 15 ({{GE|9|15|2018}} g.e.)''</li>
<li>'''45)''' ''2018 September 27 ({{GE|9|27|2018}} g.e.)''</li>
<li>'''46)''' ''2018 October 07 ({{GE|10|07|2018}} g.e.)''</li>
<li>'''47)''' ''2018 October 19 ({{GE|10|19|2018}} g.e.)''</li>
</ul>
{{div col end}}

That would display as:

  •  1) 2018 January 18 (2810 g.e.)
  •  2)
  •  3)
  • 40) 2018 July 31 (3004 g.e.)
  • 41) 2018 August 11 (3015 g.e.)
  • 42) 2018 August 27 (3031 g.e.)
  • 43) 2018 September 03 (3038 g.e.)
  • 44) 2018 September 15 (3050 g.e.)
  • 45) 2018 September 27 (3062 g.e.)
  • 46) 2018 October 07 (3072 g.e.)
  • 47) 2018 October 19 (3084 g.e.)

(The list-style:none; disables the bullets that would normally be shown before each list item in an unordered list, and the margin-left: 0; removes the empty space where the bullet would normally go.)

The advantages to that are, as you add more items to the list it'll automaticaly rebalance itself accordingly:

  •  1) 2018 January 18 (2810 g.e.)
  •  2)
  •  3)
  • 40) 2018 July 31 (3004 g.e.)
  • 41) 2018 August 11 (3015 g.e.)
  • 42) 2018 August 27 (3031 g.e.)
  • 43) 2018 September 03 (3038 g.e.)
  • 44) 2018 September 15 (3050 g.e.)
  • 45) 2018 September 27 (3062 g.e.)
  • 46) 2018 October 07 (3072 g.e.)
  • 47) 2018 October 19 (3084 g.e.)
  • 48) 2018 October 31 (3096 g.e.)
  • 49) 2018 November 11 (3107 g.e.)
  • 50) 2018 November 23 (3119 g.e.)
  • 51) 2018 December 06 (3132 g.e.)

And, most importantly: As you make the screen (or browser window) wider/narrower, the number of columns will change to fit. So if we simulate the screen dimensions of a Galaxy S8 phone:

EXACT same code as above
  •  1) 2018 January 18 (2810 g.e.)
  •  2)
  •  3)
  • 40) 2018 July 31 (3004 g.e.)
  • 41) 2018 August 11 (3015 g.e.)
  • 42) 2018 August 27 (3031 g.e.)
  • 43) 2018 September 03 (3038 g.e.)
  • 44) 2018 September 15 (3050 g.e.)
  • 45) 2018 September 27 (3062 g.e.)
  • 46) 2018 October 07 (3072 g.e.)
  • 47) 2018 October 19 (3084 g.e.)
  • 48) 2018 October 31 (3096 g.e.)
  • 49) 2018 November 11 (3107 g.e.)
  • 50) 2018 November 23 (3119 g.e.)
  • 51) 2018 December 06 (3132 g.e.)
wikitable version
 1) 2018 January 18 (2810 g.e.)  2)  3)
40) 2018 July 31 (3004 g.e.) 41) 2018 August 11 (3015 g.e.) 42) 2018 August 27 (3031 g.e.)
43) 2018 September 03 (3038 g.e.) 44) 2018 September 15 (3050 g.e.) 45) 2018 September 27 (3062 g.e.)
46) 2018 October 07 (3072 g.e.) 47) 2018 October 19 (3084 g.e.) 48) 2018 October 31 (3096 g.e.)
49) 2018 November 11 (3107 g.e.) 50) 2018 November 23 (3119 g.e.) 51) 2018 December 06 (3132 g.e.)

-- FeRDNYC (talk) 23:34, 23 January 2019 (UTC)

Talk page signature

Hey, got your message on my talk page. The edits to Bella Rebe look great! Those sections are so much more readable on mobile. Wiki editing is really changing with the spread of mobile devices... tables still have their place (mostly for actual tabular data, things that need to be organized in rows and columns), but the days of using them for layout are quickly coming to an end. I'll probably end up redoing the infoboxes to not use tables at some point, because even those are causing problems with mobile-screen formatting.

Oh, and as another suggestion, based on your signature edit on my talk page: If you go to Special:Preferences with a desktop browser, the Signature preference lets you customize the way MediaWiki formats your signature on talk pages. The checkbox below it allows it to accept wikicode, even templates (which it'll automatically convert using {{subst:}} so they embed the results of any templates used).

By default the four-tilde (~~~~) signature places an automatic timestamp at the end (which is important when following talk-page discussions), and you can't configure the way that's formatted. But you can customize what comes before it, and work around the system timestamp. For example, if you filled in the "New signature" field with something like:

{{god|Sand Devil|temple = 9/17/2018 ({{Date ge|9|17|2018}}) 7:31|breeder=2/27/2019 ({{Date ge|2|27|2019}}) 8:50PM|plain = yes|extended = yes}}, ''({{ge}}{{Date ge}})''

Then you can sign posts in the standard way with -- ~~~~ and it'll come out like (for example):

-- Sand Devil (U • C • T) , (3478 g.e.) 22:15, 29 January 2019 (UTC)

-- FeRDNYC (talk) 22:22, 29 January 2019 (UTC)

On second thought this might be a bad idea, I forgot how verbose the expanded {{ge}} and {{date ge}} templates are. (As you can see in the wikisource for my previous post, since I used {{subst:}} to simulate the real output.) -- FeRDNYC (talk) 22:24, 29 January 2019 (UTC)