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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(make groupless child lists not centered)
(moved navbar code to Template:Nav header)
Line 9: Line 9:
 
  --><tr style="line-height: 1.5em;"><th scope="col" colspan="2" <!--
 
  --><tr style="line-height: 1.5em;"><th scope="col" colspan="2" <!--
 
  -->style="{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=background: #ddf|#default=background: #ccf; border: 1px solid #aaa}}; padding: 0.25em 1em; text-align: center; {{{titlestyle|}}}"><!--
 
  -->style="{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=background: #ddf|#default=background: #ccf; border: 1px solid #aaa}}; padding: 0.25em 1em; text-align: center; {{{titlestyle|}}}"><!--
  -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|#default={{#if:{{{name|}}}|{{#switch:{{{navbar}}}|off=|#default=<!--
+
  -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|#default=<!--
  --><div class="plainlinks" style="float: left; padding-left: 0.4em; font-size: 70%; font-weight: normal; white-space: nowrap;"><!--
+
-->{{#if:{{{name|}}}|{{#switch:{{{navbar}}}|off=|#default=<!--
-->[[Template:{{PAGENAME:{{{name}}}}}|V]]<span style="font-weight: bold; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;">&nbsp;·&nbsp;</span>[[Template talk:{{PAGENAME:{{{name}}}}}|T]]<span style="font-weight: bold; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;">&nbsp;·&nbsp;</span>[https://dwarffortresswiki.org/index.php?title=Template:{{urlencode:{{PAGENAME:{{{name}}}}}|WIKI}}&action=edit E]</div>}}|}}}}<div style="font-size: 114%; margin: 0 6em;">
+
  -->{{nav header|{{PAGENAME:{{{name}}}}}}}<!--
 +
-->}}|}}}}<div style="font-size: 114%; margin: 0 6em;">
 
{{{title}}}</div></th></tr>|}}<!--
 
{{{title}}}</div></th></tr>|}}<!--
  

Revision as of 15:45, 8 February 2022