SigServer:Examples: Difference between revisions

Line 18: Line 18:
<pre>
<pre>
<signature>
<signature>
<variables>
  <set name="bgalpha_odd" value="15" />
  <set name="bgalpha_even" value="5" />
</variables>
<layout>
<layout>
 
  <image src="nervlogo3" position="345x5" alpha="20"/>
<image src="nervlogo3" position="345x5" alpha="20"/>


   <text position="325x6" face="courier" size="6">
   <text position="325x6" face="courier" size="6">
Line 35: Line 40:
   </text>
   </text>
   <shape type="rectangle" position="105x18" size="90x10"
   <shape type="rectangle" position="105x18" size="90x10"
     color="#000000" alpha="15"></shape>
     color="#000000" alpha="{{@bgalpha_odd}}"></shape>
   <shape type="rectangle" position="105x30" size="90x10"
   <shape type="rectangle" position="105x30" size="90x10"
     color="#000000" alpha="5"></shape>
     color="#000000" alpha="{{@bgalpha_even}}"></shape>
   <shape type="rectangle" position="105x42" size="90x10"
   <shape type="rectangle" position="105x42" size="90x10"
     color="#000000" alpha="15"></shape>
     color="#000000" alpha="{{@bgalpha_odd}}"></shape>
   <shape type="rectangle" position="105x54" size="90x10"
   <shape type="rectangle" position="105x54" size="90x10"
     color="#000000" alpha="5"></shape>
     color="#000000" alpha="{{@bgalpha_even}}"></shape>
   <shape type="rectangle" position="105x66" size="90x10"
   <shape type="rectangle" position="105x66" size="90x10"
     color="#000000" alpha="15"></shape>
     color="#000000" alpha="{{@bgalpha_odd}}"></shape>


   <text position="200x15" face="courier" size="8">
   <text position="200x15" face="courier" size="8">
     <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");}} {{$latestvote_id1_aname}}</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_id2_vote>8,"#ff0000","#000000")}}"> {{date("d.m.",$latestvote_id2_date);}}{{padding(precision($latestvote_id2_vote,2),5,"right");}} {{$latestvote_id2_aname}}</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_id3_vote>8,"#ff0000","#000000")}}"> {{date("d.m.",$latestvote_id3_date);}}{{padding(precision($latestvote_id3_vote,2),5,"right");}} {{$latestvote_id3_aname}}</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>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");}} {{$latestreview_id1_aname}}</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>
   </text>
   </text>
   <shape type="rectangle" position="200x18" size="245x10"
   <shape type="rectangle" position="200x18" size="245x10"
     color="#000000" alpha="15"></shape>
     color="#000000" alpha="{{@bgalpha_odd}}"></shape>
   <shape type="rectangle" position="200x30" size="245x10"
   <shape type="rectangle" position="200x30" size="245x10"
     color="#000000" alpha="5"></shape>
     color="#000000" alpha="{{@bgalpha_even}}"></shape>
   <shape type="rectangle" position="200x42" size="245x10"
   <shape type="rectangle" position="200x42" size="245x10"
     color="#000000" alpha="15"></shape>
     color="#000000" alpha="{{@bgalpha_odd}}"></shape>
   <shape type="rectangle" position="200x66" size="245x10"
   <shape type="rectangle" position="200x66" size="245x10"
     color="#000000" alpha="15"></shape>
     color="#000000" alpha="{{@bgalpha_odd}}"></shape>


   <shape type="line" position="80x82" size="445x82"
   <shape type="line" position="80x82" size="445x82"
Line 66: Line 71:
   <text position="80x93" face="courier" size="8">
   <text position="80x93" face="courier" size="8">
     <line>Currently Watchting:</line>
     <line>Currently Watchting:</line>
     <line> {{date("d.m.",$watching_id1_viewdate);}} {{$watching_id1_state_seenepcount}}/{{$watching_id1_eps}} {{$watching_id1_aname}}</line>
     <line> {{date("d.m.",$watching_id1_viewdate);}} {{$watching_id1_state_seenepcount}}/{{$watching_id1_eps}} {{truncate($watching_id1_aname,43,"..")}}</line>
   </text>
   </text>
   <shape type="rectangle" position="80x96" size="365x10"
   <shape type="rectangle" position="80x96" size="365x10"
     color="#000000" alpha="15"></shape>
     color="#000000" alpha="{{@bgalpha_odd}}"></shape>


   <shape type="line" position="80x110" size="445x110"
   <shape type="line" position="80x110" size="445x110"
Line 84: Line 89:
   </text>
   </text>
   <shape type="rectangle" position="80x124" size="365x10"
   <shape type="rectangle" position="80x124" size="365x10"
     color="#000000" alpha="15"></shape>
     color="#000000" alpha="{{@bgalpha_odd}}"></shape>
   <shape type="rectangle" position="80x136" size="365x10"
   <shape type="rectangle" position="80x136" size="365x10"
     color="#000000" alpha="5"></shape>
     color="#000000" alpha="{{@bgalpha_even}}"></shape>


   <shape type="rectangle" position="7x7" size="11x136"
   <shape type="rectangle" position="7x7" size="11x136"
MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.