SigServer:Examples: Difference between revisions

Jump to navigation Jump to search
→‎Sig2: Updated
(→‎Sig1: Updated)
(→‎Sig2: Updated)
Line 110: Line 110:
== Sig2 ==
== Sig2 ==
by EXP, 2007-11-25<br>
by EXP, 2007-11-25<br>
improved by HiEv, 2008-07-09<br>
'''WARNING: This signature image exceeds the size limits of the ARC forum.'''
'''WARNING: This signature image exceeds the size limits of the ARC forum.'''


Line 118: Line 119:
<pre>
<pre>
<signature>
<signature>
 
  <!-- Defaults -->
<variables>
  <defaults>
  <default element="text" name="face" value="proggytiny"/>
    <text face="proggytiny" size="12" line-space="1" />
  <default element="text" name="size" value="12"/>
  </defaults>
  <default element="text" name="line-space" value="1"/>
  <!-- Layout -->
</variables>
 
<layout>
<layout>
   <shape type="rectangle" position="213x4" size="266x142"
  <!-- Main Text Box -->
    color="#ffffff" alpha="40">
   <shape type="rectangle" position="213x4" size="266x142" color="#ffffff" alpha="40" />
   </shape>
   <!-- Currently Watching -->
 
  {{@latestwatched=if($watching_id1_aname,date("d/m",$watching_id1_viewdate)+" "+padding($watching_id1_state_seenepcount,2)+"/"+padding(if($watching_id1_eps,$watching_id1_eps,"??"),2)+" "+truncate($watching_id1_aname,29,".."),"no anime watched in last two weeks")}}
   <text position="215x15">
   <text position="215x15">
     <line>Currently Watching:</line>
     <line>Currently Watching:</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> {{@latestwatched}}</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 display="{{if($watching_id2_aname)}}"> {{date("d/m",$watching_id2_viewdate)}} {{padding($watching_id2_state_seenepcount,2)}}/{{padding(if($watching_id2_eps,$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>
     <line display="{{if($watching_id3_aname)}}"> {{date("d/m",$watching_id3_viewdate)}} {{padding($watching_id3_state_seenepcount,2)}}/{{padding(if($watching_id3_eps,$watching_id3_eps,"??"),2)}} {{truncate($watching_id3_aname,29,"..")}}</line>
   </text>
   </text>
 
  <!-- Just Finished -->
  {{@latestfinished=if($finishedwatching_id1_aname,date("d/m",$finishedwatching_id1_viewdate)+" "+truncate($finishedwatching_id1_aname,35,".."),"no anime watched in last two months")}}
   <text position="215x68">
   <text position="215x68">
     <line>Just Finished:</line>
     <line>Just Finished:</line>
     <line> {{date("d.m.",$finishedwatching_id1_viewdate);}} {{truncate($finishedwatching_id1_aname,35,"..")}}</line>
     <line> {{@latestfinished}}</line>
     <line> {{date("d.m.",$finishedwatching_id2_viewdate);}} {{truncate($finishedwatching_id2_aname,35,"..")}}</line>
     <line display="{{if($finishedwatching_id2_aname)}}"> {{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>
     <line display="{{if($finishedwatching_id3_aname)}}"> {{date("d/m",$finishedwatching_id3_viewdate)}} {{truncate($finishedwatching_id3_aname,35,"..")}}</line>
   </text>
   </text>
 
  <!-- Latest Votes -->
  {{@latestvote=if($latestvote_id1_aname,date("d/m",$latestvote_id1_date)+padding(precision($latestvote_id1_vote,2),5,"right")+" "+truncate($latestvote_id1_aname, 30, ".."),"no votes yet")}}
   <text position="215x120">
   <text position="215x120">
     <line>Latest Votes:</line>
     <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_id1_vote>8,"#cc0000","#000000")}}"> {{@latestvote}}</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>
    <line display="{{if($latestvote_id2_aname)}}" 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>
 
  <!-- Date and Time -->
   <text position="65x148" align="bottom-left" face="courier"
   <text position="65x146" align="bottom-left" face="courier" size="6">
    size="6">
     <line>AniDB.net {{date("Y-m-d H:i")}}</line>
     <line>AniDB.net {{date("Y-m-d H:i")}}</line>
   </text>
   </text>
 
  <!-- Percent Watched Bar -->
   <shape type="rectangle" position="7x7" size="11x136"
   <shape type="rectangle" position="7x7" size="11x136" hollow="true" alpha="50" />
      hollow="true" alpha="50"></shape>
   <shape type="rectangle" position="10x{{7 + (132-round($stat_anidb_ownviewedp*1.32))}}" color="#ff0000"
   <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>
       size="5x{{round($stat_anidb_ownviewedp*1.32)}}" alpha="50" />
   <text position="28x140" angle="90" alpha="80">
   <text position="28x140" angle="90" alpha="80">
     <line>{{padding($stat_anidb_ownviewedp,2,"right");}}% watched</line>
     <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" alpha="50" />
      hollow="true" alpha="50"></shape>
   <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="#ff0000"
       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" angle="90" alpha="80">
   <text position="56x140" angle="90" alpha="80">
     <line>{{padding($stat_anidb_totalownedp,2,"right");}}% collected</line>
     <line>{{padding($stat_anidb_totalownedp,2,"right")}}% collected</line>
   </text>
   </text>
</layout>
</layout>
128

edits

Navigation menu

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