Lorebook Diagnostics: Difference between revisions

创建 Lorebook 诊断页面用于排查问题
 
No edit summary
 
Line 43: Line 43:


=== Test 1: 无参数调用 ===
=== Test 1: 无参数调用 ===
{{#invoke:Lorebook|inject}}
{{#invoke:Lorebook/Debug|inject}}


=== Test 2: 指定世界但无上下文 ===
=== Test 2: 指定世界但无上下文 ===
{{#invoke:Lorebook|inject|world=Farlandia}}
{{#invoke:Lorebook/Debug|inject|world=Farlandia}}


=== Test 3: 指定世界和上下文 ===
=== Test 3: 指定世界和上下文 ===
{{#invoke:Lorebook|inject|world=Farlandia|context=slime}}
{{#invoke:Lorebook/Debug|inject|world=Farlandia|context=slime}}


=== Test 4: 完整测试 ===
=== Test 4: 完整测试 ===
{{#invoke:Lorebook|inject|world=Farlandia|context=Slime in Mossford}}
{{#invoke:Lorebook/Debug|inject|world=Farlandia|context=Slime in Mossford}}


=== Test 5: 导出 JSON ===
=== Test 5: 导出 JSON ===