SigServer:Examples: Difference between revisions

Jump to navigation Jump to search
→‎Signature Example 11: Soulweaver changelog
(TOC was overlapping source box. ===Signature Image=== and ===Source=== removed from TOC by using "hack", i.e. {{h4|Signature Image}})
(→‎Signature Example 11: Soulweaver changelog)
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}
= About Signature Server Example Signatures =
= About Signature Server Example Signatures =


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


Feel free to add your own example signatures here.
Feel free to add your own example signatures here.
Line 12: Line 13:
by EXP, 2007-11-23<br>
by EXP, 2007-11-23<br>
improved by HiEv, 2008-07-09<br>
improved by HiEv, 2008-07-09<br>
'''WARNING: This signature image exceeds the size limits of the [http://forum.anime-reactor.net/ ARC forum].'''
{{eyecatch|Warning|This signature image exceeds the size limits of the [http://forum.anime-reactor.net/ ARC forum].}}


{{h4|Signature Image}}
{{h4|Signature Image}}
Line 19: Line 20:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature>
<signature>
Line 108: Line 110:
</signature>
</signature>
</pre>
</pre>
</div>


== Sig2 ==
== Sig2 ==
by EXP, 2007-11-25<br>
by EXP, 2007-11-25<br>
improved by HiEv, 2008-07-09<br>
improved by HiEv, 2008-07-09<br>
'''WARNING: This signature image exceeds the size limits of the ARC forum.'''
{{eyecatch|Warning|This signature image exceeds the size limits of the [http://forum.anime-reactor.net/ ARC forum].}}


{{h4|Signature Image}}
{{h4|Signature Image}}
Line 119: Line 122:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature>
<signature>
Line 173: Line 177:
</signature>
</signature>
</pre>
</pre>
</div>


== Sig3 ==
== Sig3 ==
Line 182: Line 187:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature>
<signature>
Line 227: Line 233:
</signature>
</signature>
</pre>
</pre>
</div>


== Sig4 ==
== Sig4 ==
by EXP, 2007-11-25<br>
by EXP, 2007-11-25<br>
'''WARNING: This signature image exceeds the size limits of the ARC forum.'''
{{eyecatch|Warning|This signature image exceeds the size limits of the [http://forum.anime-reactor.net/ ARC forum].}}


{{h4|Signature Image}}
{{h4|Signature Image}}
Line 237: Line 244:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature>
<signature>
Line 280: Line 288:
</signature>
</signature>
</pre>
</pre>
</div>


== Sig5 ==
== Sig5 ==
Line 289: Line 298:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature>
<signature>
Line 369: Line 379:
</signature>
</signature>
</pre>
</pre>
</div>


== Sig6 ==
== Sig6 ==
Line 378: Line 389:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature>
<signature>
Line 396: Line 408:
</signature>
</signature>
</pre>
</pre>
</div>


== Sig7 ==
== Sig7 ==
Line 405: Line 418:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature>
<signature>
Line 428: Line 442:
</signature>
</signature>
</pre>
</pre>
</div>


== Sig8 ==
== Sig8 ==
Line 437: Line 452:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature>
<signature>
Line 458: Line 474:
</signature>
</signature>
</pre>
</pre>
</div>


= Example Images - Contributions =
= Example Images - Contributions =
Line 467: Line 484:
(Anime-Reactor Sized)  
(Anime-Reactor Sized)  


Note: Used parts of the sample codes.
{{eyecatchLight|Note|Used parts of the sample codes.}}


{{h4|Signature Image}}
{{h4|Signature Image}}
Line 476: Line 493:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature>
<signature>
Line 517: Line 535:
</signature>
</signature>
</pre>
</pre>
</div>


== Signature Example 2 ==
== Signature Example 2 ==
Line 523: Line 542:
(Anime-Reactor Sized)  
(Anime-Reactor Sized)  


Note: Used parts of the sample codes to start with. Special Thanks: hrm.
{{eyecatchLight|Note|Used parts of the sample codes to start with. Special thanks: hrm.}}


{{h4|Signature Image}}
{{h4|Signature Image}}
Line 532: Line 551:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature>
<signature>
Line 586: Line 606:
</signature>
</signature>
</pre>
</pre>
</div>


== Signature Example 3 ==
== Signature Example 3 ==
Line 592: Line 613:
(Anime-Reactor Sized)  
(Anime-Reactor Sized)  


Note: Used parts of the sample codes to start with. Special Thanks: hrm.
{{eyecatchLight|Note|Used parts of the sample codes to start with. Special Thanks: hrm.}}


{{h4|Signature Image}}
{{h4|Signature Image}}
Line 601: Line 622:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature>
<signature>
Line 662: Line 684:
</signature>
</signature>
</pre>
</pre>
</div>


== Signature Example 4 ==
== Signature Example 4 ==
Line 672: Line 695:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<?xml version="1.0" encoding="windows-1250"?>
<?xml version="1.0" encoding="windows-1250"?>
Line 809: Line 833:
</signature>
</signature>
</pre>
</pre>
</div>


== Signature Example 5 ==
== Signature Example 5 ==
Line 818: Line 843:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature quality="90">
<signature quality="90">
Line 967: Line 993:
        
        
  </layout>
  </layout>
</signature>
</signature>
</pre>
</pre>
</div>


== Signature Example 6 ==
== Signature Example 6 ==
Line 979: Line 1,005:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<!-- This is a pretty basic, though flexible signature. Without modification, it should
<!-- This is a pretty basic, though flexible signature. Without modification, it should
Line 986: Line 1,013:
-->
-->
<signature>
<signature>
   <!-- variables -->
   <!-- variables -->
       <!-- If you change @Top_bar_height, the text in that bar will stay centred. The
       <!-- If you change @Top_bar_height, the text in that bar will stay centred. The
           text in the bottom bar is placed relative to the bottom of the sig.
           text in the bottom bar is placed relative to the bottom of the sig.
Line 1,004: Line 1,029:
   
   
   <defaults>
   <defaults>
     <text
     <text
         face="victorpixel"
         face="victorpixel"
Line 1,021: Line 1,045:
         color="#ffff88"
         color="#ffff88"
     />
     />
   </defaults>
   </defaults>
   <layout>
   <layout>


Line 1,130: Line 1,152:
       -->
       -->
   </layout>
   </layout>
</signature>
</signature>
</pre>
</pre>
 
</div>


== Signature Example 7 ==
== Signature Example 7 ==
Line 1,145: Line 1,166:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature>
<signature>
Line 1,179: Line 1,201:
</signature>
</signature>
</pre>
</pre>
</div>


== Signature Example 8 ==
== Signature Example 8 ==
Line 1,190: Line 1,213:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature>
<signature>
Line 1,214: Line 1,238:
</signature>
</signature>
</pre>
</pre>
 
</div>


== Signature Example 9 ==
== Signature Example 9 ==
Line 1,229: Line 1,253:
Format: PNG (recommended, but not required)
Format: PNG (recommended, but not required)


At the top of the code you can set the colors to make it more suitable for your Sig image.
At the top of the code you can set the colours to make it more suitable for your Sig image.


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature>
<signature>
Line 1,342: Line 1,367:
</signature>
</signature>
</pre>
</pre>
</div>


== Signature Example 10 ==
== Signature Example 10 ==
Line 1,348: Line 1,374:
{{h4|Signature Image}}
{{h4|Signature Image}}


http://www.wikijapon.com/x/SigImage10.png
[[Image:SigExample10.png]]


Based on the layout of "Sig8" by EXP
Based on the layout of "Sig8" by EXP
Line 1,355: Line 1,381:


{{h4|Source}}
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<pre>
<signature>
<signature>
Line 1,373: Line 1,400:
</signature>
</signature>
</pre>
</pre>
</div>
== Signature Example 11 ==
by [[User:Soulweaver|Soulweaver]] 18th February 2011 (last updated 24th February 2013)
* Updated by [[User:CDB-Man|CDB-Man]] 12th August 2015 to v1.42
** Included unpushed changes by Soulweaver
** Made a few minor tweaks
{{h4|Signature Image}}
[[Image:SigExample11.png]]
Size: 500x144px (meaning it is too large for ARC forums)
Uses a custom image on the background ([[:File:Rainbowbg.jpg]]), though you may use your own.
{{h4|Source}}
<div style="height: 160px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller">
<pre>
<!--
  NEON RAINBOW ANIDB SIGNATURE TEMPLATE
  Designed by Soulweaver
  Version 1.41, 24th Feb 2013
  Edited by CDB-Man
  Version 1.42, 12th Aug 2015
 
 
  ATTENTION:
  This template is only designed for use with a single signature size,
  which is 500x144 pixels. If you're attempting to use this in other
  sizes, changes are required.
  This signature is not within the AnimeReactor forum limits; that's apparently
  somehow relevant.
  See below the section with variables you can use to customize the look easily.
  Version history:
  1.00    Initial completed version
  1.10    Added background bars for recently watched
          Timezone hack for broken date function
  1.11    Changed the watched % value so that it doesn't expect you to watch
          all mylisted files of a certain episode anymore
  1.12    Changed the default fonts and moved the stats box contents around
  1.13    Conditional check for the ep count of last watched/voted
          (prevent "1 episodes" from showing up)
  1.20    Add dates for all four recent anime
          Show episode name of latest watched anime
  1.21    Fix the episode number for latest watched episode if it is not the
          same as # of seen episodes
  1.22    Fix the problem if there isn't enough recent anime to display
  1.23    Cap the progress bar length to 100% if more watched eps than total ep
          count (e.g. segmented files of a movie)
  1.30    Various changes:
          Fix last completed & voted text max. lengths,
          Fix last voted box width error
          Add variables for easier color changes
          Allow generation timestamp and total watched time to be hidden
          Add no anime images mode
          Show template version on the image
  1.31    Progress bar fixes due to erroneous changes in last version
  1.40    Toggle for different display for airing series and for one ep stuff
          Slightly compressed mylist view (shows last addition in the extra space)
          Better solution for progress bars of single ep segmented movies/specials
          Last rated ep. count can now be "TBA" too
  1.40a  - Edited by me (based on Soulweaver unpushed change), changed <shape type="rectangle" size="1x1" /> from size="100x100" in the Default Values section
          - Edited by me, added GMT {{@timezone}} to the Current Time section
          - Edited by me (based on Soulweaver unpushed change), added restricted="true" to <image> tag defaults, as a hack workaround,
            since glitch causes 2010 and newer anime to not load image unless 18+ tag is flagged true
  1.41    Change default values to minimize issues with the signature system
          limitations: default rectangle size is now 1x1 (there was no need for it
          to be 100x100 in the first place), all images are shown now by default
          (fixes non-hentai images from being hidden at the expense of hentai images
          also showing)
          Fix an oversight with the last added file field
1.41a    Changed show vote precision to 2
          Added "GMT {{@timezone}}" to the Current Time section
  1.42    Restricted image glitch is no longer broken.  Added a toggle for this setting
-->
<signature>
  {{@version="1.42"}}
  {{@isbeta=false}}
  <!-- USER PREFERENCE VARIABLES -->
    <!-- FONTS -->
  {{@titlefont="pixchicago-6"}}
  {{@titlesize=6}}
  {{@atitlefont="tempesta_condensed_bold-6"}}
  {{@atitlesize=6}}
  {{@adatafont="tempesta-6"}}
  {{@adatasize=6}}
    <!-- LINE SPACING FOR STATS BOX -->
  {{@atitlels=1.2}}
  {{@adatals=1.2}}
    <!-- OTHER VISUALS -->
  {{@titleshadow="#3f3f7f"}}
  {{@boxalpha=60}}
  {{@boxbg="#000000"}}
  {{@boxbor="#000000"}}
  {{@textcol="#ffffff"}}
    <!-- TOGGLE ELEMENTS -->
  {{@showgenstamp=true}} <!-- show image generation time timestamp -->
  {{@showtotaltime=true}} <!-- show anime total time -->
  {{@useimages=true}} <!-- whether to use anime images -->
  {{@restrictedimages=false}} <!-- whether to show 18+ restricted images -->
  {{@altairing=true}} <!-- shows "Airing" instead of no rating for incomplete series -->
  {{@hidesingleep=true}} <!-- hides some ep stuff for one ep series (e.g. movies) -->
  {{@condensedeps=true}} <!-- condenses eps and eps watched into one in mylist stats -->
    <!-- DATE FORMATTING -->
  {{@datemask="jS M Y h: ia"}} <!-- Please refer to PHP's date function -->
  {{@timezone="-5"}} <!-- use only full hours from GMT, e.g. 2 or -6 -->
    <!-- TIMEZONE DIFFERENCE FINETUNE:
        First, set the timezone variable above so that the times on last watched
        entries are correct. Then, if the image generation timestamp is not correct,
        finetune it by changing this variable. -->
    {{@difffix="-1"}}
    <!-- PROGRESS BARS -->
  {{@progressbars=true}} <!-- set to false to not use -->
  {{@pbfgcolor="#00af00"}}
  {{@pbbgcolor="#6f8f6f"}}
<!-- =============================================================================== -->
  <!-- PRECALCULATED VARIABLES -->
    <!-- TITLE -->
  {{@titletext=$Sig_username + " - AniDB Statistics"}}
  {{@titleleftpos= 250-floor(lengthw(@titletext,@titlefont,@titlesize)/2) }}
    <!-- RECENT VISIBILITY -->
  {{@wshow1 = $watching_id1_aid>0}}
  {{@wshow2 = $watching_id2_aid>0}}
  {{@wshow3 = $watching_id3_aid>0}}
  {{@wshow4 = $watching_id4_aid>0}}
    <!-- RATINGS -->
  {{@wrating1 = fetchvar("$animestat_a"+$watching_id1_aid+"_rating")}}
  {{@wrating2 = fetchvar("$animestat_a"+$watching_id2_aid+"_rating")}}
  {{@wrating3 = fetchvar("$animestat_a"+$watching_id3_aid+"_rating")}}
  {{@wrating4 = fetchvar("$animestat_a"+$watching_id4_aid+"_rating")}}
  {{@lfrating = fetchvar("$animestat_a"+$finishedwatching_id1_aid+"_rating")}}
  {{@lvrating = fetchvar("$animestat_a"+$latestvote_id1_aid+"_rating")}}
  {{@lveps = fetchvar("$animestat_a"+$latestvote_id1_aid+"_etotal")}}
    <!-- TOTAL TIME -->
  {{@tyr = floor($stat_anidb_viewedlength/(60*24*365))}}
  {{@tday = floor(mod($stat_anidb_viewedlength/60/24,365))}}
  {{@thr = floor(mod($stat_anidb_viewedlength/60,24))}}
  {{@tmin = floor(mod($stat_anidb_viewedlength,60))}}
  {{@timetext = "Time spent on anime: "+if(@tyr>0,@tyr+" yrs ","")+if(@tday>0,@tday+" days ","")+if(@thr>0,@thr+" hrs ","")+if(@tmin>0,@tmin+" min ","")}}
  {{@timeleftpos= 352-floor(lengthw(@timetext,@adatafont,@adatasize)/2) }}
    <!-- TOTAL SIZE -->
  {{@sgb = $stat_mylist_fsize / 1024}}
  {{@stb = $stat_mylist_fsize / 1048576}}
    <!-- MYLIST -->
  {{@mlpercent = precision($stat_anidb_viewedepcnt/$stat_mylist_epcount*100,2)+"%"}}
  {{@fsize = if(@stb>=1,precision(@stb,2)+" TB",if(@sgb>=1,precision(@sgb,2)+" GB",$stat_mylist_fsize+" MB"))}}
  {{@lastmltext = truncatew("Last addition: "+$latestfile_id1_aname+if((fetchvar("$animestat_a" + $latestfile_id1_aid + "_etotal") == 1) && @hidesingleep,""," Ep. "+$latestfile_id1_enumber),294,@adatafont,@adatasize,"..."+if((fetchvar("$animestat_a" + $latestfile_id1_aid + "_etotal") == 1) && @hidesingleep,""," Ep. "+$latestfile_id1_enumber)) }}
  {{@lastmlpos= 352-floor(lengthw(@lastmltext,@adatafont,@adatasize)/2) }}
    <!-- PROGBAR PROGRESS -->
  {{@a1progress = min(1,if($watching_id1_eps==1,$watching_id1_state_seenepcount/$watching_id1_state_epcount,$watching_id1_state_seenepcount/if($watching_id1_eps==0,fetchvar("$animestat_a"+$watching_id1_aid+"_lastep_enumber")+1,$watching_id1_eps)))}}
  {{@a2progress = min(1,if($watching_id2_eps==1,$watching_id2_state_seenepcount/$watching_id2_state_epcount,$watching_id2_state_seenepcount/if($watching_id2_eps==0,fetchvar("$animestat_a"+$watching_id2_aid+"_lastep_enumber")+1,$watching_id2_eps)))}}
  {{@a3progress = min(1,if($watching_id3_eps==1,$watching_id3_state_seenepcount/$watching_id3_state_epcount,$watching_id3_state_seenepcount/if($watching_id3_eps==0,fetchvar("$animestat_a"+$watching_id3_aid+"_lastep_enumber")+1,$watching_id3_eps)))}}
  {{@a4progress = min(1,if($watching_id4_eps==1,$watching_id4_state_seenepcount/$watching_id4_state_epcount,$watching_id4_state_seenepcount/if($watching_id4_eps==0,fetchvar("$animestat_a"+$watching_id4_aid+"_lastep_enumber")+1,$watching_id4_eps)))}}
    <!-- TIMEZONE HACK -->
  {{@gt_fixed = date("i:s")}} {{@gt_hr = round(date("G"),0) + @timezone + @difffix}}
  {{@gt_d = round(date("j"),0)}} {{@gt_m = round(date("n"),0)}} {{@gt_y = round(date("Y"),0)}}
  {{@gt_dom = round(date("t"),0)}} {{@gt_ly = if(date("L")=="1",29,28) }}
  {{@gt_ldom = if(@gt_m-1==2,@gt_ly,if(@gt_m-1==4,30,if(@gt_m-1==6,30,if(@gt_m-1==9,30,if(@gt_m-1==11,30,31))))) }}
      <!-- FIX HR OVERFLOW -->
  {{@gt_d = if(@gt_hr>23,@gt_d+1,@gt_d)}}    {{@gt_hr = if(@gt_hr>23,@gt_hr-24,@gt_hr)}}
      <!-- FIX D OVERFLOW -->
  {{@gt_m = if(@gt_d>@gt_dom,@gt_m+1,@gt_m)}} {{@gt_d = if(@gt_d>@gt_dom,1,@gt_d)}}
      <!-- FIX M OVERFLOW -->
  {{@gt_y = if(@gt_m>12,@gt_y+1,@gt_y)}}      {{@gt_m = if(@gt_m>12,1,@gt_m)}}
      <!-- FIX HR UNDERFLOW -->
  {{@gt_d = if(@gt_hr<0,@gt_d-1,@gt_d)}}    {{@gt_hr = if(@gt_hr<0,@gt_hr+24,@gt_hr)}}
      <!-- FIX D UNDERFLOW -->
  {{@gt_m = if(@gt_d<1,@gt_m-1,@gt_m)}}      {{@gt_d = if(@gt_d<1,@gt_ldom,@gt_d)}}
      <!-- FIX M UNDERFLOW -->
  {{@gt_y = if(@gt_m<1,@gt_y-1,@gt_y)}}      {{@gt_m = if(@gt_m<1,12,@gt_m)}}
  {{@gentime = date(@datemask,@gt_y+"-"+if(@gt_m<10,"0","")+@gt_m+"-"+if(@gt_d<10,"0","")+@gt_d+"T"+if(@gt_hr<10,"0","")+@gt_hr+":"+@gt_fixed) }}
    <!-- TIMEZONE HACK -->
  {{@wt_fixed = date("i:s",$watching_id1_viewdate))}}
  {{@wt_hr = round(date("G",$watching_id1_viewdate),0) + @timezone}}
  {{@wt_d = round(date("j",$watching_id1_viewdate),0)}}
  {{@wt_m = round(date("n",$watching_id1_viewdate),0)}}
  {{@wt_y = round(date("Y",$watching_id1_viewdate),0)}}
  {{@wt_dom = round(date("t",$watching_id1_viewdate),0)}}
  {{@wt_ly = if(date("L",$watching_id1_viewdate)=="1",29,28) }}
  {{@wt_ldom = if(@wt_m-1==2,@wt_ly,if(@wt_m-1==4,30,if(@wt_m-1==6,30,if(@wt_m-1==9,30,if(@wt_m-1==11,30,31))))) }}
      <!-- FIX HR OVERFLOW -->
  {{@wt_d = if(@wt_hr>23,@wt_d+1,@wt_d)}}    {{@wt_hr = if(@wt_hr>23,@wt_hr-24,@wt_hr)}}
      <!-- FIX D OVERFLOW -->
  {{@wt_m = if(@wt_d>@wt_dom,@wt_m+1,@wt_m)}} {{@wt_d = if(@wt_d>@wt_dom,1,@wt_d)}}
      <!-- FIX M OVERFLOW -->
  {{@wt_y = if(@wt_m>12,@wt_y+1,@wt_y)}}      {{@wt_m = if(@wt_m>12,1,@wt_m)}}
      <!-- FIX HR UNDERFLOW -->
  {{@wt_d = if(@wt_hr<0,@wt_d-1,@wt_d)}}    {{@wt_hr = if(@wt_hr<0,@wt_hr+24,@wt_hr)}}
      <!-- FIX D UNDERFLOW -->
  {{@wt_m = if(@wt_d<1,@wt_m-1,@wt_m)}}      {{@wt_d = if(@wt_d<1,@wt_ldom,@wt_d)}}
      <!-- FIX M UNDERFLOW -->
  {{@wt_y = if(@wt_m<1,@wt_y-1,@wt_y)}}      {{@wt_m = if(@wt_m<1,12,@wt_m)}}
  {{@wtime1 = date(@datemask,@wt_y+"-"+if(@wt_m<10,"0","")+@wt_m+"-"+if(@wt_d<10,"0","")+@wt_d+"T"+if(@wt_hr<10,"0","")+@wt_hr+":"+@wt_fixed) }}
    <!-- TIMEZONE HACK -->
  {{@wt_fixed = date("i:s",$watching_id2_viewdate))}}
  {{@wt_hr = round(date("G",$watching_id2_viewdate),0) + @timezone}}
  {{@wt_d = round(date("j",$watching_id2_viewdate),0)}}
  {{@wt_m = round(date("n",$watching_id2_viewdate),0)}}
  {{@wt_y = round(date("Y",$watching_id2_viewdate),0)}}
  {{@wt_dom = round(date("t",$watching_id2_viewdate),0)}}
  {{@wt_ly = if(date("L",$watching_id2_viewdate)=="1",29,28) }}
  {{@wt_ldom = if(@wt_m-1==2,@wt_ly,if(@wt_m-1==4,30,if(@wt_m-1==6,30,if(@wt_m-1==9,30,if(@wt_m-1==11,30,31))))) }}
      <!-- FIX HR OVERFLOW -->
  {{@wt_d = if(@wt_hr>23,@wt_d+1,@wt_d)}}    {{@wt_hr = if(@wt_hr>23,@wt_hr-24,@wt_hr)}}
      <!-- FIX D OVERFLOW -->
  {{@wt_m = if(@wt_d>@wt_dom,@wt_m+1,@wt_m)}} {{@wt_d = if(@wt_d>@wt_dom,1,@wt_d)}}
      <!-- FIX M OVERFLOW -->
  {{@wt_y = if(@wt_m>12,@wt_y+1,@wt_y)}}      {{@wt_m = if(@wt_m>12,1,@wt_m)}}
      <!-- FIX HR UNDERFLOW -->
  {{@wt_d = if(@wt_hr<0,@wt_d-1,@wt_d)}}    {{@wt_hr = if(@wt_hr<0,@wt_hr+24,@wt_hr)}}
      <!-- FIX D UNDERFLOW -->
  {{@wt_m = if(@wt_d<1,@wt_m-1,@wt_m)}}      {{@wt_d = if(@wt_d<1,@wt_ldom,@wt_d)}}
      <!-- FIX M UNDERFLOW -->
  {{@wt_y = if(@wt_m<1,@wt_y-1,@wt_y)}}      {{@wt_m = if(@wt_m<1,12,@wt_m)}}
  {{@wtime2 = date(@datemask,@wt_y+"-"+if(@wt_m<10,"0","")+@wt_m+"-"+if(@wt_d<10,"0","")+@wt_d+"T"+if(@wt_hr<10,"0","")+@wt_hr+":"+@wt_fixed) }}
    <!-- TIMEZONE HACK -->
  {{@wt_fixed = date("i:s",$watching_id3_viewdate))}}
  {{@wt_hr = round(date("G",$watching_id3_viewdate),0) + @timezone}}
  {{@wt_d = round(date("j",$watching_id3_viewdate),0)}}
  {{@wt_m = round(date("n",$watching_id3_viewdate),0)}}
  {{@wt_y = round(date("Y",$watching_id3_viewdate),0)}}
  {{@wt_dom = round(date("t",$watching_id3_viewdate),0)}}
  {{@wt_ly = if(date("L",$watching_id3_viewdate)=="1",29,28) }}
  {{@wt_ldom = if(@wt_m-1==2,@wt_ly,if(@wt_m-1==4,30,if(@wt_m-1==6,30,if(@wt_m-1==9,30,if(@wt_m-1==11,30,31))))) }}
      <!-- FIX HR OVERFLOW -->
  {{@wt_d = if(@wt_hr>23,@wt_d+1,@wt_d)}}    {{@wt_hr = if(@wt_hr>23,@wt_hr-24,@wt_hr)}}
      <!-- FIX D OVERFLOW -->
  {{@wt_m = if(@wt_d>@wt_dom,@wt_m+1,@wt_m)}} {{@wt_d = if(@wt_d>@wt_dom,1,@wt_d)}}
      <!-- FIX M OVERFLOW -->
  {{@wt_y = if(@wt_m>12,@wt_y+1,@wt_y)}}      {{@wt_m = if(@wt_m>12,1,@wt_m)}}
      <!-- FIX HR UNDERFLOW -->
  {{@wt_d = if(@wt_hr<0,@wt_d-1,@wt_d)}}    {{@wt_hr = if(@wt_hr<0,@wt_hr+24,@wt_hr)}}
      <!-- FIX D UNDERFLOW -->
  {{@wt_m = if(@wt_d<1,@wt_m-1,@wt_m)}}      {{@wt_d = if(@wt_d<1,@wt_ldom,@wt_d)}}
      <!-- FIX M UNDERFLOW -->
  {{@wt_y = if(@wt_m<1,@wt_y-1,@wt_y)}}      {{@wt_m = if(@wt_m<1,12,@wt_m)}}
  {{@wtime3 = date(@datemask,@wt_y+"-"+if(@wt_m<10,"0","")+@wt_m+"-"+if(@wt_d<10,"0","")+@wt_d+"T"+if(@wt_hr<10,"0","")+@wt_hr+":"+@wt_fixed) }}
    <!-- TIMEZONE HACK -->
  {{@wt_fixed = date("i:s",$watching_id4_viewdate))}}
  {{@wt_hr = round(date("G",$watching_id4_viewdate),0) + @timezone}}
  {{@wt_d = round(date("j",$watching_id4_viewdate),0)}}
  {{@wt_m = round(date("n",$watching_id4_viewdate),0)}}
  {{@wt_y = round(date("Y",$watching_id4_viewdate),0)}}
  {{@wt_dom = round(date("t",$watching_id4_viewdate),0)}}
  {{@wt_ly = if(date("L",$watching_id4_viewdate)=="1",29,28) }}
  {{@wt_ldom = if(@wt_m-1==2,@wt_ly,if(@wt_m-1==4,30,if(@wt_m-1==6,30,if(@wt_m-1==9,30,if(@wt_m-1==11,30,31))))) }}
      <!-- FIX HR OVERFLOW -->
  {{@wt_d = if(@wt_hr>23,@wt_d+1,@wt_d)}}    {{@wt_hr = if(@wt_hr>23,@wt_hr-24,@wt_hr)}}
      <!-- FIX D OVERFLOW -->
  {{@wt_m = if(@wt_d>@wt_dom,@wt_m+1,@wt_m)}} {{@wt_d = if(@wt_d>@wt_dom,1,@wt_d)}}
      <!-- FIX M OVERFLOW -->
  {{@wt_y = if(@wt_m>12,@wt_y+1,@wt_y)}}      {{@wt_m = if(@wt_m>12,1,@wt_m)}}
      <!-- FIX HR UNDERFLOW -->
  {{@wt_d = if(@wt_hr<0,@wt_d-1,@wt_d)}}    {{@wt_hr = if(@wt_hr<0,@wt_hr+24,@wt_hr)}}
      <!-- FIX D UNDERFLOW -->
  {{@wt_m = if(@wt_d<1,@wt_m-1,@wt_m)}}      {{@wt_d = if(@wt_d<1,@wt_ldom,@wt_d)}}
      <!-- FIX M UNDERFLOW -->
  {{@wt_y = if(@wt_m<1,@wt_y-1,@wt_y)}}      {{@wt_m = if(@wt_m<1,12,@wt_m)}}
  {{@wtime4 = date(@datemask,@wt_y+"-"+if(@wt_m<10,"0","")+@wt_m+"-"+if(@wt_d<10,"0","")+@wt_d+"T"+if(@wt_hr<10,"0","")+@wt_hr+":"+@wt_fixed) }}
  <!-- DEFAULT VALUES -->
  <defaults>
    <text color="{{@textcol}}" face="{{@adatafont}}" size="{{@adatasize}}" align="top-left" line-space="1.6" />
    <image size="22x22" restricted="{{@restrictedimages}}" />
    <shape type="rectangle" size="1x1" />
  </defaults>
  <layout>
    <!-- BG BOXES -->
    <shape type="rectangle" position="2x2" size="496x18" color="{{@boxbg}}" alpha="{{@boxalpha}}" hollow="false" />
    <shape type="rectangle" position="2x2" size="496x18" color="{{@boxbor}}" alpha="100" hollow="true" />
    <shape type="rectangle" position="2x22" size="197x120" color="{{@boxbg}}" alpha="{{@boxalpha}}" hollow="false" />
    <shape type="rectangle" position="2x22" size="197x120" color="{{@boxbor}}" alpha="100" hollow="true" />
    <shape type="rectangle" position="201x22" size="148x40" color="{{@boxbg}}" alpha="{{@boxalpha}}" hollow="false" />
    <shape type="rectangle" position="201x22" size="148x40" color="{{@boxbor}}" alpha="100" hollow="true" />
    <shape type="rectangle" position="351x22" size="147x40" color="{{@boxbg}}" alpha="{{@boxalpha}}" hollow="false" />
    <shape type="rectangle" position="351x22" size="147x40" color="{{@boxbor}}" alpha="100" hollow="true" />
    <shape type="rectangle" position="201x64" size="297x78" color="{{@boxbg}}" alpha="{{@boxalpha}}" hollow="false" />
    <shape type="rectangle" position="201x64" size="297x78" color="{{@boxbor}}" alpha="100" hollow="true" />
    <!-- TITLE TEXTS -->
    <text position="{{@titleleftpos+1}}x5" face="{{@titlefont}}" size="{{@titlesize}}" color="{{@titleshadow}}"><line>{{@titletext}}</line></text>
    <text position="{{@titleleftpos}}x4" face="{{@titlefont}}" size="{{@titlesize}}"><line>{{@titletext}}</line></text>
    <text position="51x23" face="{{@titlefont}}" size="{{@titlesize}}"><line>Recently watched</line></text>
    <text position="{{243-if(@useimages,0,36)}}x23" face="{{@titlefont}}" size="{{@titlesize}}"><line>Last finished</line></text>
    <text position="{{393-if(@useimages,0,36)}}x23" face="{{@titlefont}}" size="{{@titlesize}}"><line>Last voted</line></text>
    <text position="316x65" face="{{@titlefont}}" size="{{@titlesize}}"><line>Mylist stats</line></text>
    <!-- CURRENT TIME -->
    <text position="497x4" align="top-right" line-space="1.2" display="{{@showgenstamp}}"><line>Generated:</line><line>{{@gentime}} GMT {{@timezone}}</line></text>
    <!--  ANIME IMAGES -->
    <image anime="{{ $watching_id1_aid }}" position="4x36" size="32x32" display="{{@wshow1 && @useimages}}" />
    <image anime="{{ $watching_id2_aid }}" position="4x70" display="{{@wshow2 && @useimages}}" />
    <image anime="{{ $watching_id3_aid }}" position="4x94" display="{{@wshow3 && @useimages}}" />
    <image anime="{{ $watching_id4_aid }}" position="4x118" display="{{@wshow4 && @useimages}}" />
    <image anime="{{ $finishedwatching_id1_aid }}" position="203x24" size="36x36" display="{{@useimages}}" />
    <image anime="{{ $latestvote_id1_aid }}" position="353x24" size="36x36" display="{{@useimages}}" />
    <!-- LATEST PROGBARS -->
    <shape type="rectangle" display="{{@progressbars && @wshow1}}" position="{{35-if(@useimages,0,32) + ceil((161+if(@useimages,0,32))*@a1progress)}}x37" size="{{163+if(@useimages,0,33) - ceil((163+if(@useimages,0,32))*@a1progress)}}x11" color="{{@pbbgcolor}}" alpha="60" />
    <shape type="rectangle" display="{{@progressbars && @wshow2}}" position="{{25-if(@useimages,0,22) + ceil((171+if(@useimages,0,22))*@a2progress)}}x71" size="{{173+if(@useimages,0,23) - ceil((173+if(@useimages,0,22))*@a2progress)}}x11" color="{{@pbbgcolor}}" alpha="60" />
    <shape type="rectangle" display="{{@progressbars && @wshow3}}" position="{{25-if(@useimages,0,22) + ceil((171+if(@useimages,0,22))*@a3progress)}}x95" size="{{173+if(@useimages,0,23) - ceil((173+if(@useimages,0,22))*@a3progress)}}x11" color="{{@pbbgcolor}}" alpha="60" />
    <shape type="rectangle" display="{{@progressbars && @wshow4}}" position="{{25-if(@useimages,0,22) + ceil((171+if(@useimages,0,22))*@a4progress)}}x119" size="{{173+if(@useimages,0,23) - ceil((173+if(@useimages,0,22))*@a4progress)}}x11" color="{{@pbbgcolor}}" alpha="60" />
    <shape type="rectangle" display="{{@progressbars && @wshow1}}" position="{{36-if(@useimages,0,32)}}x37" size="{{ceil((161+if(@useimages,0,33))*@a1progress)}}x11" color="{{@pbfgcolor}}" alpha="60" />
    <shape type="rectangle" display="{{@progressbars && @wshow2}}" position="{{26-if(@useimages,0,22)}}x71" size="{{ceil((171+if(@useimages,0,23))*@a2progress)}}x11" color="{{@pbfgcolor}}" alpha="60" />
    <shape type="rectangle" display="{{@progressbars && @wshow3}}" position="{{26-if(@useimages,0,22)}}x95" size="{{ceil((171+if(@useimages,0,23))*@a3progress)}}x11" color="{{@pbfgcolor}}" alpha="60" />
    <shape type="rectangle" display="{{@progressbars && @wshow4}}" position="{{26-if(@useimages,0,22)}}x119" size="{{ceil((171+if(@useimages,0,23))*@a4progress)}}x11" color="{{@pbfgcolor}}" alpha="60" />
    <!-- LATEST NAMES -->
    <text position="{{38-if(@useimages,0,31)}}x38" display="{{@wshow1}}">
      <line face="{{@atitlefont}}" size="{{@atitlesize}}">{{ truncatew($watching_id1_aname,129+if(@useimages,0,30)+if(($watching_id1_eps==1) && @hidesingleep,30,0),@atitlefont,@atitlesize,"...") }}</line>
      <line>{{@wtime1}}</line>
      <line>{{truncatew(if(($watching_id1_eps==1) && @hidesingleep,$latestwatched_id1_ename,"Ep. " + $latestwatched_id1_enumber + ': "' + $latestwatched_id1_ename + '"'),159+if(@useimages,0,30),@adatafont,@adatasize,'...'+if(($watching_id1_eps==1) && @hidesingleep,"",'"'))}}</line>
    </text>
    <text position="{{30-if(@useimages,0,23)}}x72" display="{{@wshow2}}">
      <line face="{{@atitlefont}}" size="{{@atitlesize}}">{{ truncatew($watching_id2_aname,137+if(@useimages,0,22)+if(($watching_id2_eps==1) && @hidesingleep,30,0),@atitlefont,@atitlesize,"...") }}</line>
      <line>{{@wtime2}}</line>
    </text>
    <text position="{{30-if(@useimages,0,23)}}x96" display="{{@wshow3}}">
      <line face="{{@atitlefont}}" size="{{@atitlesize}}">{{ truncatew($watching_id3_aname,137+if(@useimages,0,22)+if(($watching_id3_eps==1) && @hidesingleep,30,0),@atitlefont,@atitlesize,"...") }}</line>
      <line>{{@wtime3}}</line>
    </text>
    <text position="{{30-if(@useimages,0,23)}}x120" display="{{@wshow4}}">
      <line face="{{@atitlefont}}" size="{{@atitlesize}}">{{ truncatew($watching_id4_aname,137+if(@useimages,0,22)+if(($watching_id4_eps==1) && @hidesingleep,30,0),@atitlefont,@atitlesize,"...") }}</line>
      <line>{{@wtime4}}</line>
    </text>
    <text position="30x38" display="{{@wshow1==false}}">
      <line face="{{@atitlefont}}" size="{{@atitlesize}}">No recent anime to display!</line>
    </text>
    <text position="18x72" display="{{(@wshow2==false)&&@wshow1}}">
      <line face="{{@atitlefont}}" size="{{@atitlesize}}">No more recent anime to display!</line>
    </text>
    <text position="18x96" display="{{(@wshow3==false)&&@wshow2}}">
      <line face="{{@atitlefont}}" size="{{@atitlesize}}">No more recent anime to display!</line>
    </text>
    <text position="18x120" display="{{(@wshow4==false)&&@wshow3}}">
      <line face="{{@atitlefont}}" size="{{@atitlesize}}">No more recent anime to display!</line>
    </text>
    <text position="197x38" align="top-right" line-space="1.5" display="{{@wshow1}}">
      <line>{{if(($watching_id1_eps==1) && @hidesingleep,"",$watching_id1_state_seenepcount+"/"+if($watching_id1_eps==0,"TBA",$watching_id1_eps))}}</line>
      <line>{{if(@wrating1==0,if(@altairing,"Airing","R: -.--"),"R: "+precision(@wrating1,2))}}</line>
    </text>
    <text position="197x72" align="top-right" line-space="1.5" display="{{@wshow2}}">
      <line>{{if(($watching_id2_eps==1) && @hidesingleep,"",$watching_id2_state_seenepcount+"/"+if($watching_id2_eps==0,"TBA",$watching_id2_eps))}}</line>
      <line>{{if(@wrating2==0,if(@altairing,"Airing","R: -.--"),"R: "+precision(@wrating2,2))}}</line>
    </text>
    <text position="197x96" align="top-right" line-space="1.5" display="{{@wshow3}}">
      <line>{{if(($watching_id3_eps==1) && @hidesingleep,"",$watching_id3_state_seenepcount+"/"+if($watching_id3_eps==0,"TBA",$watching_id3_eps))}}</line>
      <line>{{if(@wrating3==0,if(@altairing,"Airing","R: -.--"),"R: "+precision(@wrating3,2))}}</line>
    </text>
    <text position="197x120" align="top-right" line-space="1.5" display="{{@wshow4}}">
      <line>{{if(($watching_id4_eps==1) && @hidesingleep,"",$watching_id4_state_seenepcount+"/"+if($watching_id4_eps==0,"TBA",$watching_id4_eps))}}</line>
      <line>{{if(@wrating4==0,if(@altairing,"Airing","R: -.--"),"R: "+precision(@wrating4,2))}}</line>
    </text>
    <!-- LAST FINISHED -->
    <text position="{{243-if(@useimages,0,36)}}x36" line-space="1.2">
      <line face="{{@atitlefont}}" size="{{@atitlesize}}">{{ truncatew($finishedwatching_id1_aname,109+if(@useimages,0,36),@atitlefont,@atitlesize,"...") }}</line>
      <line>{{if(($finishedwatching_id1_eps==1) && @hidesingleep,"Rating: "+if(@lfrating==0,"-.--",precision(@lfrating,2)),$finishedwatching_id1_eps+" episode"+if($finishedwatching_id1_eps==1,"","s"))}}</line>
      <line>{{if(($finishedwatching_id1_eps==1) && @hidesingleep,"","Rating: "+if(@lfrating==0,"-.--",precision(@lfrating,2)))}}</line>
    </text>
    <!-- LAST VOTED -->
    <text position="{{393-if(@useimages,0,36)}}x36" line-space="1.2">
      <line face="{{@atitlefont}}" size="{{@atitlesize}}">{{ truncatew($latestvote_id1_aname,109+if(@useimages,0,36),@atitlefont,@atitlesize,"...") }}</line>
      <line>{{if((@lveps==1) && @hidesingleep,"Rating: ",if(@lveps==1,"One ep., R: ",if(@lveps==0,"TBA eps, R: ",@lveps+" eps, R: ")))+if(@lvrating==0,"-.--",precision(@lvrating,2)))}}</line>
      <line>My vote: {{precision($latestvote_id1_vote,2))}}</line>
    </text>
    <!-- STATS, LEFT SIDE -->
    <text position="283x82" face="{{@atitlefont}}" size="{{@atitlesize}}" line-space="{{@atitlels}}">
      <line>Anime</line>
      <line>{{if(@condensedeps,"Eps watched","Episodes")}}</line>
      <line>{{if(@condensedeps,"Files","Eps watched")}}</line>
      <line>{{if(@condensedeps,"Votes","Files")}}</line>
      <line>{{if(@condensedeps,"","Votes")}}</line>
    </text>
    <text position="283x82" align="top-right" line-space="{{@adatals}}">
      <line>{{$stat_mylist_acount}}</line>
      <line>{{if(@condensedeps,$stat_anidb_viewedepcnt+"/"+$stat_mylist_epcount,$stat_mylist_epcount)}}</line>
      <line>{{if(@condensedeps,$stat_mylist_fcount,$stat_anidb_viewedepcnt)}}</line>
      <line>{{if(@condensedeps,$stat_anidb_votecount,$stat_mylist_fcount)}}</line>
      <line>{{if(@condensedeps,"",$stat_anidb_votecount)}}</line>
    </text>
    <!-- STATS, RIGHT SIDE -->
    <text position="413x82" face="{{@atitlefont}}" size="{{@atitlesize}}" line-space="{{@atitlels}}">
      <line>Eps added</line>
      <line>Files added</line>
      <line>{{if(@condensedeps,"Watched","")}}</line>
      <line>{{if(@condensedeps,"Total size","Watched")}}</line>
      <line>{{if(@condensedeps,"","Total size")}}</line>
    </text>
    <text position="413x82" align="top-right" line-space="{{@adatals}}">
      <line>{{$stat_anidb_add_epcount}}</line>
      <line>{{$stat_anidb_add_fcount}}</line>
      <line>{{if(@condensedeps,@mlpercent,"")}}</line>
      <line>{{if(@condensedeps,@fsize,@mlpercent)}}</line>
      <line>{{if(@condensedeps,"",@fsize)}}</line>
    </text>
    <text position="{{@timeleftpos}}x{{121-if(@condensedeps,8,0)}}">
      <line display="{{@showtotaltime}}">{{@timetext}}</line>
    </text>
    <text position="{{@lastmlpos}}x123">
      <line display="{{@condensedeps}}">{{@lastmltext}}</line>
    </text>
    <!-- CREDIT - cannot be enforced but I really appreciate if you leave this here -->
    <text position="496x140" align="bottom-right" face="{{@atitlefont}}" size="{{@atitlesize}}">
      <line>Design by Soulweaver * V{{precision(@version,2)}}{{if(@isbeta," BETA","")}}</line>
    </text>
    <!-- BORDER FOR THE SIG -->
    <shape type="rectangle" position="0x0" size="500x144" color="#000000" alpha="100" hollow="true" />
  </layout>
</signature>
</pre>
</div>


[[Category:SigServer]]
[[Category:SigServer]]
staff
1,111

edits

Navigation menu

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