SigServer:Examples: Difference between revisions

(→‎Signature Image: Attempted to fix grammar and spelling)
Line 1,220: Line 1,220:
<!-- This is for a image size 350x60 !-->
<!-- This is for a image size 350x60 !-->
<!-- Generate some Settings for easier Handling !-->
<!-- Generate some Settings for easier Handling !-->
<!-- SIG Version 1.1 -->
<!-- Text Field Color -->
<!-- Text Field Color -->
{{@text_bg_color="#CAF7DF";}}
{{@text_bg_color="#CAF7DF";}}
Line 1,230: Line 1,231:
<!-- This a Small Feature that show today and yesterday set it true/false if you like it -->
<!-- This a Small Feature that show today and yesterday set it true/false if you like it -->
{{@personal_showtoday=true}}
{{@personal_showtoday=true}}
<!-- Time Calculation -->
{{@time_days=floor($stat_anidb_viewedlength / 1440)}}
{{@time_hour=floor($stat_anidb_viewedlength / 60) - @time_days * 24}}
{{@time_mins=$stat_anidb_viewedlength - floor($stat_anidb_viewedlength / 60) * 60}}
<!-- Automatic Position Fixes -->
<!-- Nick Position Correction -->
<!-- Nick Position Correction -->
{{@textfield_nick_top_pos=43}}
{{@textfield_nick_top_pos=43}}
{{@textfield_nick_left_pos=8}}
{{@textfield_nick_left_pos=8}}
{{@textfield_nick_font_size=11}}
{{@textfield_nick_font_size=11}}
<!-- If you not know what you do, you should do nothing bellow this line ;) -->
<!-- Nick Length 8 is the best... it will be truncated -->
<!-- Nick Length 8 is the best... it will be truncated -->
{{@textfield_nick_length=8}}
{{@textfield_nick_length=8}}
<!-- Time Calculation -->
{{@time_days=floor($stat_anidb_viewedlength / 1440)}}
{{@time_hour=floor($stat_anidb_viewedlength / 60) - @time_days * 24}}
{{@time_mins=$stat_anidb_viewedlength - floor($stat_anidb_viewedlength / 60) * 60}}
<!-- Top Positions of the Textfields -->
<!-- Top Positions of the Textfields -->
{{@textfield_min_top_pos=1}}
{{@textfield_min_top_pos=1}}
<!-- Personal Date prepareing -->
<!-- Personal Date prepareing -->
{{@today=date("Y-n-j")}}
{{@today=date("Y-n-j")}}
Line 1,257: Line 1,259:
{{@is_yesterday=if(date("Y-m-j",@yesterday_stamp)==date("Y-m-j", $latestwatched_id1_viewdate),@personal_showtoday,false)}}
{{@is_yesterday=if(date("Y-m-j",@yesterday_stamp)==date("Y-m-j", $latestwatched_id1_viewdate),@personal_showtoday,false)}}
{{@current_date=notempty(@personal_date, if(@is_today, "Today", if(@is_yesterday, "Yesterday", date(@personal_date, $latestwatched_id1_viewdate))))}}
{{@current_date=notempty(@personal_date, if(@is_today, "Today", if(@is_yesterday, "Yesterday", date(@personal_date, $latestwatched_id1_viewdate))))}}
{{@date_output=notempty(@personal_date, " on " + @current_date, "")}}
{{@date_on=if(@is_yesterday || @is_today, " ", " on ")}}
{{@time_output=notempty(@personal_time, " at " + date(@personal_time, $latestwatched_id1_viewdate), "")}}
{{@date_output=notempty(@personal_date, @date_on + @current_date, "")}}
{{@time_output=notempty(@personal_time, ", at " + date(@personal_time, $latestwatched_id1_viewdate), "")}}
<variables>
<variables>
     <default element="text" name="face" value="proggytiny"/>
     <default element="text" name="face" value="proggytiny"/>
Line 1,271: Line 1,274:
<!-- Some Basics Stats -->
<!-- Some Basics Stats -->
<shape type="rectangle"  
<shape type="rectangle"  
position="58x{{@textfield_min_top_pos}}"
position="52x{{@textfield_min_top_pos}}"
size="162x36"
size="164x36"
color="{{@text_bg_color}}"
color="{{@text_bg_color}}"
alpha="{{@text_bg_alpha}}">
alpha="{{@text_bg_alpha}}">
</shape>
</shape>
<text position="60x{{@textfield_min_top_pos + 9}}">
<text position="54x{{@textfield_min_top_pos + 9}}">
<line> MyList / Anidb Stats</line>
<line> MyList / Anidb Stats</line>
<line>{{padding($stat_mylist_acount, 7, "right");}} / {{padding($anidbstat_acount,7, "left")}} Animes</line>
<line>{{padding($stat_mylist_acount, 7, "right");}} / {{padding($anidbstat_acount,7, "left")}} Animes</line>
Line 1,283: Line 1,286:
<!-- The time i wasted for Anime :D -->
<!-- The time i wasted for Anime :D -->
<shape type="rectangle"  
<shape type="rectangle"  
position="228x{{@textfield_min_top_pos}}"
position="220x{{@textfield_min_top_pos}}"
size="82x36"
size="90x36"
color="{{@text_bg_color}}"
color="{{@text_bg_color}}"
alpha="{{@text_bg_alpha}}">
alpha="{{@text_bg_alpha}}">
</shape>
</shape>
<text position="230x{{@textfield_min_top_pos + 9}}">
<text position="226x{{@textfield_min_top_pos + 9}}">
<line>Watchtime for</line>
<line>Watchtime for</line>
<line>{{padding($stat_anidb_viewedepcnt, 6, "right")}} Eps</line>
<line>{{padding($stat_anidb_viewedepcnt, 9, "right")}} Eps</line>
<line>{{padding(@time_days, 4, "right")}}d:{{if(length(@time_hour) == 1, "0" , "")}}{{@time_hour}}h:{{if(length(@time_mins) == 1, "0" , "")}}{{@time_mins}}m</line>
<line>{{padding(@time_days, 4, "right")}}d:{{if(length(@time_hour) == 1, "0" , "")}}{{@time_hour}}h:{{if(length(@time_mins) == 1, "0" , "")}}{{@time_mins}}m</line>
</text>
</text>
<!-- Latest Anime Watch -->
<!-- Latest Anime Watch -->
<shape type="rectangle"  
<shape type="rectangle"  
position="58x{{@textfield_min_top_pos + 39}}"
position="52x{{@textfield_min_top_pos + 39}}"
size="252x20"
size="258x20"
color="{{@text_bg_color}}"
color="{{@text_bg_color}}"
alpha="{{@text_bg_alpha}}">
alpha="{{@text_bg_alpha}}">
</shape>
</shape>
<text position="60x{{@textfield_min_top_pos + 46}}" face="tempesta-6" size="6" line-space="1.5">
<text position="54x{{@textfield_min_top_pos + 46}}" face="tempesta-6" size="6" line-space="1.5">
<line>Last Watch{{@date_output}}{{@time_output}}:</line>
<line>Last Watched{{@date_output}}{{@time_output}}:</line>
<line>{{if(length($latestwatched_id1_aname) > 39, truncate($latestwatched_id1_aname, 36, "..."), $latestwatched_id1_aname)}} ({{$latestwatched_id1_enumber}})</line>
<line>{{if(length($latestwatched_id1_aname) > 39, truncate($latestwatched_id1_aname, 36, "..."), $latestwatched_id1_aname)}} ({{$latestwatched_id1_enumber}})</line>
</text>
</text>
6

edits

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