User talk:Sand Devil

From GodWiki
Jump to: navigation, search

Welcome to my madness!

  • Be polite
  • Assume good faith
  • No personal attacks
  • Do not bite the newcomers
  • Respond in a mature manner
  • Be welcoming
  • Maintain civility at all times

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) , (3502 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)

Birthdate and age in GE :)

Hey, I just noticed your birthday field in the infobox! That's a pretty cool idea :) If you wanted, you could also add another line showing your age in days, which would update itself automatically every few hours:

|customlabel6 = Age:
|customdata6 = {{#expr: {{GE|{{CURRENTMONTH1}}|{{CURRENTDAY}}|{{CURRENTYEAR}}}} - {{GE|1|18|2018}}}} days

You'd see:

Deities of Godville
Sand Devil 
Age: 692 days

Just a thought! 😊 -- Djonni (talk) 14:49, 21 November 2019 (UTC)

OH! That is cool! I can use that in all sorts of places!! Thanks for the information! --Sand Devil (talk) 18:57, 21 November 2019 (UTC)
So, I just made Template:Diarybar, which would let you do this:
Deities of Godville
Sand Devil 
⚜️Guild 
Legion of the Dead
Guild position Lord Commander
Guild rank Centurion
Guild Entrance Date 2018 June 16 (2959 g.e.)
Guild age 543 days
Next rank Prophet
{{User:Djonni/Template sandbox|nocat = true
|guildstyle=color: lightgray 
|guildheadercolor = #1B292E
|guilddatacolor = #83352B
|guildbordercolor = #50302D
|guild = Legion of the Dead
|position = Lord Commander
|rank = Centurion
|guildcustomlabel1 = Guild Entrance Date
|guildcustomdata1 = 2018 June 16 ({{Date ge|6|16|2018}})
|guildcustomlabel2 = Guild age
|guildcustomdata2 = {{#expr: {{GE|{{CURRENTMONTH1}}|{{CURRENTDAY}}|{{CURRENTYEAR}}}} - {{GE|6|16|2018}}}} days

|guildcustomlabel3 = Next rank
|guildcustomdata3 = Prophet
|guildcustomdata4 = {{diarybar|style=quest|title=prophet rank progress|width=100%|status={{#expr: 100 * (150 - ({{GE|2|6|2020}} - {{GE|{{CURRENTMONTH1}}|{{CURRENTDAY}}|{{CURRENTYEAR}}}})) / 150}}}}
}}
Yep, that's a quest progress bar towards your next guild rank that will automatically update itself every day towards 100%.
The magic, obviously, is this bit: {{#expr: 100 * (150 - ({{GE|2|6|2020}} - {{GE|{{CURRENTMONTH1}}|{{CURRENTDAY}}|{{CURRENTYEAR}}}})) / 150}}. 150 is the days between ranks (note that that's in two places). ({{GE|2|6|2020}} is the day you'll rank up. The progress bar will fill up until it hits 100% on the day you hit Prophet.
Just thought you might enjoy that little bit of fanciness! Oh, by the way, the |style=quest can be |style=sidejob if you like, or several other named styles. You'll find them all at {{Diarybar}}!
Oh, and by the way, congratulations on being 62% of the way to your next guild rank! -- Djonni (talk) 21:59, 27 November 2019 (UTC)
Last thing worth mentioning, as you have a heavily coloured guild section: you can actually just give the Diarybar a |color= value instead of using |style=quest, to make it better themed to your infobox colour scheme. (Actually it also takes |background-color= too if you don't want a white background.) -- Djonni (talk) 22:28, 27 November 2019 (UTC)
Regarding |status ={{#expr: 150/5}}... great work! I've made {{Diarybar}} a little cleverer, it actually does math for you now, and it will treat treat fractions correctly (i.e., it will multiply it by 100 and add the %). For exactly this kind of use case: you can actually now just set |status=15/50, and you'll get the status bar that makes sense:
Makes this kind of usage much easier! -- Djonni (talk) 15:22, 29 November 2019 (UTC)

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜Another another thing! {{Diarybar|background-color=transparent}} should work too, saves you having to manually specify the same background colour for the diarybar every time you use it in an area with colour. -- Djonni (talk) 16:27, 29 November 2019 (UTC)


Nuvola apps edu languages.png
Hello, Sand Devil. You have new messages at User_talk:Djonni/Template_sandbox.
Message added Djonni (talk) 22:42, 6 December 2019 (UTC). You can remove this notice at any time by removing the {{Talkback}} template.