Changes for page Bow

Last modified by test user on 2026/05/27 13:00

From version 7.1
edited by test user
on 2026/05/25 13:57
Change comment: There is no comment for this version
To version 3.1
edited by test user
on 2026/05/23 18:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Tags
... ... @@ -1,1 +1,0 @@
1 -needs-paste
Content
... ... @@ -1,13 +7,7 @@
1 -{{velocity}}
2 -{{html clean="false"}}
3 -<p class="xm-create-button xm-create-button-weapons"><a class="btn btn-primary" href="$doc.getURL('create', 'templateprovider=MUD.Code.Templates.WeaponTemplateProvider')"><span class="fa fa-plus"></span> New Weapon</a></p>
4 -{{/html}}
5 -{{/velocity}}
6 -
7 7  {{liveData
8 8   id="mud-weapons-bow"
9 9   source="liveTable"
10 - sourceParameters="className=MUD.Code.WeaponClass&translationPrefix=mud.weapons.&location=MUD.Items.Weapons.Bow"
4 + sourceParameters="className=MUD.Code.WeaponClass&translationPrefix=mud.weapons."
11 11   properties="doc.title,judge,hands,damage_type,quality,source,quest_required"
12 12   sort="doc.title"
13 13  }}
... ... @@ -44,11 +44,24 @@
44 44   "editable": false
45 45   }
46 46   ]
41 + },
42 + "query": {
43 + "filters": [
44 + {
45 + "property": "doc.location",
46 + "constraints": [
47 + {
48 + "operator": "startsWith",
49 + "value": "MUD.Items.Weapons.Bow"
50 + }
51 + ]
52 + }
53 + ]
47 47   }
48 48  }
49 49  {{/liveData}}
50 -
51 51  ----
52 52  
59 +{{create-from-template templateName="17858610" templateId="17858610" buttonLabel="Add new Weapon"/}}
53 53  
54 -
61 +{{detailssummary cql="label = ~"equipment~" and space = currentSpace() and ancestor = currentContent()"/}}