Jump to content

User:David from Downunder/list of judo techniques

From Wikipedia, the free encyclopedia

Wikipedia:How to use tables

Help:Sorting

Wikipedia:Conditional tables

Wikipedia:Collapsible tables


Grappling_hold#Partial_list_of_grappling_holds

  • use nbsp in table if necessary
  • develop spreadsheet & write software to translate into wiki table

colour

[edit]

very complex - will have to apply programmatically. Ideally bi-directional, so we can recover edits back into the spreadsheet?

Text colour versus background colour

  • colour the categories
  • colour the grades by belt colour


Category Name Dates Currency Unsortable
Kansetsu-waza escape
(joint lock escape)
Kesa-gata-sankaku-gatame-ude-hishigi
(Scarf hold triangle armlock defense method)
02-02-2004 5.00 This
Nagewaza
(Throwing Techniques)
13-apr-2005 Column
3 X 17.aug.2006 6.50 Is
4 w 01.Jan.2005 4.20 Unsortable
5 V 05/12/2006 7.15 See?
Total: 15 Total: 29.55



Category: Ukemi (Breakfalls)

         Nagewaza (Throwing Techniques) (67 throws of Kodokan Judo)
         Katamewaza (Grappling Techniques) (The 29 Kodokan...)
         Atemiwaza

(Mifune's Canon of Judo categorization ?)

Sub-cat: hand throw

        leg throw - reap, etc
        sacrifice throw - front or side
        ---------------
        pin or mat-hold
        choke or strangle
        joint lock - hand/elbow/leg

Kata-cat:

Status: Official Kodokan

       Preserved techniques from 1895 gokyo
       Newly accepted techniques
       unrecognised (can refer to Mifune 1960)
       illegal (in competition) - was in judo, now illegal
       ?? (do not list techniques that were always illegal i.e. never in judo.
       include striking techniques found in kata

Earliest recoded reference (can refer to Mifune 1960)

Group: 1 ... Dai Ikkyo (1st group, yellow belt)

  1. in group: 1.1

Name (J): Deashi Harai Name (E): (foot sweep) Name (BJJ/Wreslting/etc) - all in one column?


Numbers Alphabet Dates Currency Unsortable
1 Z 02-02-2004 5.00 This
2 y 13-apr-2005 Column
3 X 17.aug.2006 6.50 Is
4 w 01.Jan.2005 4.20 Unsortable
5 V 05/12/2006 7.15 See?
Total: 15 Total: 29.55


Sortable version of Table:Climate in Middle East cities, using smn to specify numeric sort mode:

City January
(Low)
January
(High)
July
(Low)
July
(High)
Amman 4°Csm=n 12°Csm=n 18°Csm=n 32°Csm=n
Baghdad 0°Csm=n 16°Csm=n 24°Csm=n 43°Csm=n
Cairo 8°Csm=n 18°Csm=n 21°Csm=n 36°Csm=n
Damascus 0°Csm=n 12°Csm=n 16°Csm=n 36°Csm=n
Dubai 15°Csm=n 23°Csm=n 30°Csm=n 39°Csm=n
Jerusalem 5°Csm=n 13°Csm=n 17°Csm=n 31°Csm=n
Riyadh 8°Csm=n 21°Csm=n 26°Csm=n 42°Csm=n
Tehran -3°Csm=n 7°Csm=n 22°Csm=n 37°Csm=n



Sorting with hidden sortkey

[edit]

If necessary one can apply sorting using a sortkey which due to CSS is not displayed:

<span style="display:none">...</span>

(However, on some projects, notably Ontoworld, a page with this wikitext cannot be saved, as spam protection.)

Javascript sorting is based on the text inside and outside the tags, without the tags themselves. A hidden sortkey can be put at the start. Both in the case of alphabetic and that of numeric sorting the first parts determine the order. For the purpose of a hidden sortkey for numeric sorting, the criterion for the item at the top being a number has been adapted: ignoring span and sup tags, it can be a number followed by "×10" and an exponent (use the same cross sign). This format is e.g. produced by m:Template:e (backlinks edit). A hidden sortkey for alphabetic sorting does not have such restrictions.

Alphabetic sorting with hidden sortkey

[edit]

The sortkey comes at the start and is separated from the displayed text in such a way that the latter does not affect the sorting order. For example, if a sortkey system is used where there are no blank spaces in any sortkey, then a blank space can be used for separation. If a single blank space is possible in a sortkey, two nbsps can be used. For table elements for which the text to be displayed is equal to the sortkey, no duplication is needed, of course.

If the text inside and outside the tags together is of a form that would cause a sorting mode other than alphabetic (if and when the element is at the top), a character can be appended at the end of the sortkey to avoid this, again making sure it does not affect the sorting order by putting a space or two nbsps. This can be dispensed with if the element can never be at the top, but this can be complicated to assess as that can be caused by sorting other columns, with varying sorting modes, and it can change when deleting a row, adding a column, etc.

Instead of "display=none" another way is using a font color equal to the background, e.g. <font color="#f9f9f9">999</font> gives "999". With this method the hidden code can be seen in selected text (e.g. with the mouse). Also the hidden text is included when copying the rendered text. The first may be an advantage or a disadvantage, the second seems only a disadvantage. A complication is also that if a user uses a background color different from the default, the specified text color may not match it; to make sure they are the same the background color can be specified also.

Unsuitability of padding with no-break spaces

[edit]

The effect of left-padding with "&nbsp;" codes, which render as blank spaces, depends on the browser: in IE they are (unlike actual blank spaces) counted for sorting as leading blank spaces, so in a list of numbers with text (for which the alphabetic sorting mode applies) they could be used to equalize the number of characters before the explicit or implicit decimal separator. However, in Firefox they are ignored for the purpose of sorting.

Sorting using nbsps, works on IE but not on Firefox Name
100.3 FM Third
 89.5 FM First
107.3 FM Fourth
 95.3 FM Second

See also w:Talk:List_of_U.S._states_by_population#Sortable_Table.