Template:Ni: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "{|class=" to "{| class=")
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
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 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.


[[Category:Inline templates]]
==Example==
</noinclude>
{| 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>

Latest revision as of 09:56, September 14, 2022

{{{1}}} •

Info

This template create 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