Difference between revisions of "Template:Bullet"

From blackwiki
Jump to navigation Jump to search
imported>David Kernow
(category, layout tweaks)
imported>David Kernow
m (typo correction)
Line 11: Line 11:
 
|goodbye
 
|goodbye
 
|bullet=
 
|bullet=
* Bullet!#
+
* Bullet!
 
}}</pre>
 
}}</pre>
  

Revision as of 13:17, 15 February 2007

  • {{{1}}}



This template is used solely within other templates to make it possible to include a bullet without a new line, which sometimes breaks template code.

For instance, the following requires a new line to have a bullet within the template code...

{{#switch:{{{1}}}
|hello
|goodbye
|bullet=
* Bullet!
}}

whereas this template can avoid that...

{{#switch:{{{1}}}
|hello
|goodbye
|bullet={{bullet|Bullet!}}
}}