256
edits
(Adding another example.) |
(→Source) |
||
Line 675: | Line 675: | ||
=== Source === | === Source === | ||
<pre> | <pre> | ||
<?xml version="1.0" encoding="windows-1250"?> | |||
<signature> | <signature> | ||
<!-- Variables --> | |||
< | {{ @box_width = 200 }} | ||
{{ @box_charlimit = 30 }} | |||
{{ @box_divider = 68 }} | |||
{{ @bar_height = 12 }} | |||
{{ @box_alpha = 30 }} | |||
<!-- Variables End --> | |||
<!-- | |||
<!-- | <defaults> | ||
<text | |||
face="proggytiny" | |||
size="12" | |||
size="{{ @ | color="#ffffff" | ||
line-space="1.0" | |||
alpha="55" | |||
/> | |||
<shape | |||
type="rectangle" | |||
size="{{ $Sig_width }}x{{ @bar_height }}" | |||
alpha="75" | |||
/> | |||
<shape | |||
type="line" | |||
color="#777777" | |||
alpha="75" | |||
/> | |||
</defaults> | |||
<layout> | |||
<!-- Box --> | |||
<shape | |||
type="rectangle" | |||
position="0x{{ @bar_height }}" | |||
size="{{ @box_width }}x{{ $Sig_height - 24 }}" | |||
alpha="{{ @box_alpha }}" | |||
/> | |||
<shape | |||
type="line" | |||
position="{{ @box_width }}x{{ @bar_height }}" | |||
size="{{ @box_width }}x{{ $Sig_height - @bar_height }}" | |||
/> | |||
<text position="5x25"> | |||
<line>Currently Watching:</line> | |||
<line display="{{ if($watching_id1_aid); }}">1 {{ padding(truncate($watching_id1_aname, 23, ".."), 23, "left"); }}{{ padding($watching_id1_state_seenepcount + "/" + $watching_id1_eps, 6); }}</line> | |||
<line display="{{ if($watching_id2_aid); }}">2 {{ padding(truncate($watching_id2_aname, 23, ".."), 23, "left"); }}{{ padding($watching_id2_state_seenepcount + "/" + $watching_id2_eps, 6); }}</line> | |||
<line display="{{ if($watching_id3_aid); }}">3 {{ padding(truncate($watching_id3_aname, 23, ".."), 23, "left"); }}{{ padding($watching_id3_state_seenepcount + "/" + $watching_id3_eps, 6); }}</line> | |||
</text> | |||
<shape | |||
type="line" | |||
position="0x{{ @box_divider }}" | |||
size="{{ @box_width }}x{{ @box_divider }}" | |||
/> | |||
<text position="5x82"> | |||
<line>MyList Statistics:</line> | |||
<line>{{ padding(truncate("Anime", 13, ".."), 13, "left"); }}{{ padding($stat_mylist_acount, 18); }}</line> | |||
<line>{{ padding(truncate("Episodes seen", 13, ".."), 13, "left"); }}{{ padding($stat_anidb_viewedepcnt + "/" + $stat_mylist_epcount, 18); }}</line> | |||
<line>{{ padding(truncate("Size of files", 13, ".."), 13, "left"); }}{{ padding(round($stat_mylist_fsize / 1024) + " GiB", 18); }}</line> | |||
</text> | |||
<!-- Box End --> | |||
<!-- Top Bar --> | |||
<shape | |||
type="rectangle" | |||
position="0x0" | |||
/> | |||
<shape | |||
type="line" | |||
position="0x12" | |||
size="{{ $Sig_width }}x{{ @bar_height }}" | |||
/> | |||
<text | |||
position="5x9" | |||
face="04b03" | |||
size="6" | |||
> | |||
<line>{{ $Sig_username }}</line> | |||
</text> | |||
<text | |||
position="{{ $Sig_width - 5 }}x9" | |||
face="04b03" | |||
size="6" | |||
align="bottom-right" | |||
> | |||
<line>anidb.net/u{{ $Sig_uid }}</line> | |||
</text> | |||
<!-- Top Bar End --> | |||
<!-- Bottom Bar --> | |||
<shape | |||
type="rectangle" | |||
position="0x{{ $Sig_height - @bar_height }}" | |||
/> | |||
<shape | |||
type="line" | |||
position="0x{{ $Sig_height - @bar_height }}" | |||
size="{{ $Sig_width }}x{{ $Sig_height - @bar_height }}" | |||
/> | |||
<!-- Bottom Bar End --> | |||
<!-- MyList Watched Bar --> | |||
<shape | |||
type="rectangle" | |||
position="{{ @box_width + 3 }}x{{ $Sig_height - 9; }}" | |||
size="{{ round((($Sig_width - @box_width - 6) / 100) * $stat_anidb_ownviewedp) }}x7" | |||
color="#777777" | |||
alpha="75" | |||
/> | |||
<shape | |||
type="line" | |||
position="{{ @box_width }}x{{ $Sig_height - @bar_height }}" | |||
size="{{ @box_width }}x{{ $Sig_height }}" | |||
/> | |||
<text | |||
position="{{ @box_width }}x{{ $Sig_height - 3 }}" | |||
face="04b03" | |||
size="6" | |||
align="bottom-right" | |||
> | |||
<line>MyList watched</line> | |||
</text> | |||
<text | |||
position="{{ @box_width + 4 + round((($Sig_width - @box_width - 6) / 100) * $stat_anidb_ownviewedp) }}x{{ $Sig_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> | |||
</signature> | </signature> | ||
</pre> | </pre> |
edits