SigServer:Examples: Difference between revisions

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


== Sig4 ==
== Sig4 ==
by EXP, 2007-11-25
by EXP, 2007-11-25<br>
'''WARNING: this signature image is exceeds the size limits of the ARC forum.'''


=== Signature Image ===
=== Signature Image ===

Revision as of 20:05, 30 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 - "Official"

Sig1

by EXP, 2007-11-23
WARNING: this signature image is exceeds the size limits of the ARC forum.

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>

Sig2

by EXP, 2007-11-25
WARNING: this signature image is exceeds the size limits of the ARC forum.

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>

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>

Sig4

by EXP, 2007-11-25
WARNING: this signature image is exceeds the size limits of the ARC forum.

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>

Sig5

by EXP, 2007-11-29

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"/>

  <!-- mylist viewed percentage graph position -->
  <set name="graph_ovp_pos_x" value="455" />
  <set name="graph_ovp_pos_y" value="5" />
  <set name="graph_ovp_height" value="112" />
  <set name="graph_ovp_width" value="4" />
  <set name="graph_ovp_color" value="#0000ff" />
  <set name="graph_ovp_alpha" value="40" />

  <!-- background shading -->
  <set name="textbg_alpha" value="70" />
</variables>

<layout>

  <shape type="rectangle" position="3x3" size="250x36"
    color="#ffffff" alpha="{{@textbg_alpha}}">
  </shape>
  <text position="5x4" align="top-left">
    <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_id2_viewdate);}} {{padding($watching_id2_state_seenepcount,2)}}/{{padding($watching_id2_eps,2)}} {{truncate($watching_id2_aname,27,"..")}}</line>
  </text>

  <shape type="rectangle" position="3x43" size="250x36"
    color="#ffffff" alpha="{{@textbg_alpha}}">
  </shape>
  <text position="5x43" align="top-left">
    <line>Just Finished:</line>
    <line> {{date("d.m.",$finishedwatching_id1_viewdate);}} {{truncate($finishedwatching_id1_aname,33,"..")}}</line>
    <line> {{date("d.m.",$finishedwatching_id2_viewdate);}} {{truncate($finishedwatching_id2_aname,35,"..")}}</line>
  </text>

  <shape type="rectangle" position="3x83" size="250x36"
    color="#ffffff" alpha="{{@textbg_alpha}}">
  </shape>
  <text position="5x83" align="top-left">
    <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_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>
  </text>

  <shape type="rectangle" position="257x3" size="80x76"
    color="#ffffff" alpha="{{@textbg_alpha}}">
  </shape>
  <text position="259x4" align="top-left">
    <line>MyList:</line>
    <line>{{padding($stat_mylist_acount, 5, "right");}} Animes</line>
    <line>{{padding($stat_mylist_fcount, 5, "right");}} Files</line>
    <line>{{padding(round($stat_mylist_fsize/1024), 5, "right");}} GB</line>
    <line>{{padding($stat_anidb_votecount, 5, "right");}} Votes</line>
    <line>{{padding($stat_anidb_reviewcount, 5, "right");}} Reviews</line>
  </text>

  <!-- mylist viewed percentage graph BEGIN -->
  <shape type="rectangle" position="{{@graph_ovp_pos_x}}x{{@graph_ovp_pos_y}}"
      size="{{@graph_ovp_width+4}}x{{@graph_ovp_height}}"
      hollow="true" alpha="50">
  </shape>
  <shape type="rectangle" position="{{@graph_ovp_pos_x + 2}}x{{@graph_ovp_pos_y + 2 + (@graph_ovp_height-4-round($stat_anidb_ownviewedp*((@graph_ovp_height-4)/100)))}}"
      color="{{@graph_ovp_color}}" alpha="{{@graph_ovp_alpha}}"
      size="{{@graph_ovp_width}}x{{round($stat_anidb_ownviewedp*((@graph_ovp_height-4)/100))}}">
  </shape>
  <text position="{{@graph_ovp_pos_x-4}}x{{@graph_ovp_pos_y}}"
    angle="90" color="#000000" alpha="40" align="top-right">
    <line>{{padding($stat_anidb_ownviewedp,2,"right");}}% watched</line>
  </text>
  <!-- mylist viewed percentage graph END -->

</layout>

</signature>

Sig6

by EXP, 2007-11-30

Signature Image

Source

<signature>

<variables>
  <default element="text" name="face" value="visitor-10"/>
  <default element="text" name="size" value="10"/>
  <default element="text" name="line-space" value="1"/>
  <default element="text" name="color" value="#ffffff"/>
</variables>

<layout>
  <text position="347x5" align="top-right">
    <line>{{$stat_mylist_acount}} Animes, {{$stat_mylist_fcount}} Files, {{round($stat_mylist_fsize/1024)}} GB</line>
  </text>
</layout>

</signature>

Example Images - Contributions

Feel free to add your own signature examples here.

Signature Example 1

by MsR^, 2007-11-26

(Anime-Reactor Sized)

Note: Used parts of the sample codes.

Signature Image

Background available @ [1]

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>

  <text position="170x14">
    <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="279x14">
    <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>
    <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="279x104">
    <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>
  </text>

  <text position="279x64">
    <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>

Signature Example 2

by MsR^, 2007-11-27

(Anime-Reactor Sized)

Note: Used parts of the sample codes to start with. Special Thanks: hrm.

Signature Image

Background available @ [2]

Source

<signature>
 
   <variables>
    <default element="text" name="face" value="Verdana"/>
    <default element="text" name="size" value="7"/>
    <default element="text" name="line-space" value="2"/>
   </variables>

  <layout>
 <shape type="rectangle" position="2x2" size="210x60"
    color="#ffffff" alpha="10">
  </shape>
  
  <text position="6x15" color="#D9D9D9">
    <line>Currently Watching:</line>
    <line> {{truncate($watching_id1_aname,25,"..")}}</line>
    <line> {{truncate($watching_id2_aname,25,"..")}}</line>
    <line> {{truncate($watching_id3_aname,25,"..")}}</line>
  </text>

  <text position="175x26" color="#D9D9D9">
    <line>{{padding($watching_id1_state_seenepcount,2,"right")}}/{{padding($watching_id1_eps,2)}}</line>
    <line>{{padding($watching_id2_state_seenepcount,2,"right")}}/{{padding($watching_id2_eps,2)}}</line>
    <line>{{padding($watching_id3_state_seenepcount,2,"right")}}/{{padding($watching_id3_eps,2)}}</line>
  </text>

 <shape type="rectangle" position="2x68" size="100x64"
    color="#ffffff" alpha="10">
  </shape>

<text position="4x76" color="#D9D9D9">
    <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>
  </text>

  <shape type="rectangle" position="324x126" size="136x8"
      hollow="true" alpha="20"></shape>
  <shape type="rectangle" position="{{323 + (132-round($stat_anidb_ownviewedp*1.32))}}x129" color="#4000FF"
      size="{{round($stat_anidb_ownviewedp*1.32)}}x3" alpha="50"></shape>
  <text position="300x134" alpha="85">
    <line>{{padding($stat_anidb_ownviewedp,2,"right");}}%</line>
  </text>

<text position="380x120" alpha="85">
    <line>Watched:</line>
  </text>
 
  </layout>
</signature>