Difference between revisions of "Template:Navbar/doc"
From Roll20 Wiki
(Created page with "When one of the following examples is placed inside a given template, it adds navbar navigational functionality: :<code><nowiki>{{navbar|{{s...") |
|||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
+ | {{documentation subpage|override=navbar/doc|Navbar}} | ||
When one of the following examples is placed inside a given [[Wikipedia:Navigation templates|template]], it adds navbar navigational functionality: | When one of the following examples is placed inside a given [[Wikipedia:Navigation templates|template]], it adds navbar navigational functionality: | ||
:<code><nowiki>{{navbar|{{subst:PAGENAME}}|mini=1}}</nowiki></code> | :<code><nowiki>{{navbar|{{subst:PAGENAME}}|mini=1}}</nowiki></code> | ||
Line 4: | Line 5: | ||
:<code><nowiki>{{navbar|{{subst:PAGENAME}}|fontstyle=color:green}}</nowiki></code> | :<code><nowiki>{{navbar|{{subst:PAGENAME}}|fontstyle=color:green}}</nowiki></code> | ||
− | The <code><nowiki>{{subst:PAGENAME}}</nowiki></code> will be substituted with the template's name when parsed by the servers. For example, <code><nowiki>{{navbar|navbar/doc}}</nowiki></code> gives:<br> {{navbar|navbar/doc}}<includeonly>[[Category: | + | The <code><nowiki>{{subst:PAGENAME}}</nowiki></code> will be substituted with the template's name when parsed by the servers. For example, <code><nowiki>{{navbar|navbar/doc}}</nowiki></code> gives:<br> {{navbar|navbar/doc}}<includeonly>[[Category:Navigation Templates]]</includeonly> |
Latest revision as of 16:14, 16 January 2015
This is a documentation subpage for Navbar. It contains usage information, categories and other content that is not part of the original template page. |
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}}
{{subst:PAGENAME}}
will be substituted with the template's name when parsed by the servers. For example, {{navbar|navbar/doc}}
gives: