SigServer:Examples: Difference between revisions

Jump to navigation Jump to search
Adding another example.
(→‎Sig1: Added link to ARC forum)
(Adding another example.)
Line 808: Line 808:
</signature>
</signature>
</pre>
</pre>
== Signature Example 5 ==
by --[[User:Lattyware|Lattyware]] 17:08, 20 April 2008 (CEST)
=== Signature Image ===
[[Image:LattywareSig.png]]
=== Source ===
<pre>
<signature quality="90">
<variables>
<default element="text" name="face" value="lucidaconsole" />
<default element="text" name="size" value="8" />
<set name="textsize" value="8" />
<set name="padding" value="5" />
<set name="outlinecolour" value="#ffffff" />
<set name="width" value="468" />
<set name="height" value="96" />
<set name="boxalpha" value="20" />
<set name="boxcolour" value="#ffffff" />
<set name="topbarheight" value="11" />
<set name="topbaralpha" value="60" />
<set name="topbarcolour" value="#000000" />
<set name="boxpadding" value="15" />
<set name="progressbarinnercolour" value="#FF0000" />
<set name="progressbaroutercolour" value="#000000" />
  <set name="progressbarinneralpha" value="30" />
<set name="progressbarouteralpha" value="100" />
<set name="progressbarpadding" value="2" />
</variables>
<layout>
<!-- Top Bar -->
<shape
  type="rectangle"
  position="{{ @padding }}x{{ @padding }}"
  size="{{ ( ( @width - ( @padding * 2 ) - 100 ) / 2 ) }}x{{ @topbarheight }}"
  alpha="100"
  color="{{ @outlinecolour }}"
  hollow="true"
  />
  <shape
  type="rectangle"
    position="{{ @padding }}x{{ @padding }}"
  size="{{ ( ( @width - ( @padding * 2 ) - 100 ) / 2 ) }}x{{ @topbarheight }}"
  alpha="{{ @topbaralpha }}"
  color="{{ @topbarcolour }}"
  />
 
  <text position="{{ @padding + 2px }}x{{ @padding + 9 }}" color="{{ @outlinecolour }}">
  <line>Lattyware anidb.net/167861</line>
  </text>
<!-- Box -->
<shape
  type="rectangle"
  position="{{ @padding }}x{{ (@padding * 2) + @topbarheight }}"
  size="{{ @width - ( @padding * 2 ) - 100 }}x{{ @height - ( @padding * 3 ) - @topbarheight }}"
  alpha="{{ @boxalpha }}"
  color="{{ @outlinecolour }}"
  hollow="true"
  />
  <shape
  type="rectangle"
  position="{{ @padding }}x{{ (@padding * 2) + @topbarheight }}"
  size="{{ @width - ( @padding * 2 ) - 100 }}x{{ @height - ( @padding * 3 ) - @topbarheight }}"
  alpha="{{ @boxalpha }}"
  color="{{ @boxcolour }}"
  />
 
  <text position="{{ @padding + 2 }}x{{ (@padding * 2) + @topbarheight + @boxpadding }}">
  <line>{{ padding("Animes:", 12, "right") }} {{ $stat_mylist_acount }}</line>
  <line>{{ padding("Episodes:", 12, "right") }} {{ $stat_mylist_epcount  }}</line>
  <line>{{ padding("Files:", 12, "right") }} {{ $stat_mylist_fcount  }}</line>
  <line>{{ padding("File Size:", 12, "right") }} {{ round(($stat_mylist_fsize / 1024)) }}GiB</line>
  <line>{{ padding("Watched:", 12, "right") }} {{ $stat_anidb_ownviewedp }}%</line>
  </text>
 
  <!-- Bars -->
 
  <shape
  type="rectangle"
  position="{{ @padding + 150 }}x{{ (@padding * 2) + @boxpadding + @topbarheight - @textsize + ( 5 * @textsize ) - 4 - @textsize }}"
  size="0x{{ @textsize }}"
  alpha="{{ @progressbarouteralpha }}"
  color="{{ @progressbaroutercolour }}"
  />
  <text position="{{ @padding + 151 }}x{{ (@padding * 2) + @boxpadding + @topbarheight - @textsize + ( 5 * @textsize ) - 5 }}">
  <line>0TiB</line>
  </text>
  <shape
  type="rectangle"
  position="{{ @padding + 150 + @width - ( @padding * 2 ) - ( 250 + @padding )  }}x{{ (@padding * 2) + @boxpadding + @topbarheight - @textsize + ( 5 * @textsize ) - 4 - @textsize }}"
  size="0x{{ @textsize }}"
  alpha="{{ @progressbarouteralpha }}"
  color="{{ @progressbaroutercolour }}"
  />
  <text position="{{ @padding + 149 + @width - ( @padding * 2 ) - ( 250 + @padding )  }}x{{ (@padding * 2) + @boxpadding + @topbarheight - @textsize + ( 5 * @textsize ) - 5}}" align="bottom-right">
  <line>1.5TiB</line>
  </text>
  <shape
  type="rectangle"
  position="{{ @padding + 150 + @progressbarpadding + round( ( ( @width - ( @padding * 2 ) - ( 250 + @padding ) ) / 100 ) * ( round( ( $stat_mylist_fsize / 1024 ) / 1536 * 100 ) ) ) - ( @progressbarpadding * 2 ) }}x{{ (@padding * 2) + @boxpadding + @topbarheight - @textsize + ( 5 * @textsize ) - 6 + @progressbarpadding - @textsize }}"
  size="0x{{ @textsize }}"
  alpha="{{ @progressbarouteralpha }}"
  color="{{ @progressbaroutercolour }}"
  />
  <text position="{{ @padding + 150 + @progressbarpadding + round( ( ( @width - ( @padding * 2 ) - ( 250 + @padding ) ) / 100 ) * ( round( ( $stat_mylist_fsize / 1024 ) / 1536 * 100 ) ) ) - ( @progressbarpadding * 2 ) + 1 }}x{{ (@padding * 2) + @boxpadding + @topbarheight - @textsize + ( 5 * @textsize ) - 7 + @progressbarpadding }}" align="{{ if( ( round( ( $stat_mylist_fsize / 1024 ) / 1536 * 100 ) ) < 50, "bottom-left", "bottom-right" ) }}">
  <line>{{ round( ( $stat_mylist_fsize / 1024 ) ) }}GiB</line>
  </text>
  <shape
  type="rectangle"
  position="{{ @padding + 150 }}x{{ (@padding * 2) + @boxpadding + @topbarheight - @textsize + ( 5 * @textsize ) - 4 }}"
  size="{{ @width - ( @padding * 2 ) - ( 250 + @padding ) }}x{{ @textsize }}"
  hollow="true"
  alpha="{{ @progressbarouteralpha }}"
  color="{{ @progressbaroutercolour }}"
  />
  <shape
  type="rectangle"
  position="{{ @padding + 150 + @progressbarpadding }}x{{ (@padding * 2) + @boxpadding + @topbarheight - @textsize + ( 5 * @textsize ) - 4 + @progressbarpadding }}"
  size="{{ round( ( ( @width - ( @padding * 2 ) - ( 250 + @padding ) ) / 100 ) * ( round( ( $stat_mylist_fsize / 1024 ) / 1536 * 100 ) ) ) - ( @progressbarpadding * 2 ) }}x{{ @textsize - ( @progressbarpadding * 2 ) }}"
  alpha="{{ @progressbarinneralpha }}"
  color="{{ @progressbarinnercolour }}"
  />
 
  <shape
  type="rectangle"
  position="{{ @padding + 150 }}x{{ (@padding * 2) + @boxpadding + @topbarheight - @textsize + ( 6 * @textsize ) }}"
  size="{{ @width - ( @padding * 2 ) - ( 250 + @padding ) }}x{{ @textsize }}"
  hollow="true"
  alpha="{{ @progressbarouteralpha }}"
  color="{{ @progressbaroutercolour }}"
  />
  <shape
  type="rectangle"
  position="{{ @padding + 150 + @progressbarpadding }}x{{ (@padding * 2) + @boxpadding + @topbarheight - @textsize + ( 6 * @textsize ) + @progressbarpadding }}"
  size="{{ round( ( ( @width - ( @padding * 2 ) - ( 250 + @padding ) ) / 100 ) * $stat_anidb_ownviewedp ) - ( @progressbarpadding * 2 ) }}x{{ @textsize - ( @progressbarpadding * 2 ) }}"
  alpha="{{ @progressbarinneralpha }}"
  color="{{ @progressbarinnercolour }}"
  />
 
  <image src="lattyware" position="{{ ( ( @width - ( @padding * 2 ) ) / 2 ) }}x{{ @padding * 3 + @topbarheight }}" alpha="20"/>
     
</layout>
</signature>
</pre>


[[Category:SigServer]]
[[Category:SigServer]]
8

edits

Navigation menu

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