[[= ttabs('u', $d{user}, 'wish') ]]

[[: $p{PageTitle} ]]

[[ my $url = sprintf '/u%d/wish', $d{user}{id}; my $surl = sprintf '%s?s=%s;o=%s', $url, $d{order}[0], $d{order}[1]; my $furl = $surl . ';p='.$d{page}; ]] [[ if($#{$d{list}} < 0) { ]]-

[[ if($d{user}{username} eq $p{AuthUsername}) { ]] Your wishlist is empty. You can keep track of all the visual novels you'd like to play. Just go to a visual novel page and add it to your wishlist! [[ } else { ]] [[: $d{user}{username} ]]'s wishlist is empty... [[ } ]]

[[ } else { ]] [[= pagebut($surl) ]]- [[ if($d{user}{username} eq $p{AuthUsername}) { ]]
[[ } ]] [[ for (@{$d{list}}) { ]]- [[ } ]]-
Title [[= sortbut($url, 'title') ]] Priority [[= sortbut($url, 'wstat') ]] Added [[= sortbut($url, 'added') ]]  
[[: shorten $_->{title}, 40 ]] [[= $VNDB::WSTAT->[$_->{wstat}] ]] [[= formatdate('%Y-%m-%d', $_->{added}) ]] [[ if($d{user}{username} eq $p{AuthUsername}) { ]][[ } else { ]] [[ } ]]
[[ if($d{user}{username} eq $p{AuthUsername}) { ]]
[[ } ]] -[[= pagebut($surl) ]] [[ } ]]-