v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template talk:Spoiler"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Created page with "== Apparent formatting issues== According to some conclusions after discussion I've had with User:Jan recently, the amount of white space generated by this one to be 'scro...")
 
(reply)
 
Line 1: Line 1:
 
== Apparent formatting issues==
 
== Apparent formatting issues==
 
According to some conclusions after discussion I've had with [[User:Jan]] recently, the amount of white space generated by this one to be 'scrolling down' for, is more than a little...much, TBH. (EX:[[Divine metal]]) It's not immediately obvious which of the pixel width params, or whatever else I should be changing to cut back on the whitespace?  EX: div class="df-major-spoiler" style="min-height:{{#if:{{{nospace|}}}|50px|800px}" [[User:Silverwing235|Silverwing235]] ([[User talk:Silverwing235|talk]]) 19:47, 29 January 2022 (UTC)
 
According to some conclusions after discussion I've had with [[User:Jan]] recently, the amount of white space generated by this one to be 'scrolling down' for, is more than a little...much, TBH. (EX:[[Divine metal]]) It's not immediately obvious which of the pixel width params, or whatever else I should be changing to cut back on the whitespace?  EX: div class="df-major-spoiler" style="min-height:{{#if:{{{nospace|}}}|50px|800px}" [[User:Silverwing235|Silverwing235]] ([[User talk:Silverwing235|talk]]) 19:47, 29 January 2022 (UTC)
 +
 +
: This will do the trick: <code><nowiki>style="min-height:{{#if:{{{nospace<includeonly>|</includeonly>}}}|50px|</nowiki></code>'''800px'''<code><nowiki>}}"></nowiki></code> --[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 20:26, 29 January 2022 (UTC)

Latest revision as of 20:26, 29 January 2022

Apparent formatting issues[edit]

According to some conclusions after discussion I've had with User:Jan recently, the amount of white space generated by this one to be 'scrolling down' for, is more than a little...much, TBH. (EX:Divine metal) It's not immediately obvious which of the pixel width params, or whatever else I should be changing to cut back on the whitespace? EX: div class="df-major-spoiler" style="min-height:{{#if:|50px|800px}" Silverwing235 (talk) 19:47, 29 January 2022 (UTC)

This will do the trick: style="min-height:{{#if:{{{nospace<includeonly>|</includeonly>}}}|50px|800px}}"> --Jan (talk) 20:26, 29 January 2022 (UTC)