Difference between revisions of "Template:Navigation Bar"

From FreewarWiki
Jump to: navigation, search
(Created page with '<div class="NavFrame" style="clear:both">{{#ifeq:{{{IMAGE|none}}}|none|| <div class="NavPic">{{{IMAGE}}}</div>}} <div class="NavHead">{{{TITEL}}}</div> <div class="NavContent">{{…')
 
(titel -> title)
Line 1: Line 1:
 
<div class="NavFrame" style="clear:both">{{#ifeq:{{{IMAGE|none}}}|none||
 
<div class="NavFrame" style="clear:both">{{#ifeq:{{{IMAGE|none}}}|none||
 
<div class="NavPic">{{{IMAGE}}}</div>}}
 
<div class="NavPic">{{{IMAGE}}}</div>}}
<div class="NavHead">{{{TITEL}}}</div>
+
<div class="NavHead">{{{TITLE}}}</div>
 
<div class="NavContent">{{{CONTENT}}}</div>
 
<div class="NavContent">{{{CONTENT}}}</div>
 
{{#ifeq:{{{IMAGE|none}}}|none||<div class="NavEnd">&nbsp;</div>
 
{{#ifeq:{{{IMAGE|none}}}|none||<div class="NavEnd">&nbsp;</div>
 
}}</div><noinclude>
 
}}</div><noinclude>
{{Template Documentation|This template creates a navigation bar.|This template can be incorporated by using '''<tt><nowiki>{{Template:Navigation Bar|"Titel"|"Content"}}</nowiki></tt>'''.|
+
{{Template Documentation|This template creates a navigation bar.|This template can be incorporated by using '''<tt><nowiki>{{Template:Navigation Bar|"Title"|"Content"}}</nowiki></tt>'''.|
* '''Titel:''' Titel of the navigation bar
+
* '''Title:''' Title of the navigation bar
 
* '''Content:''' Content of the navigation bar, hyphen have to be created by using mit "&amp;#124;", because "&#124;" divides the sinlge parameters.
 
* '''Content:''' Content of the navigation bar, hyphen have to be created by using mit "&amp;#124;", because "&#124;" divides the sinlge parameters.
 
* '''IMAGE:''' This parameter is optional; can be incorporated, if a image has to be incorporated (e.g..: [[Template:WorldNav]].}}
 
* '''IMAGE:''' This parameter is optional; can be incorporated, if a image has to be incorporated (e.g..: [[Template:WorldNav]].}}
 
</noinclude>
 
</noinclude>

Revision as of 16:28, 5 January 2010

Documentation

Usage
This template creates a navigation bar.

Integration
This template can be incorporated by using {{Template:Navigation Bar|"Title"|"Content"}}.

Parameters

  • Title: Title of the navigation bar
  • Content: Content of the navigation bar, hyphen have to be created by using mit "&#124;", because "|" divides the sinlge parameters.
  • IMAGE: This parameter is optional; can be incorporated, if a image has to be incorporated (e.g..: Template:WorldNav.