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:Title/file"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(only display colon on non-mainspace pages)
(attempt to remove space)
 
Line 1: Line 1:
<includeonly>{{DISPLAYTITLE:{{NAMESPACE}}{{#if:{{NAMESPACE}}|:}}{{#rreplace:{{lc:{{PAGENAME}}}}|\s|_}}}}</includeonly><noinclude>
+
<includeonly>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#rreplace:{{lc:{{PAGENAME}}}}|\s|_}}}}</includeonly><noinclude>
 
This template forces a page's title to appear as lowercase, with underscores instead of spaces.
 
This template forces a page's title to appear as lowercase, with underscores instead of spaces.
 
</noinclude>
 
</noinclude>

Latest revision as of 06:28, 13 February 2023

This template forces a page's title to appear as lowercase, with underscores instead of spaces.