Changes for page Feet

Last modified by test user on 2026/05/27 12:59

From version 8.1
edited by test user
on 2026/05/25 13:05
Change comment: There is no comment for this version
To version 4.1
edited by test user
on 2026/05/23 18:56
Change comment: There is no comment for this version

Summary

Details

Page properties
Tags
... ... @@ -1,1 +1,0 @@
1 -needs-paste
Content
... ... @@ -1,14 +7,8 @@
1 -{{velocity}}
2 -{{html clean="false"}}
3 -<p class="xm-create-button xm-create-button-armour"><a class="btn btn-primary" href="$doc.getURL('create', 'templateprovider=MUD.Code.Templates.ArmourTemplateProvider')"><span class="fa fa-plus"></span> New Armour</a></p>
4 -{{/html}}
5 -{{/velocity}}
6 -
7 7  {{liveData
8 8   id="mud-armour-feet"
9 9   source="liveTable"
10 - sourceParameters="className=MUD.Code.ArmourClass&translationPrefix=mud.armour.&location=MUD.Items.Armour.Feet"
11 - properties="doc.title,judge,slot,ac,material,type_,quality,source"
4 + sourceParameters="className=MUD.Code.ArmourClass&translationPrefix=mud.armour."
5 + properties="doc.title,judge,location,ac,material,type_,quality,source"
12 12   sort="doc.title"
13 13  }}
14 14  {
... ... @@ -24,7 +24,7 @@
24 24   "editable": false
25 25   },
26 26   {
27 - "id": "slot",
21 + "id": "location",
28 28   "editable": false
29 29   },
30 30   {
... ... @@ -48,10 +48,22 @@
48 48   "editable": false
49 49   }
50 50   ]
45 + },
46 + "query": {
47 + "filters": [
48 + {
49 + "property": "doc.location",
50 + "constraints": [
51 + {
52 + "operator": "startsWith",
53 + "value": "MUD.Items.Armour.Feet"
54 + }
55 + ]
56 + }
57 + ]
51 51   }
52 52  }
53 53  {{/liveData}}
54 -
55 55  ----
56 56  
57 57  {{create-from-template templateName="17858566" templateId="17858566" buttonLabel="Create new Armour"/}}