SigServer:Examples: Difference between revisions

→‎Signature Example 11: CDB edits to update Soulweaver sig to v1.42
(→‎Signature Example 11: CDB edits to update Soulweaver sig to v1.42)
Line 1,404: Line 1,404:
== Signature Example 11 ==
== Signature Example 11 ==
by [[User:Soulweaver|Soulweaver]] 18th February 2011 (last updated 24th February 2013)
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


{{h4|Signature Image}}
{{h4|Signature Image}}
Line 1,421: Line 1,421:
   Designed by Soulweaver
   Designed by Soulweaver
   Version 1.41, 24th Feb 2013
   Version 1.41, 24th Feb 2013
  Edited by CDB-Man
  Version 1.42, 12th Aug 2015
 
    
    
   ATTENTION:
   ATTENTION:
Line 1,460: Line 1,463:
           Better solution for progress bars of single ep segmented movies/specials
           Better solution for progress bars of single ep segmented movies/specials
           Last rated ep. count can now be "TBA" too
           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
   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
           limitations: default rectangle size is now 1x1 (there was no need for it
Line 1,466: Line 1,473:
           also showing)
           also showing)
           Fix an oversight with the last added file field
           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>
<signature>
   {{@version="1.41"}}
   {{@version="1.42"}}
   {{@isbeta=false}}
   {{@isbeta=false}}


Line 1,493: Line 1,503:
   {{@showtotaltime=true}} <!-- show anime total time -->
   {{@showtotaltime=true}} <!-- show anime total time -->
   {{@useimages=true}} <!-- whether to use anime images -->
   {{@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 -->
   {{@altairing=true}} <!-- shows "Airing" instead of no rating for incomplete series -->
   {{@hidesingleep=true}} <!-- hides some ep stuff for one ep series (e.g. movies) -->
   {{@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 -->
   {{@condensedeps=true}} <!-- condenses eps and eps watched into one in mylist stats -->
     <!-- DATE FORMATTING -->
     <!-- DATE FORMATTING -->
   {{@datemask="jS M 'y h:ia"}} <!-- Please refer to PHP's date function -->
   {{@datemask="jS M Y h: ia"}} <!-- Please refer to PHP's date function -->
   {{@timezone=2}} <!-- use only full hours from GMT, e.g. 2 or -6 -->
   {{@timezone="-5"}} <!-- use only full hours from GMT, e.g. 2 or -6 -->
     <!-- TIMEZONE DIFFERENCE FINETUNE:
     <!-- TIMEZONE DIFFERENCE FINETUNE:
         First, set the timezone variable above so that the times on last watched
         First, set the timezone variable above so that the times on last watched
Line 1,680: Line 1,691:
   <defaults>
   <defaults>
     <text color="{{@textcol}}" face="{{@adatafont}}" size="{{@adatasize}}" align="top-left" line-space="1.6" />
     <text color="{{@textcol}}" face="{{@adatafont}}" size="{{@adatasize}}" align="top-left" line-space="1.6" />
     <image size="22x22" restricted="true" />
     <image size="22x22" restricted="{{@restrictedimages}}" />
     <shape type="rectangle" size="1x1" />
     <shape type="rectangle" size="1x1" />
   </defaults>
   </defaults>
Line 1,712: Line 1,723:


     <!-- CURRENT TIME -->
     <!-- CURRENT TIME -->
     <text position="497x4" align="top-right" line-space="1.2" display="{{@showgenstamp}}"><line>Generated:</line><line>{{@gentime}}</line></text>
     <text position="497x4" align="top-right" line-space="1.2" display="{{@showgenstamp}}"><line>Generated:</line><line>{{@gentime}} GMT {{@timezone}}</line></text>


     <!--  ANIME IMAGES -->
     <!--  ANIME IMAGES -->
Line 1,793: Line 1,804:
       <line face="{{@atitlefont}}" size="{{@atitlesize}}">{{ truncatew($latestvote_id1_aname,109+if(@useimages,0,36),@atitlefont,@atitlesize,"...") }}</line>
       <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>{{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,1))}}</line>
       <line>My vote: {{precision($latestvote_id1_vote,2))}}</line>
     </text>
     </text>


Line 1,838: Line 1,849:
     <!-- CREDIT - cannot be enforced but I really appreciate if you leave this here -->
     <!-- CREDIT - cannot be enforced but I really appreciate if you leave this here -->
     <text position="496x140" align="bottom-right" face="{{@atitlefont}}" size="{{@atitlesize}}">
     <text position="496x140" align="bottom-right" face="{{@atitlefont}}" size="{{@atitlesize}}">
       <line>Template design by Soulweaver * V{{precision(@version,2)}}{{if(@isbeta," BETA","")}}</line>
       <line>Design by Soulweaver * V{{precision(@version,2)}}{{if(@isbeta," BETA","")}} with CDB-Man edits</line>
     </text>
     </text>


staff
1,114

edits

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