Misplaced Pages

Template:Navigation: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 07:08, 5 August 2006 view sourceZzyzx11 (talk | contribs)Autopatrolled, Administrators163,727 editsm rv temporarily while I fix my bug← Previous edit Revision as of 07:23, 5 August 2006 view source Zzyzx11 (talk | contribs)Autopatrolled, Administrators163,727 edits enabling the "templateName" parameter, see talk pageNext edit →
Line 1: Line 1:
<includeonly> <includeonly>
<div style="clear:both;" class="NavFrame"> <div style="clear:both;" class="NavFrame">
<div class="NavHead" style="background-color:{{{color|#ccccff;}}}"><div style="float:left;margin-left:2px;"><div class="noprint plainlinksneverexpand" id="Tnavbar-mini" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">&middot;&middot;</div></div>''' {{{header|}}} '''</div> <div class="NavHead" style="background-color:{{{color|#ccccff;}}}"><div style="float:left;margin-left:2px;"><div class="noprint plainlinksneverexpand" id="Tnavbar-mini" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">&middot;&middot;</div></div>''' {{{header|}}} '''</div>
<div class="NavContent" style="font-size:90%;"> <div class="NavContent" style="font-size:90%;">
{{{body|}}}<br clear=both> {{{body|}}}<br clear=both>
Line 10: Line 10:
This is a generic navigation template. ] was observed. This is a generic navigation template. ] was observed.
==Parameters== ==Parameters==
*templateName: The name of the template, must be coded onto the template with <code><nowiki>{{subst:PAGENAMEE}}</nowiki></code> for the "view • talk • edit" links to work properly
*color (optional parameter): Background color of the top bar *color (optional parameter): Background color of the top bar
*header: Text on the top bar *header: Text on the top bar
Line 17: Line 18:
<pre> <pre>
{{Navigation Template {{Navigation Template
|templateName={{subst:PAGENAMEE}}
|color = #ccccff |color = #ccccff
|header = ] in ] |header = ] in ]
Line 24: Line 26:
==Product== ==Product==
{{Navigation Template {{Navigation Template
|templateName=Navigation_Template
|color = #ccccff |color = #ccccff
|header = ] in ] |header = ] in ]

Revision as of 07:23, 5 August 2006

This is a generic navigation template. KISS principle was observed.

Parameters

  • templateName: The name of the template, must be coded onto the template with {{subst:PAGENAMEE}} for the "view • talk • edit" links to work properly
  • color (optional parameter): Background color of the top bar
  • header: Text on the top bar
  • body: Rest of the list

Usage

{{Navigation Template
|templateName={{subst:PAGENAMEE}}
|color  = #ccccff
|header = ] in ]
|body = ] • ] • ] • ] • ] • ] • ] • ]
}}

Product

See also

Category: