Template:Ni: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:


==Info==
==Info==
This template create an item for a [[:Category:Navigation boxes|navigation box]] (hence, the name is short for '''N'''avigation '''I'''tem). It wraps the item in a span that stops it from being breaking in different lines on spaces, and automatically adds the bullet point that separates items. For the last item in a row, give the second parameter a value, like "y", in order to not place the final bullet point.
This template creates an item for a [[:Category:Navigation boxes|navigation box]] (hence, the name is short for '''N'''avigation '''I'''tem). It wraps the item in a span that stops it from being breaking in different lines on spaces, and automatically adds the bullet point that separates items. For the last item in a row, give the second parameter a value, like "y", in order to not place the final bullet point.
 
==Example==
{| class="wikitable"
!Code
!Result
|-
|<pre>{{ni|[[Red Pikmin]]}} {{ni|[[Yellow Pikmin]]}} {{ni|[[Blue Pikmin]]|y}}</pre>
|{{ni|[[Red Pikmin]]}} {{ni|[[Yellow Pikmin]]}} {{ni|[[Blue Pikmin]]|y}}
|}


[[Category:Inline templates]]</noinclude>
[[Category:Inline templates]]</noinclude>

Latest revision as of 23:49, August 1, 2024

{{{1}}} •

Info

This template creates an item for a navigation box (hence, the name is short for Navigation Item). It wraps the item in a span that stops it from being breaking in different lines on spaces, and automatically adds the bullet point that separates items. For the last item in a row, give the second parameter a value, like "y", in order to not place the final bullet point.

Example

Code Result
{{ni|[[Red Pikmin]]}} {{ni|[[Yellow Pikmin]]}} {{ni|[[Blue Pikmin]]|y}}
Red Pikmin • Yellow Pikmin • Blue Pikmin