GodWiki:Projects/collapsible diary

From GodWiki
Jump to navigation Jump to search

This is a modification to the current {{Diary}} template to make it collapsible. The current method of making it collapsible is to add a collapsible div inside the contents of the template, making it collapse in an incomplete and clunky way. This is purely an aesthetic concern and the current template is not broken and doesn't need to be fixed.

To-do

  • Integrate the collapsible to the diary box. Tick.png Done
  • Experiment on different ways to present the collapse/expand toggle. Tick.png Done
  • Implement changes to the {{Diary}} template. Cross.png Not done

Issues/Limitations

There is currently a bug in nested collapsibles. As such using this template for that purpose is highly discouraged.

Progress

!Hero's Diary
Let's try to make this collapsible. No, not this one. This is the default using the template. Try the one below.

Current diary entry with collapsible content:

!Introduction to the Godwiki


Welcome to the source of all Godville information.

Anybody can edit any article here, especially you!

Don't know where to get started? The Godwiki Guidebook will help you get oriented, and then you can take a look at the Creators Manual and various Guidelines for advice on creating great GodWiki content.

Why not write a short article on a particular Monster, Artifact, Skill, Tavern, Quest or piece of Equipment that's caught your eye?

You can ask for help if you'd like an assist with something you're working on — whether it's to check your spelling and grammar, or something technical about GodWiki features.

The frontpage — this one you're reading — has a Discussion page that's a good place to look for wiki-wide announcements and notes of interest to Godwiki editors. It's also where you can ask general questions that don't pertain to any specific article. (For those, use the article's own Discussion page.)

For Godville game-related questions, the forums are usually better.

Thank you for all your contributions!

My collapsible diary entry:

!Hero's Diary

Welcome to the source of all Godville information.

Anybody can edit any article here, especially you!

Don't know where to get started? The Godwiki Guidebook will help you get oriented, and then you can take a look at the Creators Manual and various Guidelines for advice on creating great GodWiki content.

Why not write a short article on a particular Monster, Artifact, Skill, Tavern, Quest or piece of Equipment that's caught your eye?

You can ask for help if you'd like an assist with something you're working on — whether it's to check your spelling and grammar, or something technical about GodWiki features.

The frontpage — this one you're reading — has a Discussion page that's a good place to look for wiki-wide announcements and notes of interest to Godwiki editors. It's also where you can ask general questions that don't pertain to any specific article. (For those, use the article's own Discussion page.)

For Godville game-related questions, the forums are usually better.

Thank you for all your contributions!

Arrow options:

!Hero's Diary
Text
!Hero's Diary
Text

Two arrows variation:

 !Hero's Diary
Text
Hero's Diary
Text
Hero's Diary
Text

Text instead of symbol:

!Hero's Diary↻ [hide]
Text
!Hero's Diary↻ [collapse]
Text

Removed other symbols:

Hero's Diary
Text
Hero's Diary
Text

Hidden toggle:

!Hero's Diary 
Text
Hero's Diary 
Text

Contributors

Copy-paste * ~~~ below to add name to the list