Changes for page Amulets

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

From version 11.1
edited by test user
on 2026/05/26 20:55
Change comment: There is no comment for this version
To version 4.1
edited by test user
on 2026/05/23 18:48
Change comment: There is no comment for this version

Summary

Details

Page properties
Tags
... ... @@ -1,1 +1,0 @@
1 -needs-paste
Content
... ... @@ -1,8 +1,9 @@
1 +## xwiki-migration: livetable-begin
1 1  {{liveData
2 2   id="mud-armour-amulets"
3 3   source="liveTable"
4 - sourceParameters="className=MUD.Code.ArmourClass&translationPrefix=platform.index.&location=MUD.Items.Armour.Amulets"
5 - properties="doc.title,judge,slot,ac,material,type_,quality,source"
5 + sourceParameters="className=MUD.Code.ArmourClass&translationPrefix=mud.armour."
6 + properties="doc.title,judge,location,ac,material,type_,quality,source"
6 6   sort="doc.title"
7 7  }}
8 8  {
... ... @@ -18,7 +18,7 @@
18 18   "editable": false
19 19   },
20 20   {
21 - "id": "slot",
22 + "id": "location",
22 22   "editable": false
23 23   },
24 24   {
... ... @@ -42,16 +42,26 @@
42 42   "editable": false
43 43   }
44 44   ]
46 + },
47 + "query": {
48 + "filters": [
49 + {
50 + "property": "doc.location",
51 + "constraints": [
52 + {
53 + "operator": "startsWith",
54 + "value": "MUD.Items.Armour.Amulets"
55 + }
56 + ]
57 + }
58 + ]
45 45   }
46 46  }
47 47  {{/liveData}}
62 +## xwiki-migration: livetable-end
48 48  
49 49  ----
50 50  
51 -{{velocity}}
52 -{{html clean="false"}}
53 -<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>
54 -{{/html}}
55 -{{/velocity}}
66 +{{create-from-template templateName="17858566" templateId="17858566" buttonLabel="Create new Armour"/}}
56 56  
57 -
68 +{{detailssummary cql="label = ~"equipment~" and space = currentSpace() and ancestor = currentContent()"/}}