Safe Speed Forums

The campaign for genuine road safety
It is currently Sun Apr 28, 2024 05:20

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: List Tags
PostPosted: Fri Nov 12, 2004 01:18 
Offline
Friend of Safe Speed
Friend of Safe Speed
User avatar

Joined: Tue Mar 09, 2004 23:09
Posts: 6735
Location: Stockport, Cheshire
A bit of a technical question (maybe we need a separate forum for this), but anyway - can anyone explain how the [list] tags work in phpBB, as I can't work them out at all?

_________________
"Show me someone who says that they have never exceeded a speed limit, and I'll show you a liar, or a menace." (Austin Williams - Director, Transport Research Group)

Any views expressed in this post are personal opinions and may not represent the views of Safe Speed


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Nov 12, 2004 01:35 
Offline
Site Admin
User avatar

Joined: Sat Mar 06, 2004 06:46
Posts: 16903
Location: Safe Speed
[I moved this topic. This forum is supposed to cover these sorts of questions.]

"List" is easy enough.

It does this:
    1) List item 1
    2) List item 2
    3) List item 3

Easy eh?

based on this:

Code:
It does this:[list]
1) List item 1
2) List item 2
3) List item 3 [/list]
Easy eh?

_________________
Paul Smith
Our scrap speed cameras petition got over 28,000 sigs
The Safe Speed campaign demands a return to intelligent road safety


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Nov 12, 2004 01:38 
Offline
Friend of Safe Speed
Friend of Safe Speed
User avatar

Joined: Tue Mar 09, 2004 23:09
Posts: 6735
Location: Stockport, Cheshire
SafeSpeed wrote:
[I moved this topic. This forum is supposed to cover these sorts of questions.]

But it won't allow non-moderators (of this forum) to post.

Quote:
"List" is easy enough.

It does this:
    1) List item 1
    2) List item 2
    3) List item 3
Easy eh?

based on this:

Code:
It does this:[list]
1) List item 1
2) List item 2
3) List item 3 [/list]
Easy eh?

[list=]
List item 1
List item 2
List item 3
[/list]
Hmm - doesn't seem to work.

_________________
"Show me someone who says that they have never exceeded a speed limit, and I'll show you a liar, or a menace." (Austin Williams - Director, Transport Research Group)

Any views expressed in this post are personal opinions and may not represent the views of Safe Speed


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Nov 12, 2004 09:58 
Offline
Member
Member

Joined: Sat Mar 06, 2004 10:44
Posts: 485
Location: Glos, UK
You've got an erroneous '=' after the tag. Works like so:
    Item 1
    Item 2
    Item 3
Or:
  • Item 1
  • Item 2
  • Item 3
Easy!

_________________
Carl Prescott


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Nov 12, 2004 10:54 
Offline
User
User avatar

Joined: Tue Apr 13, 2004 18:41
Posts: 893
For all lists, mark each list item with an asterisk in square brackets.
Code:
[*]
The BB script replaces this with the correct numbering for the list.

To produce numbered lists, e.g.
  1. List item 1
  2. list item2
  3. list item 3
use
Code:
[list=1]
[*]List item 1
[*]list item2
[*]list item 3
[/list]

You can change that to alpha numbering, e.g.
  1. List item 1
  2. list item2
  3. list item 3
by specifying "a" in place of "1" in the list opening tag:
Code:
[list=a]
[*]List item 1
[*]list item2
[*]list item 3
[/list]

By default, a list produces bullets, so to produce
  • List item 1
  • list item2
  • list item 3
use
Code:
.[list]
[*]List item 1
[*]list item2
[*]list item 3
[/list]

Finally, you can nest lists. For example, this:
Code:
[list=1]
[*]Top level item 1[list=a]
 [*]Second level item 1
 [*]Second level item 2[list]
  [*]Third level item 1
  [*]Third level item 2
  [/list]
 [/list]
[*]Top level item 2
[/list]

Produces:]
  1. Top level item 1
    1. Second level item 1
    2. Second level item 2
      • Third level item 1
      • Third level item 2
  2. Top level item 2
Whitespace is significant, so if you want to close the list up like this:
  1. Top level item 1
    1. Second level item 1
    2. Second level item 2
      • Third level item 1
      • Third level item 2
  2. Top level item 2
you need to use this:
Code:
[list=1][*]Top level item 1[list=a][*]Second level item 1[*]Second level item 2[list][*]Third level item 1[*]Third level item 2[/list][/list][*]Top level item 2[/list]

HTH,

_________________
Will


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Nov 12, 2004 11:08 
Offline
Site Admin
User avatar

Joined: Sat Mar 06, 2004 06:46
Posts: 16903
Location: Safe Speed
willcove wrote:
For all lists, mark each list item with an asterisk in square brackets.
Code:
[*]
The BB script replaces this with the correct numbering for the list.


Brilliant and comprehensive, Thanks Will.

Several things in there that I didn't know about. :)

_________________
Paul Smith
Our scrap speed cameras petition got over 28,000 sigs
The Safe Speed campaign demands a return to intelligent road safety


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Jan 10, 2005 16:53 
Offline
User
User avatar

Joined: Mon Jan 10, 2005 12:52
Posts: 23
SafeSpeed wrote:
willcove wrote:
For all lists, mark each list item with an asterisk in square brackets.
Code:
[*]
The BB script replaces this with the correct numbering for the list.
Brilliant and comprehensive, Thanks Will.

Several things in there that I didn't know about. :)
Strewth new user cruising through the forum to find out what's what and by luck pick up some free education. My thanks too.

_________________
I pay tax on all my cars


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You can post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
[ Time : 0.014s | 15 Queries | GZIP : Off ]