SigServer:Examples: Difference between revisions

Line 662: Line 662:
     </text>
     </text>


  </layout>
</signature>
</pre>
== Signature Example 5 ==
by antennen, 2007-12-13
=== Signature Image ===
[[Image:BloodStained.png]]
468x136
=== Source ===
<pre>
<signature>
  <variables>
    <default element="text" name="face" value="proggytiny" />
    <default element="text" name="size" value="12" />
    <default element="text" name="color" value="#FFFFFF" />
    <default element="text" name="line-space" value="1.0" />
    <default element="text" name="alpha" value="55" />
    <set name="width" value="468" />
    <set name="height" value="136" />
  </variables>
  <layout>
    <!-- Box -->
    <shape
        type="rectangle"
        position="0x12"
        size="150x{{ @height - 24 }}"
        alpha="15"
    />
    <shape
        type="rectangle"
        position="150x12"
        size="0x{{ @height - 24 }}"
        color="#777777"
        alpha="75"
    />
    <text position="5x25">
        <line>Currently Watching:</line>
        <line display="{{ if($watching_id1_aid); }}">1 {{ padding(truncate($watching_id1_aname, 15, ".."), 15, "left"); }}{{ padding($watching_id1_state_seenepcount + "/" + $watching_id1_eps, 6); }}</line>
        <line display="{{ if($watching_id2_aid); }}">2 {{ padding(truncate($watching_id2_aname, 15, ".."), 15, "left"); }}{{ padding($watching_id2_state_seenepcount + "/" + $watching_id2_eps, 6); }}</line>
        <line display="{{ if($watching_id3_aid); }}">3 {{ padding(truncate($watching_id3_aname, 15, ".."), 15, "left"); }}{{ padding($watching_id3_state_seenepcount + "/" + $watching_id3_eps, 6); }}</line>
    </text>
    <shape
        type="line"
        position="0x68"
        size="150x68"
        color="#777777"
        alpha="75"
    />
    <text position="5x82">
        <line>MyList Statistics:</line>
        <line>{{ padding(truncate("Animes", 13, ".."), 13, "left"); }}{{ padding($stat_mylist_acount, 10); }}</line>
        <line>{{ padding(truncate("Episodes seen", 13, ".."), 13, "left"); }}{{ padding($stat_anidb_viewedepcnt + "/" + $stat_mylist_epcount, 10); }}</line>
        <line>{{ padding(truncate("Size of files", 13, ".."), 13, "left"); }}{{ padding(round($stat_mylist_fsize / 1024) + " GiB", 10); }} </line>
    </text>
    <!-- Box End -->
    <!-- Top Bar -->
    <shape
        type="rectangle"
        position="0x0"
        size="{{ @width; }}x12"
        alpha="75"
    />
    <shape
        type="line"
        position="0x12"
        size="{{ @width; }}x12"
        color="#777777"
        alpha="75"
    />
    <text
        position="5x9"
        alpha="50"
        face="04b03"
        size="6"
    >
      <line>antennen</line>
    </text>
    <text
        position="{{ @width - 5; }}x9"
        alpha="50"
        face="04b03"
        size="6"
        align="bottom-right"
    >
      <line>anidb.net/u114937</line>
    </text>
    <!-- Top Bar End -->
    <!-- Bottom Bar -->
    <shape
        type="rectangle"
        position="0x{{ @height - 12; }}"
        size="{{ @width; }}x12"
        alpha="75"
    />
    <shape
        type="line"
        position="0x{{ @height - 12; }}"
        size="{{ @width; }}x{{ @height - 12; }}"
        color="#777777"
        alpha="75"
    />
    <!-- Bottom Bar End -->
    <!-- MyList Watched Bar -->
    <shape
        type="rectangle"
        position="153x{{ @height - 9; }}"
        size="{{ round(((@width - 153) / 100) * $stat_anidb_ownviewedp) }}x6"
        color="#777777"
        alpha="75"
    />
    <shape
        type="rectangle"
        position="150x{{ @height - 12; }}"
        size="0x12"
        color="#777777"
        alpha="75"
    />
    <text
        position="150x{{ @height - 3 }}"
        alpha="50"
        face="04b03"
        size="6"
        align="bottom-right"
    >
      <line>MyList watched</line>
    </text>
    <text
        position="{{ 154 + round(((@width - 154) / 100) * $stat_anidb_ownviewedp) }}x{{ @height - 3 }}"
        alpha="75"
        face="04b03"
        size="6"
        align="bottom-{{ if($stat_anidb_ownviewedp > 90, "right", "left") }}"
    >
        <line> {{ $stat_anidb_ownviewedp }}%</line>
    </text>
    <!-- MyList Watched Bar End -->
   </layout>
   </layout>
</signature>
</signature>
256

edits

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