SigServer:Examples: Difference between revisions

Line 560: Line 560:
</signature>
</signature>
</pre>
</pre>
== Signature Example 4 ==
by MsR^, 2007-12-1
(Anime-Reactor Sized)
Note: Used parts of the sample codes to start with. Special Thanks: hrm.
=== Signature Image ===
[[Image:Parakiss.png]]
Background available @ [http://sig.anidb.net/images/backgrounds/45.png]
=== Source ===
<signature>
  <variables>
    <default element="text" name="face" value="tahoma"/>
    <default element="text" name="size" value="8.5"/>
    <default element="text" name="line-space" value="1.7"/>
  <set name="graph_ovp_pos_x" value="17" />
  <set name="graph_ovp_pos_y" value="5" />
  <set name="graph_ovp_height" value="80" />
  <set name="graph_ovp_width" value="4" />
  <set name="graph_ovp_color" value="#0000ff" />
  <set name="graph_ovp_alpha" value="40" />
  </variables>
  <layout>
  <shape type="rectangle" position="2x2" size="127x132"
    color="#85A9DA" alpha="35">
  </shape>
 
  <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="100" align="top-right">
    <line>{{padding($stat_anidb_ownviewedp,2,"right");}}% watched</line>
  </text>
  <text position="6x100" color="#FFFFFF" alpha="100">
    <line>Currently Watching:</line>
    <line> {{truncate($watching_id1_aname,16,"..")}}</line>
    <line> {{truncate($watching_id2_aname,16,"..")}}</line>
  </text>
  <text position="100x114" color="#FFFFFF" alpha="100">
    <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>
  </text>
  <text position="36x55" color="#FFFFFF" alpha="100">
    <line>MyList:</line>
    <line>{{padding($stat_mylist_epcount, 7, "right");}} Episodes</line>
    <line>{{padding($stat_anidb_viewedepcnt, 7, "right");}} Watched</line>
  </text>
  <text position="36x12" color="#FFFFFF" alpha="100">
      <line>Anidb:</line>
      <line>{{padding($anidbstat_acount,6)}} animes</line>
      <line>{{padding($anidbstat_epcount,6)}} episodes</line>
    </text>
  </layout>
</signature>
72

edits

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