Rosetta Code/List authors of task descriptions: Difference between revisions
Rosetta Code/List authors of task descriptions (view source)
Revision as of 16:24, 31 March 2018
, 6 years ago→{{header|Perl 6}}: Meh. helps if I use the right sort key generator
Thundergnat (talk | contribs) (→{{header|Perl 6}}: Change output format to sortable wiki-table) |
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: Meh. helps if I use the right sort key generator) |
||
Line 385:
$out.say: "|-\n|style=\"background-color: $color;\"",
( $task.key ~~ /\d/
?? " data-sort-value=\"{ sort-key $task.key
!! "| [[{uri-escape $task.key}|{$task.key}]]\n"
),
Line 395:
$out.say( "|}\n", '</div>' );
$out.close;
note "Table file saved as: {$tablefile.IO.absolute}";
Line 491 ⟶ 490:
! Task Name !! Date Added !! Status
|-
|style="background-color: #fff;" data-sort-value="main step of gost
|style="width: 10em; background-color: #fff;"| 2012-08-31
|style="width: 6em; background-color: #fff;"| Task
|-
|style="background-color: #ffd;"| [[Old%20Russian%20measure%20of%20length|Old Russian measure of length]]
|style="width: 10em; background-color: #ffd;"| 2013-01-09
|style="width: 6em; background-color: #ffd;"| Draft
|-
|style="background-color: #ffd;"| [[Transportation%20problem|Transportation problem]]
|style="width: 10em; background-color: #ffd;"| 2013-05-24
|style="width: 6em; background-color: #ffd;"| Draft
|}
|}
</div>
|