Shop Guy 1

Column

Div-m

gremishka.jpg|250

Place Name

INPUT[select(
option(1, ℹ️General),
option(2, 📒Statblock),
option(3, 📝GM Notes),
class(tabbed)
)]

Tabbed-box-maxh

Div-m
Div-m
Div-m
Note

INPUT[select(
option(1, ⚔️Inventory),
option(2, 🔗Connections),
option(3, 🧑‍🤝‍🧑Relationships),
class(tabbed)
)]

Tabbed-box-maxh

Div-m
Div-m
Div-m

General

Name: Shop Guy 1

Status: INPUT[inlineSelect(option(Alive), option(Dead)):char_status]

Race/Species: INPUT[template-Race][:char_race]

Gender: INPUT[inlineSelect(option(Male), option(Female), option(Other)):char_gender]

Age: INPUT[inlineSelect(option(Infant), option(Child), option(Teenager), option(Young Adult), option(Adult), option(Elder)):char_age]


This is the persons description.

Statblock

monster: Commoner

GM Notes

Make notes of what you need to track in the town here.

Inventory

The following items belong to Shop Guy 1.

Random Item0costweight

Dataview: No results to show for table query.

Connections

Is the person linked to any groups or quests?

Quests: INPUT[inlineListSuggester(optionQuery(#Category/Quest)):Connected_Quests]

Groups: INPUT[inlineListSuggester(optionQuery(#Category/Group)):Connected_Groups]

Relationships

List important relationships here.

Evaluation Error: SyntaxError: Invalid or unexpected token
    at DataviewInlineApi.eval (plugin:dataview:19027:21)
    at evalInContext (plugin:dataview:19028:7)
    at asyncEvalInContext (plugin:dataview:19038:32)
    at DataviewJSRenderer.render (plugin:dataview:19064:19)
    at DataviewJSRenderer.onload (plugin:dataview:18606:14)
    at DataviewJSRenderer.load (app://obsidian.md/app.js:1:1214378)
    at DataviewApi.executeJs (plugin:dataview:19607:18)
    at DataviewCompiler.eval (plugin:digitalgarden:10760:23)
    at Generator.next (<anonymous>)
    at fulfilled (plugin:digitalgarden:77:24)
mermaid\nflowchart LR\n" +

// Parents with internal-link on individual nodes only
(parents.length > 0 ? parents.map((parent, index) => P${index + 1}[${parent}]:::internal-link\nP${index + 1} --> Current\n).join('') : '') +

// Current node
Current[${current}]\n +

// Partner group node (no internal-link applied)
(partner.length > 0 ? PT[Partner]\nCurrent --> PT\n : '') +

// Individual partners with internal-link
(partner.length > 0 ? partner.map((p, index) => PT${index + 1}[${p}]:::internal-link\nPT --> PT${index + 1}\n).join('') : '') +

// Children group node (no internal-link applied)
(children.length > 0 ? C[Children]\nCurrent --> C\n${children.map((child, index) => Cindex+1[{child}]:::internal-link\nC --> C${index + 1}\n).join('')} : '') +

// Siblings group node (no internal-link applied)
(siblings.length > 0 ? S[Siblings]\nCurrent --> S\n${siblings.map((sibling, index) => Sindex+1[{sibling}]:::internal-link\nS --> S${index + 1}\n).join('')} : '') +

// Enemies group node (no internal-link applied)
(enemies.length > 0 ? E[Enemies]\nCurrent --> E\n${enemies.map((enemy, index) => Eindex+1[{enemy}]:::internal-link\nE --> E${index + 1}\n).join('')} : '') +

// Allies group node (no internal-link applied)
(allies.length > 0 ? A[Allies]\nCurrent --> A\n${allies.map((ally, index) => Aindex+1[{ally}]:::internal-link\nA --> A${index + 1}\n).join('')} : '') +

// Styling: Apply internal-link only to individual nodes, not group nodes
class ${parents.length > 0 ? parents.map((_, index) => P{index + 1},`).join('') : ''}Current{children.length > 0 ? children.map((, index) => C${index + 1},).join('') : ''}{siblings.length > 0 ? siblings.map((_, index) => `S{index + 1},).join('') : ''}${enemies.length > 0 ? enemies.map((_, index) => E{index + 1},`).join('') : ''}{allies.length > 0 ? allies.map((, index) => A${index + 1},).join('') : ''} internal-link;`
)


> [!NOTE]- Relationship Config - Enter name of People Notes
> `BUTTON[button_person]` Nodes will link to notes of the same name. 
> 
> | Parents    | Partner    | Children |
> | --- | --- | --- |
> | `INPUT[list:parents]`    | `INPUT[list:partner]`    | `INPUT[list:children]`  |
> 
> | Siblings    | Enemies    | Allies |
> | --- | --- | --- |
> | `INPUT[list:siblings]`    | `INPUT[list:enemies]`    | `INPUT[list:allies]`  |