First Base

This commit is contained in:
Florian 2026-02-20 10:00:13 +01:00
parent ad519c8a48
commit d403dacd40
5 changed files with 45 additions and 10 deletions

View File

@ -0,0 +1,9 @@
{
"types": {
"aliases": "aliases",
"cssclasses": "multitext",
"tags": "tags",
"data.waffe": "checkbox",
"data.waffe.cost": "number"
}
}

View File

@ -4,21 +4,20 @@
"type": "split", "type": "split",
"children": [ "children": [
{ {
"id": "7875c2692f9ffce2", "id": "95f5e2052b6ee10a",
"type": "tabs", "type": "tabs",
"children": [ "children": [
{ {
"id": "4a68bb5cfce9e8f2", "id": "4644219fe81a7884",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "markdown", "type": "bases",
"state": { "state": {
"file": "wiki/Test123.md", "file": "wiki/weapons/Waffen.base",
"mode": "source", "viewName": "Table"
"source": false
}, },
"icon": "lucide-file", "icon": "lucide-table",
"title": "Test123" "title": "Waffen"
} }
} }
] ]
@ -183,12 +182,16 @@
"bases:Create new base": false "bases:Create new base": false
} }
}, },
"active": "4a68bb5cfce9e8f2", "active": "4644219fe81a7884",
"lastOpenFiles": [ "lastOpenFiles": [
"wiki/weapons/Schwert.md",
"wiki/weapons/Axt.md",
"wiki/weapons/Waffen.base",
"wiki/weapons",
"wiki/Test123.md",
"wiki/Authbased.md", "wiki/Authbased.md",
"wiki/twomain/Hallo Welt.md", "wiki/twomain/Hallo Welt.md",
"wiki/first subfolder/secondSub/Some Testnote.md", "wiki/first subfolder/secondSub/Some Testnote.md",
"wiki/Test123.md",
"wiki/twomain/Zweiter Hallo Welt.md", "wiki/twomain/Zweiter Hallo Welt.md",
"wiki/twomain", "wiki/twomain",
"adventures/Adventure.md", "adventures/Adventure.md",

View File

@ -0,0 +1,5 @@
---
data.weapon: true
data.weapon.damage: 2W4 + 1
data.weapon.cost: 800
---

View File

@ -0,0 +1,5 @@
---
data.weapon: true
data.weapon.damage: 1W6 + 2
data.weapon.cost: 1500
---

View File

@ -0,0 +1,13 @@
views:
- type: table
name: Table
filters:
and:
- note["data.weapon"] == true
order:
- file.name
- data.weapon.damage
- data.weapon.cost
sort:
- property: data.waffe.damage
direction: DESC