SigServer:Examples: Difference between revisions

From AniDB
Jump to navigation Jump to search
Line 29: Line 29:


<layout>
<layout>
   <image src="nervlogo3" position="345x5" alpha="20"/>
   <image src="_nervlogo" position="345x5" alpha="20"/>


   <text position="325x6" face="courier" size="6">
   <text position="325x6" face="courier" size="6">

Revision as of 22:01, 25 November 2007

About Signature Server Example Signatures

This page lists AniDB Signature Server (SigServer / http://sig.anidb.net) example signature images together with the corresponding xml code for generating them.

Feel free to add your own example signatures here.

Examples Signatures

Sig1

by EXP, 2007-11-23

Signature Image

Source

<signature>

<variables>
  <set name="bgalpha_odd" value="15" />
  <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>

<layout>
  <image src="_nervlogo" position="345x5" alpha="20"/>

  <text position="325x6" face="courier" size="6">
    <line>AniDB.net {{date("Y-m-d H:i")}}</line>
  </text>

  <text position="105x15">
    <line>  MyList:</line>
    <line>{{padding($stat_mylist_acount, 6, "right");}} Animes</line>
    <line>{{padding($stat_mylist_fcount, 6, "right");}} Files</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_reviewcount, 6, "right");}} Reviews</line>
  </text>
  <shape type="rectangle" position="105x18" size="90x10"
    color="#000000" alpha="{{@bgalpha_odd}}"></shape>
  <shape type="rectangle" position="105x30" size="90x10"
    color="#000000" alpha="{{@bgalpha_even}}"></shape>
  <shape type="rectangle" position="105x42" size="90x10"
    color="#000000" alpha="{{@bgalpha_odd}}"></shape>
  <shape type="rectangle" position="105x54" size="90x10"
    color="#000000" alpha="{{@bgalpha_even}}"></shape>
  <shape type="rectangle" position="105x66" size="90x10"
    color="#000000" alpha="{{@bgalpha_odd}}"></shape>

  <text position="203x15">
    <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_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>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>
  </text>
  <shape type="rectangle" position="200x18" size="245x10"
    color="#000000" alpha="{{@bgalpha_odd}}"></shape>
  <shape type="rectangle" position="200x30" size="245x10"
    color="#000000" alpha="{{@bgalpha_even}}"></shape>
  <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">
    <line>Currently Watchting:</line>
    <line> {{date("d.m.",$watching_id1_viewdate);}} {{$watching_id1_state_seenepcount}}/{{$watching_id1_eps}} {{truncate($watching_id1_aname,48,"..")}}</line>
  </text>
  <shape type="rectangle" position="80x96" size="365x10"
    color="#000000" alpha="{{@bgalpha_odd}}"></shape>

  <shape type="line" position="80x110" size="445x110"
    thickness="1"></shape>
  <text position="82x121">
    <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_id2_date);}} {{$latestfile_id2_aname}} - {{$latestfile_id2_enumber}} - [{{$latestfile_id2_gname}}]</line>
  </text>
  <text position="80x121">
    <line></line>
    <line display="{{notempty($latestfile_id1_viewdate)}}">*</line>
    <line display="{{notempty($latestfile_id2_viewdate)}}">*</line>
  </text>
  <shape type="rectangle" position="80x124" size="365x10"
    color="#000000" alpha="{{@bgalpha_odd}}"></shape>
  <shape type="rectangle" position="80x136" size="365x10"
    color="#000000" alpha="{{@bgalpha_even}}"></shape>

  <shape type="rectangle" position="7x7" size="11x136"
      hollow="true" alpha="50"></shape>
  <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>

  <shape type="rectangle" position="35x7" size="11x136"
      hollow="true" alpha="50"></shape>
  <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>
  <text position="56x140"
    angle="90" color="#ffffff" alpha="40">
    <line>{{padding($stat_anidb_totalownedp,2,"right");}}% collected</line>
  </text>
</layout>
</signature>

Additional images used

Sig2

by EXP, 2007-11-25

Signature Image

Source

<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>
  <shape type="rectangle" position="213x4" size="266x142"
    color="#ffffff" alpha="40">
  </shape>

  <text position="215x15">
    <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,29,"..")}}</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,29,"..")}}</line>
  </text>

  <text position="215x68">
    <line>Just Finished:</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,35,"..")}}</line>
    <line> {{date("d.m.",$finishedwatching_id3_viewdate);}} {{truncate($finishedwatching_id3_aname,35,"..")}}</line>
  </text>

  <text position="215x120">
    <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, 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, 30, "..")}}</line>
  </text>

  <text position="65x148" align="bottom-left" face="courier"
    size="6">
    <line>AniDB.net {{date("Y-m-d H:i")}}</line>
  </text>

  <shape type="rectangle" position="7x7" size="11x136"
      hollow="true" alpha="50"></shape>
  <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" alpha="80">
    <line>{{padding($stat_anidb_ownviewedp,2,"right");}}% watched</line>
  </text>

  <shape type="rectangle" position="35x7" size="11x136"
      hollow="true" alpha="50"></shape>
  <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>
  <text position="56x140" angle="90" alpha="80">
    <line>{{padding($stat_anidb_totalownedp,2,"right");}}% collected</line>
  </text>
</layout>
</signature>

Additional Images used

none

Sig3

by EXP, 2007-11-25

Signature Image

Source

<signature>

<variables>
  <default element="text" name="face" value="proggycleansz"/>
  <default element="text" name="size" value="12"/>
  <default element="text" name="line-space" value="1.2"/>
  <default element="text" name="color" value="#ffffff"/>
</variables>

  <layout>
    <text position="10x20" align="bottom-left"
      face="verdana" size="11">
      <line>AniDB Signature Images</line>
    </text>
    <text position="390x20" align="bottom-right"
      face="proggytiny" size="12" alpha="70">
      <line>http://sig.anidb.net</line>
    </text>

    <shape type="line" color="#ffffff" position="7x25" size="393x25">
    </shape>

    <text position="15x40">
      <line>{{padding($anidbstat_acount,6)}} animes</line>
      <line>{{padding($anidbstat_epcount,6)}} episodes</line>
      <line>{{padding($anidbstat_fcount,6)}} files</line>
      <line>{{padding($anidbstat_usercount,6)}} users</line>
    </text>

    <text position="150x40">
      <line>Latest Addition:</line>
      <line> {{$anidblatestfile_id1_aname}}</line>
      <line> {{$anidblatestfile_id1_enumber}} - {{$anidblatestfile_id1_ename}}</line>
      <line display="{{notempty($anidblatestfile_id1_gname)}}"> by [{{$anidblatestfile_id1_gname}}]</line>
    </text>

    <text position="397x89" size="6"
      face="courier" align="bottom-right">
      <line>{{date("Y-m-d H:i")}}</line>
    </text>

  </layout>
</signature>

Additional Images used

none

Sig4

by EXP, 2007-11-25

Signature Image

Source

<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>
  <shape type="rectangle" position="145x4" size="115x76"
    color="#ffffff" alpha="40">
  </shape>
  <shape type="rectangle" position="264x4" size="332x36"
    color="#ffffff" alpha="40">
  </shape>
  <shape type="rectangle" position="264x44" size="332x36"
    color="#ffffff" alpha="40">
  </shape>

  <text position="150x14">
    <line>MyList:</line>
    <line>{{padding($stat_mylist_acount, 7, "right");}} Animes</line>
    <line>{{padding($stat_mylist_fcount, 7, "right");}} Files</line>
    <line>{{padding(precision($stat_mylist_fsize/1024,1), 7, "right");}} GB</line>
    <line>{{padding($stat_anidb_votecount, 7, "right");}} Votes</line>
    <line>{{padding($stat_anidb_reviewcount, 7, "right");}} Reviews</line>
  </text>

  <text position="269x14">
    <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,40,"..")}}</line>
    <line> {{date("d.m.",$watching_id2_viewdate);}} {{padding($watching_id2_state_seenepcount,2)}}/{{padding($watching_id2_eps,2)}} {{truncate($watching_id2_aname,40,"..")}}</line>
  </text>

  <text position="269x54">
    <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, 41, "..")}}</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, 41, "..")}}</line>
  </text>
</layout>
</signature>

Additional Images used

none

More

Feel free to add your own signature examples here.