Shorthand for data-sort-value=
(MediaWiki documentation), used to organize tables with minimal compromise to code legibility.
Usage
Normal code:
{|class="wikitable sortable" ! Foo !! Bar !! Baz |- | 2 || data-sort-value="3" | hard || x |- | 4 || data-sort-value="2" | medium || a |- | 3 || data-sort-value="3" | hard || z |- | 1 || data-sort-value="1" | easy || y |}
With template:
{|class="wikitable sortable" ! Foo !! Bar !! Baz |- | 2 || {{dsv|4}} hard || x |- | 4 || {{dsv|2}} medium || a |- | 3 || {{dsv|3}} hard || z |- | 1 || {{dsv|1}} easy || y |}
Result:
Foo | Bar | Baz |
---|---|---|
2 | hard | x |
4 | medium | a |
3 | hard | z |
1 | easy | y |
Normal code:
{| class="wikitable sortable" ! Character !! Works !! Leniency !! Notes |- | {{CLabel|GGST|Anji}} || {{clr|3|Yes}} || {{clr|5|Tight}} || Style="width:18em" | |- | {{CLabel|GGST|Chipp}} || {{clr|3|Yes}} || {{clr|3|Lenient}} || |- | {{CLabel|GGST|Faust}} || data-sort-value="Y" | {{clr|5|Kinda?}} || {{clr|4|Weird}} || Requires you to dash in a lot and is very precise. On-brand. |- | {{CLabel|GGST|Giovanna}} || {{clr|3|Yes}} || data-sort-value="U" | {{clr|5|Quite Tight}} || Very tight delay, but not too hard to get down. Great for practicing! |- | {{CLabel|GGST|Happy Chaos}} || {{clr|3|Yes}} || {{clr|2|Autotimed}} || |- | {{CLabel|GGST|I-No}} || {{clr|3|Yes}} || {{clr|4|Very Tight}} || Requires a very precise microdash. |- | {{CLabel|GGST|Millia}} || {{clr|4|No}} || data-sort-value="Z" | |- | {{CLabel|GGST|Nagoriyuki}} || {{clr|4|No}} || data-sort-value="Z" | |- | {{CLabel|GGST|Potemkin}} || {{clr|3|Yes}} || {{clr|2|Autotimed}} || |- | {{CLabel|GGST|Sol}} || {{clr|3|Yes}} || data-sort-value="M" | {{clr|3|Weird}} || Requires you to dash in a particular amount. Fairly lenient. |- | {{CLabel|GGST|Testament}} || {{clr|3|Yes}} || {{clr|3|Lenient}} || |- | {{CLabel|GGST|Zato}} || {{clr|4|No}} || data-sort-value="Z" | |}
With template:
{| class="wikitable sortable" ! Character !! Works !! Leniency !! Notes |- | {{CLabel|GGST|Anji}} || {{clr|3|Yes}} || {{clr|5|Tight}} || Style="width:18em" | |- | {{CLabel|GGST|Chipp}} || {{clr|3|Yes}} || {{clr|3|Lenient}} || |- | {{CLabel|GGST|Faust}} || {{dsv|Y}} {{clr|5|Kinda?}} || {{clr|4|Weird}} || Requires you to dash in a lot and is very precise. On-brand. |- | {{CLabel|GGST|Giovanna}} || {{clr|3|Yes}} || {{dsv|U}} {{clr|5|Quite Tight}} || Very tight delay, but not too hard to get down. Great for practicing! |- | {{CLabel|GGST|Happy Chaos}} || {{clr|3|Yes}} || {{clr|2|Autotimed}} || |- | {{CLabel|GGST|I-No}} || {{clr|3|Yes}} || {{clr|4|Very Tight}} || Requires a very precise microdash. |- | {{CLabel|GGST|Millia}} || {{clr|4|No}} || {{dsv|Z}} |- | {{CLabel|GGST|Nagoriyuki}} || {{clr|4|No}} || {{dsv|Z}} |- | {{CLabel|GGST|Potemkin}} || {{clr|3|Yes}} || {{clr|2|Autotimed}} || |- | {{CLabel|GGST|Sol}} || {{clr|3|Yes}} || {{dsv|M}} {{clr|3|Weird}} || Requires you to dash in a particular amount. Fairly lenient. |- | {{CLabel|GGST|Testament}} || {{clr|3|Yes}} || {{clr|3|Lenient}} || |- | {{CLabel|GGST|Zato}} || {{clr|4|No}} || {{dsv|Z}} |}
Result:
Character | Works | Leniency | Notes |
---|---|---|---|
Anji | Yes | Tight | |
Chipp | Yes | Lenient | |
Faust | Kinda? | Weird | Requires you to dash in a lot and is very precise. On-brand. |
Giovanna | Yes | Quite Tight | Very tight delay, but not too hard to get down. Great for practicing! |
Happy Chaos | Yes | Autotimed | |
I-No | Yes | Very Tight | Requires a very precise microdash. |
Millia | No | ||
Nagoriyuki | No | ||
Potemkin | Yes | Autotimed | |
Sol | Yes | Weird | Requires you to dash in a particular amount. Fairly lenient. |
Testament | Yes | Lenient | |
Zato | No |
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.