SigServer:Examples: Difference between revisions

Jump to navigation Jump to search
Line 298: Line 298:
=== Additional Images used ===
=== Additional Images used ===
none
none
== Sig5 ==
by EXP, 2007-11-29
=== Signature Image ===
[[Image:SigServer-Example-Sig5.png]]
=== Source ===
<pre>
<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>
</pre>
=== Additional Images used ===
[[Image:SigServer-Example-Sig5-Raw1.png]]


= Example Images - Contributions =
= Example Images - Contributions =

Navigation menu

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