Jump to content

Help talk:List

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 173.13.177.204 (talk) at 01:14, 31 January 2013 (MediaWiki clobbers). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

WikiProject iconLists NA‑class
WikiProject iconThis page is within the scope of WikiProject Lists, an attempt to structure and organize all list pages on Wikipedia. If you wish to help, please visit the project page, where you can join the project and/or contribute to the discussion.
NAThis page does not require a rating on the project's quality scale.
WikiProject iconWikipedia Help NA‑class
WikiProject iconThis page is within the scope of the Wikipedia Help Project, a collaborative effort to improve Wikipedia's help documentation for readers and contributors. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks. To browse help related resources see the Help Menu or Help Directory. Or ask for help on your talk page and a volunteer will visit you there.
NAThis page does not require a rating on the project's quality scale.

Outline Numbered List

Is there a way to create a list that is numbered as an outline? The list below is formatted how I'd like it (but not automatically numbered):

1. element 1 level 1
1.1. subelement 1 level 2
1.2. subelement 2 level 2
1.2.1. subsubelement 1 level 3
1.3. subelement 3 level 2
2. element 2 level 1

etc.

I know how to do a general list, but that only gives me:

  1. element 1 level 1
    1. subelement 1 level 2
    2. subelement 2 level 2
      1. subsubelement 1 level 3
    3. subelement 3 level 2
  2. element 2 level 1

I know that the table of contents does this automatically, and if the user has the automatic numbering preference enabled, the numbers will appear if each entry is defined as a section heading, but I couldn't find a way to force the numbering to show up either.

Any help is appreciated! Thanks!

--Rkausch (talk) 16:54, 17 December 2007 (UTC)[reply]

Came hear with a same question. Any results, Rkausch? —Preceding unsigned comment added by Skfd (talkcontribs) 13:40, 12 December 2009 (UTC)[reply]

alphabetically

Is there any way to make a list that uses abc… as bullets instead of numbers or bullets? Without using HTML, i.e:

    . -- Henriok (talk) 10:28, 25 April 2008 (UTC)[reply]

Question

Is there a way to make a numbered list within a table, to create something like below?

1. Red 10,000,000
2. Blue 9,000,000

Someone the Person (talk) 22:43, 8 February 2009 (UTC)[reply]

If someone does figure this out, make sure to check if sorting would break it (i.e. if you sort by column 2, you don't want it to renumber after it's sorted). Zephalis (talk) 02:05, 20 June 2012 (UTC)[reply]

Alphabetical

There is no hit on this page for the word "alphbetical". A list should be ordered by date (if particularly significant) or in alphabetical order. Is this not previously considered? ~ R.T.G 18:22, 13 April 2010 (UTC)[reply]

Avoiding paragraphs breaking bullet points?

From Help:List#Paragraphs_in_lists, is not clear if it's possible, when a list item has more than one paragraph, to avoid the paragraph change to break the item and the list as well. Starting the paragraphs after the first with ":" instead of "*", gives a different indentation than the first paragraph. Example were is needed: List_of_plagiarism_controversies#Literature.--Sum (talk) 11:57, 4 April 2011 (UTC)[reply]

Question: Linking a list to topics in the article

I've created a bulleted list and now I'd like to link each bullet topic with its corresponding section in the article. How can I do this? Thanks! Scfavrot (talk) 20:38, 6 May 2011 (UTC)[reply]

See WP:ANCHOR. To create a link to section "Xyz" of article "Abc", the syntax is [[Abc#Xyz]]. To make that look nicer, use a piped link, [[Abc#Xyz|reader-friendly text goes here]]. Is that what you have in mind? -- John of Reading (talk) 21:11, 6 May 2011 (UTC)[reply]

Horizontal lists

Is anyone up for writing a section about the new horizontal lists? I'm not much of a documenter myself. Edokter (talk) — 22:26, 19 November 2011 (UTC)[reply]

What piece of code provides #<li value="9"> syntax (removing empty list elements)?

VitaliyFilippov (talk) 16:31, 30 January 2012 (UTC)[reply]

The following example works here:

#<li value="9">Amsterdam</li>
#Rotterdam
#The Hague
  1. Amsterdam
  2. Rotterdam
  3. The Hague

But on a vanilla MediaWikis 1.16, 1.18 and trunk the same code produces an empty item before the 9th. Moreover, </li> is left in the text. I.e. it looks like:

  1.  
  2. Amsterdam</li>
  3. Rotterdam
  4. The Hague

Also I see that in Wikimedia Wikis, empty list elements are removed (see the code, there is an empty list element between phases 1 and 3):

  1. Phase 1: Collect underpants
  2. Phase 3: PROFIT!!!

So, this evidently is how #<li value="9"> syntax works. What piece of code (extension or patch) does provide this feature?

VitaliyFilippov (talk) 14:18, 5 March 2012 (UTC) UPDATE: I've found it, it's $wgUseTidy = true; configuration setting. Tidy removes empty list items.[reply]

MediaWiki clobbers

Looks like MediaWiki clobbers inline CSS for setting unordered list symbol type: <ul style="list-style-type:square;">
HTML:
<ul style="list-style-type:square; margin-left:48px;">
<li>Stuff</li>
<li>More stuff</li>
</ul>
Output:
  • Stuff
  • More stuff
--173.13.177.204 (talk) 01:13, 31 January 2013 (UTC)[reply]