SigServer:Examples: Difference between revisions

Jump to navigation Jump to search
Line 22: Line 22:
   <set name="bgalpha_odd" value="15" />
   <set name="bgalpha_odd" value="15" />
   <set name="bgalpha_even" value="5" />
   <set name="bgalpha_even" value="5" />
  <default element="text" name="face" value="proggytiny"/>
  <default element="text" name="size" value="12"/>
  <default element="text" name="line-space" value="1"/>
</variables>
</variables>


Line 31: Line 35:
   </text>
   </text>


   <text position="105x15" face="courier" size="8">
   <text position="105x15">
     <line> MyList:</line>
     <line> MyList:</line>
     <line>{{padding($stat_mylist_acount, 6, "right");}} Animes</line>
     <line>{{padding($stat_mylist_acount, 6, "right");}} Animes</line>
     <line>{{padding($stat_mylist_fcount, 6, "right");}} Files</line>
     <line>{{padding($stat_mylist_fcount, 6, "right");}} Files</line>
Line 50: Line 54:
     color="#000000" alpha="{{@bgalpha_odd}}"></shape>
     color="#000000" alpha="{{@bgalpha_odd}}"></shape>


   <text position="200x15" face="courier" size="8">
   <text position="203x15">
     <line>Latest Votes:</line>
     <line>Latest Votes:</line>
     <line color="{{if($latestvote_id1_vote>8,"#ff0000","#000000")}}"> {{date("d.m.",$latestvote_id1_date);}}{{padding(precision($latestvote_id1_vote,2),5,"right");}} {{truncate($latestvote_id1_aname,25,"..")}}</line>
     <line color="{{if($latestvote_id1_vote>8,"#ff0000","#000000")}}"> {{date("d.m.",$latestvote_id1_date);}}{{padding(precision($latestvote_id1_vote,2),5,"right");}} {{truncate($latestvote_id1_aname,27,"..")}}</line>
     <line color="{{if($latestvote_id2_vote>8,"#ff0000","#000000")}}"> {{date("d.m.",$latestvote_id2_date);}}{{padding(precision($latestvote_id2_vote,2),5,"right");}} {{truncate($latestvote_id2_aname,25,"..")}}</line>
     <line color="{{if($latestvote_id2_vote>8,"#ff0000","#000000")}}"> {{date("d.m.",$latestvote_id2_date);}}{{padding(precision($latestvote_id2_vote,2),5,"right");}} {{truncate($latestvote_id2_aname,27,"..")}}</line>
     <line color="{{if($latestvote_id3_vote>8,"#ff0000","#000000")}}"> {{date("d.m.",$latestvote_id3_date);}}{{padding(precision($latestvote_id3_vote,2),5,"right");}} {{truncate($latestvote_id3_aname,25,"..")}}</line>
     <line color="{{if($latestvote_id3_vote>8,"#ff0000","#000000")}}"> {{date("d.m.",$latestvote_id3_date);}}{{padding(precision($latestvote_id3_vote,2),5,"right");}} {{truncate($latestvote_id3_aname,27,"..")}}</line>
     <line>Latest Review:</line>
     <line>Latest Review:</line>
     <line color="{{if($latestreview_id1_score_overall>8,"#ff0000","#000000")}}"> {{date("d.m.",$latestreview_id1_date);}}{{padding(precision($latestreview_id1_score_overall,2),5,"right");}} {{truncate($latestreview_id1_aname,25,"..")}}</line>
     <line color="{{if($latestreview_id1_score_overall>8,"#ff0000","#000000")}}"> {{date("d.m.",$latestreview_id1_date);}}{{padding(precision($latestreview_id1_score_overall,2),5,"right");}} {{truncate($latestreview_id1_aname,27,"..")}}</line>
   </text>
   </text>
   <shape type="rectangle" position="200x18" size="245x10"
   <shape type="rectangle" position="200x18" size="245x10"
Line 69: Line 73:
   <shape type="line" position="80x82" size="445x82"
   <shape type="line" position="80x82" size="445x82"
     thickness="1"></shape>
     thickness="1"></shape>
   <text position="80x93" face="courier" size="8">
   <text position="82x93">
     <line>Currently Watchting:</line>
     <line>Currently Watchting:</line>
     <line> {{date("d.m.",$watching_id1_viewdate);}} {{$watching_id1_state_seenepcount}}/{{$watching_id1_eps}} {{truncate($watching_id1_aname,43,"..")}}</line>
     <line> {{date("d.m.",$watching_id1_viewdate);}} {{$watching_id1_state_seenepcount}}/{{$watching_id1_eps}} {{truncate($watching_id1_aname,48,"..")}}</line>
   </text>
   </text>
   <shape type="rectangle" position="80x96" size="365x10"
   <shape type="rectangle" position="80x96" size="365x10"
Line 78: Line 82:
   <shape type="line" position="80x110" size="445x110"
   <shape type="line" position="80x110" size="445x110"
     thickness="1"></shape>
     thickness="1"></shape>
   <text position="80x121" face="courier" size="8">
   <text position="82x121">
     <line>Latest Files:</line>
     <line>Latest Files:</line>
     <line> {{date("d.m.",$latestfile_id1_date);}} {{$latestfile_id1_aname}} - {{$latestfile_id1_enumber}} - [{{$latestfile_id1_gname}}]</line>
     <line> {{date("d.m.",$latestfile_id1_date);}} {{$latestfile_id1_aname}} - {{$latestfile_id1_enumber}} - [{{$latestfile_id1_gname}}]</line>
     <line> {{date("d.m.",$latestfile_id2_date);}} {{$latestfile_id2_aname}} - {{$latestfile_id2_enumber}} - [{{$latestfile_id2_gname}}]</line>
     <line> {{date("d.m.",$latestfile_id2_date);}} {{$latestfile_id2_aname}} - {{$latestfile_id2_enumber}} - [{{$latestfile_id2_gname}}]</line>
   </text>
   </text>
   <text position="78x122" face="courier" size="8">
   <text position="80x121">
     <line></line>
     <line></line>
     <line display="{{notempty($latestfile_id1_viewdate)}}">*</line>
     <line display="{{notempty($latestfile_id1_viewdate)}}">*</line>
Line 97: Line 101:
   <shape type="rectangle" position="10x{{7 + (132-round($stat_anidb_ownviewedp*1.32))}}" color="#ff0000"
   <shape type="rectangle" position="10x{{7 + (132-round($stat_anidb_ownviewedp*1.32))}}" color="#ff0000"
       size="5x{{round($stat_anidb_ownviewedp*1.32)}}" alpha="50"></shape>
       size="5x{{round($stat_anidb_ownviewedp*1.32)}}" alpha="50"></shape>
   <text position="28x140" face="courier" size="8"
   <text position="28x140"
     angle="90" color="#ffffff" alpha="40">
     angle="90" color="#ffffff" alpha="40">
     <line>{{padding($stat_anidb_ownviewedp,2,"right");}}% watched</line>
     <line>{{padding($stat_anidb_ownviewedp,2,"right");}}% watched</line>
Line 106: Line 110:
   <shape type="rectangle" position="38x{{7 + (132-ceil(($stat_anidb_totalownedp+0.01)*1.32))}}" color="#ff0000"
   <shape type="rectangle" position="38x{{7 + (132-ceil(($stat_anidb_totalownedp+0.01)*1.32))}}" color="#ff0000"
       size="5x{{ceil(($stat_anidb_totalownedp+0.01)*1.32)}}" alpha="50"></shape>
       size="5x{{ceil(($stat_anidb_totalownedp+0.01)*1.32)}}" alpha="50"></shape>
   <text position="56x140" face="courier" size="8"
   <text position="56x140"
     angle="90" color="#ffffff" alpha="40">
     angle="90" color="#ffffff" alpha="40">
     <line>{{padding($stat_anidb_totalownedp,2,"right");}}% collected</line>
     <line>{{padding($stat_anidb_totalownedp,2,"right");}}% collected</line>

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.