<!-- prePretty --> 📄***Small Sports Ground Vehicle*** ![[Passenger.png]] 2 ![[AMS BusCargo.png]] 8 ![[Structure-1.png]] 14 ![[solara.png|20]] 15000 ⚙️ ***Ground Transportation ![[d6.png]]*** ⚙️ ***High Performance ![[d10.png]]*** ⚙️ ***Quick ![[d8.png]]*** <!-- postPretty --> ![[Avalon Preta.png]] > [!creator]+ > Frame > ```meta-bind > INPUT[suggester(optionQuery("GM area/Templates/Go All In/Weapon Data/Vehicles/Frames"), useLinks(true)):weaponFrame] > ``` > > ~~~meta-bind-js-view > {weaponFrame} as weaponFrame > --- > const toCopy = [ > ["passengers", "math"], > ["frameTrait" , "math"], > ["cargoCapacity" , "math"], > ["vitality" , "math"], > ["cost" , "math"] > ]; > const weaponFrame = context.bound.weaponFrame; > const mb = engine.getPlugin('obsidian-meta-bind-plugin').api; > const path = weaponFrame?.match(/\[\[(.*?)(?:\|.*)?\]\]/)[1]; > const str = toCopy.map((e) => `\`VIEW[{${path}#${e[0]}}][${e[1]}(hidden):${e[0]}]\``).join("\n"); > return engine.markdown.create(str); > ~~~ > > Feature > ```meta-bind > INPUT[suggester(optionQuery("GM area/Templates/Go All In/Weapon Data/Vehicles/Features"), useLinks(true)):featureName] > ``` > > ```meta-bind-js-view > {featureName} as featureName > --- > const toCopy = [ > ["featureTrait", "text"], > ["featureCost" , "math"] > ]; > const featureName = context.bound.featureName; > const mb = engine.getPlugin('obsidian-meta-bind-plugin').api; > const path = featureName?.match(/\[\[(.*?)(?:\|.*)?\]\]/)[1]; > const str = toCopy.map((e) => `\`VIEW[{${path}#${e[0]}}][${e[1]}(hidden):${e[0]}]\``).join("\n"); > return engine.markdown.create(str); > ``` > > Family > ```meta-bind > INPUT[suggester(optionQuery("GM area/Templates/Go All In/Weapon Data/Vehicles/Family"), useLinks(true)):familyName] > ``` > > ```meta-bind-js-view > {familyName} as familyName > --- > const toCopy = [ > ["familyTrait", "text"], > ["movement", "text"], > ["familyCost" , "math"] > ]; > const familyName = context.bound.familyName; > const mb = engine.getPlugin('obsidian-meta-bind-plugin').api; > const path = familyName?.match(/\[\[(.*?)(?:\|.*)?\]\]/)[1]; > const str = toCopy.map((e) => `\`VIEW[{${path}#${e[0]}}][${e[1]}(hidden):${e[0]}]\``).join("\n"); > return engine.markdown.create(str); > ```