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:Version"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(help!)
Line 9: Line 9:
  
 
I've been leaving out the space after the template to fix this, and putting it inside the punctuation work, too. Is there some way to fix the template or should we just work around it? --[[User:Turgid Bolk|Turgid Bolk]] 14:48, 5 November 2007 (EST)
 
I've been leaving out the space after the template to fix this, and putting it inside the punctuation work, too. Is there some way to fix the template or should we just work around it? --[[User:Turgid Bolk|Turgid Bolk]] 14:48, 5 November 2007 (EST)
 +
 +
: This has been fixed.  The problem was with [[Template:ver]] which had:
 +
<pre>
 +
<includeonly>{{version|{{{1}}}}}</includeonly>
 +
<noinclude>A shortcut for [[Template:Version]]
 +
...
 +
</pre>
 +
: The return between the <tt><nowiki></includeonly></nowiki></tt> and <tt><nowiki><noinclude></nowiki></tt> was then read in when the template was included.  The spaces after the template then started a preformating block. Removing the return so that it was <tt><nowiki>...</includeonly><noinclude></nowiki>...</tt> fixed it. --[[User:Shagie|Shagie]] 15:40, 5 November 2007 (EST)

Revision as of 20:40, 5 November 2007

Could we have this template place the page into Category:Pages with dated info or something similiar? It would make it easier to find all the articles that need updating, especially as we start getting more frequent updates. Maybe even a different category for each version, if that's possible. --Turgid Bolk 16:57, 2 November 2007 (EDT)

I've got the template including into the category. It would be possible to make a category for version too with [[Category:Version {{{1}}}]]. Still thinking over if this is the best way to do it. If it is, feel free to make the change. --Shagie 17:14, 2 November 2007 (EDT)

Breaks formatting

This template does weird things at the end of sentences, for instance, this should all be on one line:

Lorem ipsum dolor sit amet, consectetur adipisicing elit.v0.27.169.33a Also, sed do eiusmod tempor incididunt.

I've been leaving out the space after the template to fix this, and putting it inside the punctuation work, too. Is there some way to fix the template or should we just work around it? --Turgid Bolk 14:48, 5 November 2007 (EST)

This has been fixed. The problem was with Template:ver which had:
<includeonly>{{version|{{{1}}}}}</includeonly>
<noinclude>A shortcut for [[Template:Version]]
...
The return between the </includeonly> and <noinclude> was then read in when the template was included. The spaces after the template then started a preformating block. Removing the return so that it was ...</includeonly><noinclude>... fixed it. --Shagie 15:40, 5 November 2007 (EST)