~hokiegeek/tw5-thousand-year-old-vampire-rpg

ref: 2dbb0616c5026bc76d94748042f6cbfc8d53e906 tw5-thousand-year-old-vampire-rpg/view-tyov.tid -rw-r--r-- 1.6 KiB
2dbb0616HokieGeek Fixes issues with diary resource being easily inaccessible 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
modified: 20220208180442000
created: 20220129155139000
creator: hokiegeek
tags: $:/tags/ViewTemplate
title: $:/plugins/hokiegeek/thousand-year-old-vampire-rpg/views/tyov
type: text/vnd.tiddlywiki
source: https://thousandyearoldvampire.com
caption: Thousand Year Old Vampire

<$list filter="[all[current]is[tiddler]!is[system]match[ThousandYearOldVampire]]">
<div class="display-columns-2">
    <div style="margin-right: 10px">
        <$link source="{{!!source}}">
        [img [$:/plugins/hokiegeek/thousand-year-old-vampire-rpg/thousand-year-old-vampire.webp]]
        </$link>
    </div>
    <div>
        <div class="header-button">
            <h1>Vampires</h1>
            <$button tooltip="Turn a vampire" aria-label="Turn a vampire" class=<<tv-config-toolbar-class>>>
                <$wikify name="now" text="""<$macrocall $name="now" format="YYYY-0MM-0DD"/>""">
                <$let now2="""<$macrocall $name="now" format="YYYY-0MM-0DD"/>"""
                      pretitle={{{ [<now>addsuffix[-vampire]] }}}
                      count={{{ [prefix<pretitle>count[]] }}}
                      title={{{ [<pretitle>addsuffix<count>] }}}>
                <$set name="tags" filter="[{!!title}][[vampire]]">
                <$action-createtiddler $basetitle=<<title>> tags=<<tags>> vampire-num=<<count>> />
                <$action-navigate $to=<<title>> />
                </$set>
                </$let>
                </$wikify>
                {{$:/core/images/new-button}}
            </$button>
        </div>
        <<list-links filter:"[tag{!!title}tag[vampire]!has[draft.of]]" emptyMessage:"no vampires turned">>
    </div>
</div>
</$list>