Difference between revisions of "Template:Bullet"

From blackwiki
Jump to navigation Jump to search
imported>MDP23
(keep - it's a valid tool)
imported>David Kernow
(category, layout tweaks)
Line 1: Line 1:
 
*{{{1}}}<noinclude>
 
*{{{1}}}<noinclude>
 
+
<br/>
 
----
 
----
  
Line 11: Line 11:
 
|goodbye
 
|goodbye
 
|bullet=
 
|bullet=
* Bullet!}}</pre>
+
* Bullet!#
 +
}}</pre>
  
 
whereas this template can avoid that...
 
whereas this template can avoid that...
Line 18: Line 19:
 
|hello
 
|hello
 
|goodbye
 
|goodbye
|bullet={{bullet|Bullet!}} }}</pre>
+
|bullet={{bullet|Bullet!}}
 +
}}</pre>
 +
 
  
[[Category:Wikipedia special effects templates|Bullet]]
+
[[Category:Function templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 13:14, 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!}}
}}