[[= ttabs('v', $d{vn}) ]]
< user options - [[= $d{vote}{vid} ? 'your vote: '.$d{vote}{vote} : 'vote' ]] - [[= !$d{list}{vid} ? 'add to vn list' : 'status: '.lc $VNDB::LSTAT->[$d{list}{status}] ]] >
[[ } ]]- -[[ $d{vn}{c_votes} =~ s#^([0-9]{2}.[0-9]{2})\|([0-9]{4})$#$2 == 0 ? 'No votes yet' : $1 == 0 ? sprintf 'N/A (%d vote%s)', $2, $2>1?'s':'' : sprintf '%.2f (%d vote%s)', $1, $2, $2>1?'s':''#e; my @links = ( $d{vn}{l_wp} ? [ 'Wikipedia', 'http://en.wikipedia.org/wiki/%s', $d{vn}{l_wp} ] : (), $d{vn}{l_vnn} ? [ 'V-N.net', 'http://visual-novels.net/vn/index.php?option=com_content&task=view&id=%d', $d{vn}{l_vnn} ] : (), $d{vn}{l_cisv} ? [ 'CISVisual', 'http://cisvisual.net/title/%d', $d{vn}{l_cisv} ] : (), ); if($d{vn}{length} || $d{vn}{alias} || @links) { ]]- -[[= join(' - ', @lnks) ]]- -
[[ if(!$d{page}) { ]][[+ vnpage_rel ]][[ } ]] [[ if($d{page} eq 'stats') { ]][[+ vnpage_stats ]][[ } ]] [[ if($d{page} eq 'rg') { ]][[+ vnpage_rg ]][[ } ]] [[ if($p{AuthLoggedin}) { ]]-