Template:Ni: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "]] </noinclude>" to "]]</noinclude>") |
(Added an example.) |
||
Line 3: | Line 3: | ||
==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 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. | ||
==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> |
Revision as of 22:50, March 25, 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 |