Misplaced Pages

Template:Navigation/doc: 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.
< Template:Navigation Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 19:23, 13 January 2007 editRick Block (talk | contribs)Administrators31,131 edits ''Mandatory'': can use | or {{!}} for pipe symbols← Previous edit Latest revision as of 20:34, 1 September 2014 edit undoPlastikspork (talk | contribs)Edit filter managers, Administrators259,054 edits Redirect 
(35 intermediate revisions by 20 users not shown)
Line 1: Line 1:
#REDIRECT ]
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<code>{&#123;]&#125;}</code> is a generic ].

==Blank==
<pre>{{Navigation
| name = {{subst:PAGENAME}}
| title =
| body =
}}
</pre>

== Parameters ==
===''Mandatory''===
; name (or templateName): The name of the template, which is needed for the "view{{·}} talk{{·}} edit" links to work properly on all of the pages where the template is used. You can enter <code><nowiki>{{subst:PAGENAME}}</nowiki></code> for this value as a shortcut.
; title (or header): Text that appears centered in the titlebar (the top bar). Usually this is the template's topic, i.e. a succinct description of the body contents.
; body : The material contained by the template, usually a list or list of links. Use <nowiki>&amp;#124;</nowiki> to separate links. It is not possible to directly include a pipe ("|") in the contents as this symbol is used to separate parameters. &amp:#124; or {{tl|!}} can be used in the body to produce a pipe symbol. Format is inline.

===''Optional''===
; color : Header color. Default is <span style="background-color: #efefef;">#efefef</span>. Use of this parameter is discouraged. Where it is used, care and consensus are needed as multiple navigational templates on one page with different titlebar colors will probably look unpleasant.
; cat (or category): The category or categories to which a page sporting the template will become a member.



==Example==
===Code===
<pre>{{Navigation
| name = {{subst:PAGENAME}}
| title = ] of ]
| cat = ]<noinclude>] ]</noinclude>
| body =
]{{·}}
]{{·}}
]{{·}}
]{{·}}
]{{·}}
]{{·}}
]{{·}}
]
}}
</pre>

===Result===
{{msg:{{BASEPAGENAME}}
| name = Countries of Central Asia
| title = ] of ]
| body =
]{{·}}
]{{·}}
]{{·}}
]{{·}}
]{{·}}
]{{·}}
]{{·}}
]
}}

==See also==
{{Navigational templates}}
<includeonly>

<!--Categories-->
]

<!--Other languages-->
]
]
]
]
]
]
]
</includeonly>

Latest revision as of 20:34, 1 September 2014

Redirect to: