Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Template:Navbar"

From Roll20 Wiki

Jump to: navigation, search
m (1 revision)
 
Line 7: Line 7:
  
 
--><ul><!--
 
--><ul><!--
--><li class="nv-view">[[{{transclude|{{{1}}}}}|<span title="View this template" <!--
+
--><li class="nv-view" style="display:inline">[[{{transclude|{{{1}}}}}|<span title="View this template" <!--
 
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|v|view}}</span>]]</li><!--
 
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|v|view}}</span>]]</li><!--
  
--><li class="nv-talk">[[{{TALKPAGENAME:{{transclude|{{{1}}}}}}}|<span title="Discuss this template" <!--
+
--><li class="nv-talk" style="display:inline">[[{{TALKPAGENAME:{{transclude|{{{1}}}}}}}|<span title="Discuss this template" <!--
 
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|t|talk}}</span>]]</li><!--
 
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|t|talk}}</span>]]</li><!--
  
 
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
 
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
--><li class="nv-edit">[{{fullurl:{{transclude|{{{1}}}}}|action=edit}} <span title="Edit this template" <!--
+
--><li class="nv-edit" style="display:inline">[{{fullurl:{{transclude|{{{1}}}}}|action=edit}} <span title="Edit this template" <!--
 
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|e|edit}}</span>]</li>}}<!--
 
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|e|edit}}</span>]</li>}}<!--
 
--></ul><!--
 
--></ul><!--

Latest revision as of 16:20, 16 January 2015


[view] [edit] [history] [purge] Documentation icon Template documentation

When one of the following examples is placed inside a given template, it adds navbar navigational functionality:

{{navbar|{{subst:PAGENAME}}|mini=1}}
{{navbar|{{subst:PAGENAME}}|plain=1}}
{{navbar|{{subst:PAGENAME}}|fontstyle=color:green}}
The {{subst:PAGENAME}} will be substituted with the template's name when parsed by the servers. For example, {{navbar|navbar/doc}} gives: