SigServer:Examples: Difference between revisions

→‎Sig1: Updated
mNo edit summary
(→‎Sig1: Updated)
Line 11: Line 11:
== Sig1 ==
== Sig1 ==
by EXP, 2007-11-23<br>
by EXP, 2007-11-23<br>
improved by HiEv, 2008-07-09<br>
'''WARNING: This signature image exceeds the size limits of the [http://forum.anime-reactor.net/ ARC forum].'''
'''WARNING: This signature image exceeds the size limits of the [http://forum.anime-reactor.net/ ARC forum].'''


Line 19: Line 20:
<pre>
<pre>
<signature>
<signature>
 
  <!-- Variables -->
<variables>
   {{@bgalpha_odd=15}}
   <set name="bgalpha_odd" value="15" />
   {{@bgalpha_even=5}}
   <set name="bgalpha_even" value="5" />
   {{@pctbars_color="#0000ff"}}
 
  <!-- Defaults -->
   <default element="text" name="face" value="proggytiny"/>
   <defaults>
   <default element="text" name="size" value="12"/>
    <text face="proggytiny" size="12" line-space="1" />
  <default element="text" name="line-space" value="1"/>
  </defaults>
</variables>
  <!-- Layout -->
 
<layout>
<layout>
   <image src="_nervlogo" position="345x5" alpha="20"/>
  <!-- NERV Logo -->
 
   <image src="_nervlogo" position="345x5" alpha="20" />
  <!-- Date and Time -->
   <text position="325x6" face="courier" size="6">
   <text position="325x6" face="courier" size="6">
     <line>AniDB.net {{date("Y-m-d H:i")}}</line>
     <line>AniDB.net {{date("Y-m-d H:i")}}</line>
   </text>
   </text>
 
  <!-- MyList Stats -->
  <shape type="rectangle" position="105x18" size="90x10" color="#000000" alpha="{{@bgalpha_odd}}" />
  <shape type="rectangle" position="105x30" size="90x10" color="#000000" alpha="{{@bgalpha_even}}" />
  <shape type="rectangle" position="105x42" size="90x10" color="#000000" alpha="{{@bgalpha_odd}}" />
  <shape type="rectangle" position="105x54" size="90x10" color="#000000" alpha="{{@bgalpha_even}}" />
  <shape type="rectangle" position="105x66" size="90x10" color="#000000" alpha="{{@bgalpha_odd}}" />
   <text position="105x15">
   <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>{{padding(precision($stat_mylist_fsize/1024,1), 6, "right");}} GB</line>
     <line>{{padding(precision($stat_mylist_fsize/1024,1), 6, "right")}} GB</line>
     <line>{{padding($stat_anidb_votecount, 6, "right");}} Votes</line>
     <line>{{padding($stat_anidb_votecount, 6, "right")}} Votes</line>
     <line>{{padding($stat_anidb_reviewcount, 6, "right");}} Reviews</line>
     <line>{{padding($stat_anidb_reviewcount, 6, "right")}} Reviews</line>
   </text>
   </text>
   <shape type="rectangle" position="105x18" size="90x10"
  <!-- Votes and Reviews -->
    color="#000000" alpha="{{@bgalpha_odd}}"></shape>
   <shape type="rectangle" position="200x18" size="245x10" color="#000000" alpha="{{@bgalpha_odd}}" />
   <shape type="rectangle" position="105x30" size="90x10"
   <shape type="rectangle" position="200x30" size="245x10" color="#000000" alpha="{{@bgalpha_even}}" />
    color="#000000" alpha="{{@bgalpha_even}}"></shape>
   <shape type="rectangle" position="200x42" size="245x10" color="#000000" alpha="{{@bgalpha_odd}}" />
   <shape type="rectangle" position="105x42" size="90x10"
   <shape type="rectangle" position="200x66" size="245x10" color="#000000" alpha="{{@bgalpha_odd}}" />
    color="#000000" alpha="{{@bgalpha_odd}}"></shape>
   {{@latestvote=if($latestvote_id1_aname,date("d.m.",$latestvote_id1_date)+padding(precision($latestvote_id1_vote,2),5,"right")+" "+truncate($latestvote_id1_aname,27,".."),"no votes yet")}}
   <shape type="rectangle" position="105x54" size="90x10"
  {{@latestreview=if($latestreview_id1_aname,date("d.m.",$latestreview_id1_date)+padding(precision($latestreview_id1_score_overall,2),5,"right")+" "+truncate($latestreview_id1_aname,27,".."),"no reviews yet")}}  
    color="#000000" alpha="{{@bgalpha_even}}"></shape>
   <shape type="rectangle" position="105x66" size="90x10"
    color="#000000" alpha="{{@bgalpha_odd}}"></shape>
 
   <text position="203x15">
   <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,27,"..")}}</line>
     <line color="{{if($latestvote_id1_vote>8,"#ff0000","#000000")}}"> {{@latestvote}}</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 display="{{if($latestvote_id2_aname)}}" 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,27,"..")}}</line>
     <line display="{{if($latestvote_id3_aname)}}" 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,27,"..")}}</line>
     <line color="{{if($latestreview_id1_score_overall>8,"#ff0000","#000000")}}"> {{@latestreview}}</line>
   </text>
   </text>
   <shape type="rectangle" position="200x18" size="245x10"
  <!-- Currently Watching -->
    color="#000000" alpha="{{@bgalpha_odd}}"></shape>
   <shape type="rectangle" position="80x96" size="365x10" color="#000000" alpha="{{@bgalpha_odd}}" />
   <shape type="rectangle" position="200x30" size="245x10"
   <shape type="line" position="80x82" size="445x82" thickness="1" />
    color="#000000" alpha="{{@bgalpha_even}}"></shape>
   {{@latestwatched=if($watching_id1_aname,date("d/m",$watching_id1_viewdate)+" "+$watching_id1_state_seenepcount+"/"+if($watching_id1_eps,$watching_id1_eps,"?")+" "+truncate($watching_id1_aname,48,".."),"none watched in last two weeks")}}
   <shape type="rectangle" position="200x42" size="245x10"
    color="#000000" alpha="{{@bgalpha_odd}}"></shape>
  <shape type="rectangle" position="200x66" size="245x10"
    color="#000000" alpha="{{@bgalpha_odd}}"></shape>
 
  <shape type="line" position="80x82" size="445x82"
    thickness="1"></shape>
   <text position="82x93">
   <text position="82x93">
     <line>Currently Watching:</line>
     <line>Currently Watching:</line>
     <line> {{date("d.m.",$watching_id1_viewdate);}} {{$watching_id1_state_seenepcount}}/{{$watching_id1_eps}} {{truncate($watching_id1_aname,48,"..")}}</line>
     <line> {{@latestwatched}}</line>
   </text>
   </text>
   <shape type="rectangle" position="80x96" size="365x10"
  <!-- Latest Files -->
    color="#000000" alpha="{{@bgalpha_odd}}"></shape>
   <shape type="rectangle" position="80x124" size="365x10" color="#000000" alpha="{{@bgalpha_odd}}" />
 
  <shape type="rectangle" position="80x136" size="365x10" color="#000000" alpha="{{@bgalpha_even}}" />
   <shape type="line" position="80x110" size="445x110"
   <shape type="line" position="80x110" size="445x110" thickness="1" />
    thickness="1"></shape>
  {{@latestfile=if($latestfile_id1_aname,date("d/m",$latestfile_id1_date)+" "+truncate($latestfile_id1_aname,50-length($latestfile_id1_enumber),"..")+" - "+$latestfile_id1_enumber+" - ["+$latestfile_id1_gname+"]","no files yet")}}
   <text position="82x121">
   <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> {{@latestfile}}</line>
     <line> {{date("d.m.",$latestfile_id2_date);}} {{$latestfile_id2_aname}} - {{$latestfile_id2_enumber}} - [{{$latestfile_id2_gname}}]</line>
     <line display="{{if($latestfile_id2_aname)}}"> {{date("d/m",$latestfile_id2_date)}} {{truncate($latestfile_id2_aname,50-length($latestfile_id2_enumber),"..")}} - {{$latestfile_id2_enumber}} - [{{$latestfile_id2_gname}}]</line>
   </text>
   </text>
   <text position="80x121">
   <text position="80x121">
     <line></line>
     <line></line>
     <line display="{{notempty($latestfile_id1_viewdate)}}">*</line>
     <line display="{{if($latestfile_id1_viewdate)}}">*</line>
     <line display="{{notempty($latestfile_id2_viewdate)}}">*</line>
     <line display="{{if($latestfile_id2_viewdate)}}">*</line>
   </text>
   </text>
   <shape type="rectangle" position="80x124" size="365x10"
   <!-- Percent Watched Bar -->
    color="#000000" alpha="{{@bgalpha_odd}}"></shape>
   <shape type="rectangle" position="7x7" size="11x136" hollow="true" color="#ffffff" alpha="50" />
   <shape type="rectangle" position="80x136" size="365x10"
   <shape type="rectangle" position="8x8" size="9x134" hollow="true" color="#000000" alpha="50" />
    color="#000000" alpha="{{@bgalpha_even}}"></shape>
   <shape type="rectangle" position="10x{{7 + (132-round($stat_anidb_ownviewedp*1.32))}}" color="{{@pctbars_color}}"
 
       size="5x{{round($stat_anidb_ownviewedp*1.32)}}" alpha="50" />
   <shape type="rectangle" position="7x7" size="11x136"
   <text position="28x140" angle="90" color="#ffffff" alpha="40">
      hollow="true" alpha="50"></shape>
     <line>{{padding($stat_anidb_ownviewedp,2,"right")}}% watched</line>
   <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>
   <text position="28x140"
    angle="90" color="#ffffff" alpha="40">
     <line>{{padding($stat_anidb_ownviewedp,2,"right");}}% watched</line>
   </text>
   </text>
 
  <!-- Percent Collected Bar -->
   <shape type="rectangle" position="35x7" size="11x136"
   <shape type="rectangle" position="35x7" size="11x136" hollow="true" color="#ffffff" alpha="50" />
      hollow="true" alpha="50"></shape>
  <shape type="rectangle" position="36x8" size="9x134" hollow="true" color="#000000" alpha="50" />
   <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="{{@pctbars_color}}"
       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" />
   <text position="56x140"
   <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>
   </text>
   </text>
</layout>
</layout>
128

edits

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