| ... |
... |
@@ -1,13 +1,8 @@ |
| 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 |
|
- |
|
1 |
+## xwiki-migration: livetable-begin |
| 7 |
7 |
{{liveData |
| 8 |
8 |
id="mud-weapons-unarmed" |
| 9 |
9 |
source="liveTable" |
| 10 |
|
- sourceParameters="className=MUD.Code.WeaponClass&translationPrefix=mud.weapons.&location=MUD.Items.Weapons.Unarmed" |
|
5 |
+ 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,26 @@ |
| 44 |
44 |
"editable": false |
| 45 |
45 |
} |
| 46 |
46 |
] |
|
42 |
+ }, |
|
43 |
+ "query": { |
|
44 |
+ "filters": [ |
|
45 |
+ { |
|
46 |
+ "property": "doc.location", |
|
47 |
+ "constraints": [ |
|
48 |
+ { |
|
49 |
+ "operator": "startsWith", |
|
50 |
+ "value": "MUD.Items.Weapons.Unarmed" |
|
51 |
+ } |
|
52 |
+ ] |
|
53 |
+ } |
|
54 |
+ ] |
| 47 |
47 |
} |
| 48 |
48 |
} |
| 49 |
49 |
{{/liveData}} |
|
58 |
+## xwiki-migration: livetable-end |
| 50 |
50 |
|
| 51 |
51 |
---- |
| 52 |
52 |
|
|
62 |
+{{create-from-template templateName="17858610" templateId="17858610" buttonLabel="Add new Weapon"/}} |
| 53 |
53 |
|
| 54 |
|
- |
|
64 |
+{{detailssummary cql="label = ~"equipment~" and space = currentSpace() and ancestor = currentContent()"/}} |