List: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
(remove <nowiki> from example; categorize basic as per http://docs.simplemachines.org/index.php?topic=57)
Line 19: Line 19:
<tr><td><center><span style="font-size: 12pt;" class="bbc_size"><tt>'''list'''</tt></span></center></td><td><center>'''List'''</center></td><td><center><img src="http://docs.simplemachines.org/Themes/default/images/bbc/list.gif" alt="" class="bbc_img" /></center></td></tr>
<tr><td><center><span style="font-size: 12pt;" class="bbc_size"><tt>'''list'''</tt></span></center></td><td><center>'''List'''</center></td><td><center><img src="http://docs.simplemachines.org/Themes/default/images/bbc/list.gif" alt="" class="bbc_img" /></center></td></tr>


<tr><td><nowiki>&#91;list&#93;&#91;/list&#93;</nowiki></td><td>The <tt>list</tt> tag creates a html list. It produces no visible output by itself. It is block level, and can only contain <tt>li</tt> tags.</td><td><ul class="bbc_list"></ul></td></tr>
<tr><td>&#91;list&#93;&#91;/list&#93;</td><td>The <tt>list</tt> tag creates a html list. It produces no visible output by itself. It is block level, and can only contain <tt>li</tt> tags.</td><td><ul class="bbc_list"></ul></td></tr>


<tr><td><nowiki>[list type=none][li]SMF[/li]
<tr><td><nowiki>[list type=none][li]SMF[/li]
Line 65: Line 65:


[[Category:Bulletin_Board_Code]]
[[Category:Bulletin_Board_Code]]
{{Cleanup html}}
[[Category:Basic Bulletin Board Code]]

Revision as of 14:31, 7 January 2011

li
List item

[list] [li]blocks[/li] [li]text or[/li] [li]more BB Code[/li] [/list]The li tag creates list items. This is a block level tag, and can contain any other tag, but must be placed only in list tags.

  • blocks
  • text or
  • more BB Code

[o]circle [O]circle [0]circle [*]disc [@]disc [+]square [x]square [#]squareAlthough the best way to specify bullet formats is through the type property of the list, you can give each list item an individual style. Note that these do not have corresponding closing tags.

  • circle
  • circle
  • [0]circle
  • disc
  • disc
  • square
  • square
  • square
list
List
<img src="http://docs.simplemachines.org/Themes/default/images/bbc/list.gif" alt="" class="bbc_img" />

[list][/list]The list tag creates a html list. It produces no visible output by itself. It is block level, and can only contain li tags.

    [list type=none][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=disc][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=circle][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=square][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=decimal][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=decimal-leading-zero][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=lower-roman][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=upper-roman][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=lower-alpha][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=upper-alpha][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=lower-greek][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=lower-latin][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=upper-latin][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=hebrew][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=armenian][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=georgian][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=cjk-ideographic][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=hiragana][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=katakana][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=hiragana-iroha][li]SMF[/li] [li]YaBB SE[/li][/list] [list type=katakana-iroha][li]SMF[/li] [li]YaBB SE[/li][/list]The type property of the list tag lets you specify a few bullet formats, as well as several counting formats. The possible types are none, disc, circle, square, decimal, decimal-leading-zero, lower-roman, upper-roman, lower-alpha, upper-alpha, lower-greek, lower-latin, upper-latin, hebrew, armenian, georgian, cjk-ideographic, hiragana, katakana, hiragana-iroha and katakana-iroha. Examples of all of these are shown. Not all may work in your browser.

    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE
    • SMF
    • YaBB SE


    Advertisement: