Template:Ni: Difference between revisions

m
Text replacement - "{|class=" to "{| class="
mNo edit summary
m (Text replacement - "{|class=" to "{| class=")
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<span style="white-space: nowrap;">{{{1}}}{{#if:{{{2}}}||&nbsp;&bull;}}</span><noinclude>
<span style="white-space: nowrap;">{{{1}}}{{#if:{{{2|}}}||&nbsp;&bull;}}</span><noinclude>


==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.


[[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>