SigServer:Examples: Difference between revisions

Jump to navigation Jump to search
Line 126: Line 126:
<pre>
<pre>
<signature>
<signature>
<variables>
  <default element="text" name="face" value="proggytiny"/>
  <default element="text" name="size" value="12"/>
  <default element="text" name="line-space" value="1"/>
</variables>
<layout>
<layout>
   <shape type="rectangle" position="213x4" size="266x142"
   <shape type="rectangle" position="213x4" size="266x142"
Line 131: Line 138:
   </shape>
   </shape>


   <text position="215x15" face="courier" color="#000000"
   <text position="215x15">
    alpha="100" size="8">
     <line>Currently Watchting:</line>
     <line>Currently Watchting:</line>
     <line> {{date("d.m.",$watching_id1_viewdate);}} {{padding($watching_id1_state_seenepcount,2)}}/{{padding($watching_id1_eps,2)}} {{truncate($watching_id1_aname,27,"..")}}</line>
     <line> {{date("d.m.",$watching_id1_viewdate);}} {{padding($watching_id1_state_seenepcount,2)}}/{{padding($watching_id1_eps,2)}} {{truncate($watching_id1_aname,29,"..")}}</line>
     <line> {{date("d.m.",$watching_id2_viewdate);}} {{padding($watching_id2_state_seenepcount,2)}}/{{padding($watching_id2_eps,2)}} {{truncate($watching_id2_aname,27,"..")}}</line>
     <line> {{date("d.m.",$watching_id2_viewdate);}} {{padding($watching_id2_state_seenepcount,2)}}/{{padding($watching_id2_eps,2)}} {{truncate($watching_id2_aname,29,"..")}}</line>
     <line> {{date("d.m.",$watching_id3_viewdate);}} {{padding($watching_id3_state_seenepcount,2)}}/{{padding($watching_id3_eps,2)}} {{truncate($watching_id3_aname,27,"..")}}</line>
     <line> {{date("d.m.",$watching_id3_viewdate);}} {{padding($watching_id3_state_seenepcount,2)}}/{{padding($watching_id3_eps,2)}} {{truncate($watching_id3_aname,29,"..")}}</line>
   </text>
   </text>


   <text position="215x68" face="courier" color="#000000"
   <text position="215x68">
    alpha="100" size="8">
     <line>Just Finished:</line>
     <line>Just Finished:</line>
     <line> {{date("d.m.",$finishedwatching_id1_viewdate);}} {{truncate($finishedwatching_id1_aname,33,"..")}}</line>
     <line> {{date("d.m.",$finishedwatching_id1_viewdate);}} {{truncate($finishedwatching_id1_aname,35,"..")}}</line>
     <line> {{date("d.m.",$finishedwatching_id2_viewdate);}} {{truncate($finishedwatching_id2_aname,33,"..")}}</line>
     <line> {{date("d.m.",$finishedwatching_id2_viewdate);}} {{truncate($finishedwatching_id2_aname,35,"..")}}</line>
     <line> {{date("d.m.",$finishedwatching_id3_viewdate);}} {{truncate($finishedwatching_id3_aname,33,"..")}}</line>
     <line> {{date("d.m.",$finishedwatching_id3_viewdate);}} {{truncate($finishedwatching_id3_aname,35,"..")}}</line>
   </text>
   </text>


   <text position="215x120" face="courier" color="#000000"
   <text position="215x120">
    alpha="100" size="8">
     <line>Latest Votes:</line>
     <line>Latest Votes:</line>
     <line color="{{if($latestvote_id1_vote>8,"#cc0000","#000000")}}"> {{date("d.m.",$latestvote_id1_date);}}{{padding(precision($latestvote_id1_vote,2),5,"right");}} {{truncate($latestvote_id1_aname, 28, "..")}}</line>
     <line color="{{if($latestvote_id1_vote>8,"#cc0000","#000000")}}"> {{date("d.m.",$latestvote_id1_date);}}{{padding(precision($latestvote_id1_vote,2),5,"right");}} {{truncate($latestvote_id1_aname, 30, "..")}}</line>
     <line color="{{if($latestvote_id2_vote>8,"#cc0000","#000000")}}"> {{date("d.m.",$latestvote_id2_date);}}{{padding(precision($latestvote_id2_vote,2),5,"right");}} {{truncate($latestvote_id2_aname, 28, "..")}}</line>
     <line color="{{if($latestvote_id2_vote>8,"#cc0000","#000000")}}"> {{date("d.m.",$latestvote_id2_date);}}{{padding(precision($latestvote_id2_vote,2),5,"right");}} {{truncate($latestvote_id2_aname, 30, "..")}}</line>
   </text>
   </text>


Line 163: Line 167:
   <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" alpha="80">
    angle="90" color="#000000" alpha="80">
     <line>{{padding($stat_anidb_ownviewedp,2,"right");}}% watched</line>
     <line>{{padding($stat_anidb_ownviewedp,2,"right");}}% watched</line>
   </text>
   </text>
Line 172: Line 175:
   <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" alpha="80">
    angle="90" color="#000000" alpha="80">
     <line>{{padding($stat_anidb_totalownedp,2,"right");}}% collected</line>
     <line>{{padding($stat_anidb_totalownedp,2,"right");}}% collected</line>
   </text>
   </text>

Navigation menu

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