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:Nav header"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(wikipedia version)
(fix to use transclusion template)
Line 1: Line 1:
<div class="noprint plainlinks hlist navbar {{#if:{{{mini|}}}|mini}}" style="{{{style|}}}"><!--
+
<span class="plainlinks" style="font-size: 75%; float:left;">
 +
[[{{transclude|{{{1|{{FULLPAGENAME}}}}}}}|<span title="View this template">V</span>]] -
 +
[[{{transclude|{{{1|{{TALKSPACE}}:{{PAGENAME}}}}}}}|<span title="Discuss this template">T</span>]] -
 +
[{{fullurl:{{transclude|{{{1|{{FULLPAGENAME}}}}}|action=edit}}}} <span title="Edit this template">E</span>]
 +
</span><noinclude>
  
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
 
--><span style="word-spacing:0;{{{fontstyle|}}}">{{{text|This box:}}} </span>}}<!--
 
  
-->{{#if:{{{brackets|}}}|<span style="margin-right:-0.125em;{{{fontstyle|}}}">&#91;</span>}}<!--
+
For use with navigation boxes, like this:
 +
{{DF2012 buildings}}
  
--><ul><!--
 
--><li class="nv-view">[[{{transclude|{{{1}}}}}|<span title="View this template" <!--
 
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|v|view}}</span>]]</li><!--
 
 
--><li class="nv-talk">[[{{TALKPAGENAME:{{transclude|{{{1}}}}}}}|<span title="Discuss this template" <!--
 
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|t|talk}}</span>]]</li><!--
 
 
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
 
--><li class="nv-edit">[{{fullurl:{{transclude|{{{1}}}}}|action=edit}} <span title="Edit this template" <!--
 
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|e|edit}}</span>]</li>}}<!--
 
--></ul><!--
 
 
-->{{#if:{{{brackets|}}}|<span style="margin-left:-0.125em;{{{fontstyle|}}}">&#93;</span>}}<!--
 
 
--></div><noinclude>
 
 
{{documentation}}
 
 
</noinclude>
 
</noinclude>

Revision as of 19:13, 2 March 2013