新手教程: Difference between revisions
修复分割线格式(使用----而非---)、修复重复标签、统一使用简体中文 |
在SMW查询示例后添加实际查询结果展示 |
||
Line 229: | Line 229: | ||
}} | }} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
'''查询结果:''' | |||
{{#ask: | |||
[[Category:角色]] | |||
[[性别::女]] | |||
|?名字 | |||
|?年龄 | |||
|?好感度 | |||
|sort=好感度 | |||
|order=desc | |||
|format=table | |||
|limit=10 | |||
}} | |||
<div style="background: #f0f8ff; border-left: 5px solid #667eea; padding: 20px; margin: 20px 0; border-radius: 8px;"> | |||
'''📊 查询说明:''' | |||
* 这个查询会自动列出所有女性角色 | |||
* 数据来自各个角色页面的 `{{#set:}}` 属性 | |||
* 按好感度从高到低排序 | |||
* 使用表格格式展示,易于阅读 | |||
* 如果没有数据,说明还没有创建符合条件的角色页面 | |||
</div> | |||
---- | ---- |