Changes for page Weapons

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

From version 12.1
edited by test user
on 2026/05/23 18:48
Change comment: There is no comment for this version
To version 17.1
edited by test user
on 2026/05/27 13:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,55 +1,13 @@
1 -## xwiki-migration: livetable-begin
2 -{{liveData
3 - id="mud-weapons"
4 - source="liveTable"
5 - sourceParameters="className=MUD.Code.WeaponClass&translationPrefix=mud.weapons."
6 - properties="doc.title,judge,hands,damage_type,quality,source,quest_required"
7 - sort="doc.title"
8 -}}
9 -{
10 - "meta": {
11 - "propertyDescriptors": [
12 - {
13 - "id": "doc.title",
14 - "name": "Weapon",
15 - "editable": false
16 - },
17 - {
18 - "id": "judge",
19 - "editable": false
20 - },
21 - {
22 - "id": "hands",
23 - "editable": false
24 - },
25 - {
26 - "id": "damage_type",
27 - "editable": false
28 - },
29 - {
30 - "id": "quality",
31 - "editable": false
32 - },
33 - {
34 - "id": "source",
35 - "editable": false
36 - },
37 - {
38 - "id": "quest_required",
39 - "editable": false
40 - }
41 - ]
42 - }
43 -}
44 -{{/liveData}}
45 -## xwiki-migration: livetable-end
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}}
46 46  
47 -----
48 -
49 49  {{liveData
50 50   id="mud-weapons"
51 51   source="liveTable"
52 - sourceParameters="className=MUD.Code.WeaponClass&translationPrefix=mud.weapons."
10 + sourceParameters="className=MUD.Code.WeaponClass&translationPrefix=platform.index."
53 53   properties="doc.title,judge,hands,damage_type,quality,source,quest_required"
54 54   sort="doc.title"
55 55  }}
... ... @@ -92,6 +92,7 @@
92 92  
93 93  ----
94 94  
53 +
95 95  {{info}}Legacy macros below.{{/info}}
96 96  
97 97  {{children/}}