Changes for page Weapons

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

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

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,7 @@
1 1  {{liveData
2 2   id="mud-weapons"
3 3   source="liveTable"
4 - sourceParameters="className=MUD.Code.WeaponClass&translationPrefix=mud.weapons."
4 + sourceParameters="className=MUD.Code.WeaponClass&translationPrefix=platform.index."
5 5   properties="doc.title,judge,hands,damage_type,quality,source,quest_required"
6 6   sort="doc.title"
7 7  }}
... ... @@ -41,54 +41,15 @@
41 41   }
42 42  }
43 43  {{/liveData}}
44 -----
45 45  
46 -{{liveData
47 - id="mud-weapons"
48 - source="liveTable"
49 - sourceParameters="className=MUD.Code.WeaponClass&translationPrefix=mud.weapons."
50 - properties="doc.title,judge,hands,damage_type,quality,source,quest_required"
51 - sort="doc.title"
52 -}}
53 -{
54 - "meta": {
55 - "propertyDescriptors": [
56 - {
57 - "id": "doc.title",
58 - "name": "Weapon",
59 - "editable": false
60 - },
61 - {
62 - "id": "judge",
63 - "editable": false
64 - },
65 - {
66 - "id": "hands",
67 - "editable": false
68 - },
69 - {
70 - "id": "damage_type",
71 - "editable": false
72 - },
73 - {
74 - "id": "quality",
75 - "editable": false
76 - },
77 - {
78 - "id": "source",
79 - "editable": false
80 - },
81 - {
82 - "id": "quest_required",
83 - "editable": false
84 - }
85 - ]
86 - }
87 -}
88 -{{/liveData}}
89 -
90 90  ----
91 91  
47 +{{velocity}}
48 +{{html clean="false"}}
49 +<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>
50 +{{/html}}
51 +{{/velocity}}
52 +
92 92  {{info}}Legacy macros below.{{/info}}
93 93  
94 94  {{children/}}