Grim Dawn Wiki
Community Noticeboard

  • In case you need some help with editing pages, Wikipedia's "How to edit a page" article is a great source of information.
  • Gamepedia Help Wiki is another great resource for editing tips.
  • A list of things to do can be found here.
  • To practice editing, use a Sandbox.
  • Please sign your posts with "~~~~"


This is an example suggestion Realmain (talk) 18:42, 23 August 2016 (UTC)

This is an example reply Realmain (talk) 18:42, 23 August 2016 (UTC)
This is an example second reply Realmain (talk) 18:42, 23 August 2016 (UTC)

Mobile View

Dialogue template

Important: See styles note below.

I have created a template which I think could be useful in documenting conversations with NPCs. It's implemented using a module and tested somewhat extensively in my sandbox.

Styles note: This template generates code with CSS classes. It does not work properly without these styles being applied, and the styles are currently located in my common.css. If you wish to see the template for yourself as it is intended to look, copy the CSS to you personal common.css or a browser add-on (Stylus). This is how the template is supposed to look with the styles applied.

If a decision is made that this template is usable in articles, a wiki guardian will need to port the CSS to the wiki's Hydradark.css and probably its mobile CSS, given that I believe these styles work acceptably on mobile devices as well (visually at least, as far as I could test using Firefox Responsive Mode for a 300px wide screen.

--AttemptToCallNil (talk) 19:11, 24 June 2019 (UTC)

I think that looks quite nice — Game widow (talk) 20:28, 24 June 2019 (UTC)
It does look quite nice. If it is agreed to be implemented: for the Mobile CSS, it might be best to set the width of .dialogue-section to around 95% but not at 100%. At 45%, the content looks squished with empty space to the right. Surafbrov (talk) 21:31, 24 June 2019 (UTC)
Noted. This could indeed be a better solution than my min-width hack (which could also apply for visitors with mobile devices in desktop view). --AttemptToCallNil (talk) 21:37, 24 June 2019 (UTC)
I really like what you've done. This is exactly what I was looking for when I started adding dialogue to Master Varuuk and others. I'm so glad there's capable people like you who can do these amazing things for incompetent people like me to use. :P I like it because 1. it clearly shows who the NPC speaking is, and the name is not part of the dialogue itself, 2. the informational text like "this ends the conversation" is clearly not part of the dialogue, 3. it resembles the in-game look quite a bit, 4. it has the proper dialogue icons!, and 5. it's clearly visible which parts of the conversation belong to which sections. As an added note, the template doesn't seem too difficult to understand either. My only concern is the $continue text. Could you perhaps add an example of that in the image with styles applied? I don't know if it is the case already, but I'd suggest that the dialogue icon and "Continue"-text is added to that snippet. Sacropedia (talk) 13:39, 25 June 2019 (UTC)
This example code produces this result. The gradient on the left part of the second section is used to highlight the section the reader jumped to, in this case by clicking the "section 2" link in section 1. --AttemptToCallNil (talk) 14:27, 25 June 2019 (UTC)
Right, so would it be possible to change the "$continue" to generate Dialogue icon more.png Continue in addition to its current text? Sacropedia (talk) 15:06, 25 June 2019 (UTC)
I made it generate this inside the text, see here. I also made some changes to how icons work, and they required some reworking, which may affect how this template displays on narrow screens (e. g. mobile devices). --AttemptToCallNil (talk) 16:22, 25 June 2019 (UTC)
Yeah that $continue works! *thumbs up* Sacropedia (talk) 17:00, 25 June 2019 (UTC)
(reset indent) I don't know what the gamepedia procedure for this kind of stuff is, but is there an ETA on when this can be implemented and used? I'm very excited for this. :) Sacropedia (talk) 21:44, 30 June 2019 (UTC)
Mentioning Oudeis as the only active wiki guardian who I believe needs to approve this. There is no standard formal procedure, but the CSS needs to be implemented by a wiki guardian. --AttemptToCallNil (talk) 05:39, 1 July 2019 (UTC)
Nice work, the template looks great. I've added the CSS to the wiki's Hydradark.css and mobile CSS. Any issues please let me know! Oudeis (talk) 09:09, 3 July 2019 (UTC)
@Oudeis: There have been CSS updates since the initial post, the version that should have been merged is this one. --AttemptToCallNil (talk) 09:25, 3 July 2019 (UTC)
Noted and updated accordingly. Oudeis (talk) 09:50, 3 July 2019 (UTC)
Thank you. Judging by my sandbox, the styles now work. --AttemptToCallNil (talk) 10:00, 3 July 2019 (UTC)

I have moved the section template to the Template namespace (Template:Dialogue section) and added some dialogue for a specific NPC, Barnabas, into a subpage of the corresponding article, Barnabas/Dialogue. Any suggestions regarding the layout of dialogue pages? --AttemptToCallNil (talk) 08:56, 27 July 2019 (UTC)