| ... |
... |
@@ -1,8 +1,13 @@ |
| 1 |
|
-## xwiki-migration: livetable-begin |
|
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 |
+ |
| 2 |
2 |
{{liveData |
| 3 |
3 |
id="mud-weapons-piercing" |
| 4 |
4 |
source="liveTable" |
| 5 |
|
- sourceParameters="className=MUD.Code.WeaponClass&translationPrefix=mud.weapons." |
|
10 |
+ sourceParameters="className=MUD.Code.WeaponClass&translationPrefix=mud.weapons.&location=MUD.Items.Weapons.Piercing" |
| 6 |
6 |
properties="doc.title,judge,hands,damage_type,quality,source,quest_required" |
| 7 |
7 |
sort="doc.title" |
| 8 |
8 |
}} |
| ... |
... |
@@ -39,26 +39,11 @@ |
| 39 |
39 |
"editable": false |
| 40 |
40 |
} |
| 41 |
41 |
] |
| 42 |
|
- }, |
| 43 |
|
- "query": { |
| 44 |
|
- "filters": [ |
| 45 |
|
- { |
| 46 |
|
- "property": "doc.location", |
| 47 |
|
- "constraints": [ |
| 48 |
|
- { |
| 49 |
|
- "operator": "startsWith", |
| 50 |
|
- "value": "MUD.Items.Weapons.Piercing" |
| 51 |
|
- } |
| 52 |
|
- ] |
| 53 |
|
- } |
| 54 |
|
- ] |
| 55 |
55 |
} |
| 56 |
56 |
} |
| 57 |
57 |
{{/liveData}} |
| 58 |
|
-## xwiki-migration: livetable-end |
| 59 |
59 |
|
| 60 |
60 |
---- |
| 61 |
61 |
|
| 62 |
|
-{{create-from-template templateName="17858610" templateId="17858610" buttonLabel="Add new Weapon"/}} |
| 63 |
63 |
|
| 64 |
|
-{{detailssummary cql="label = ~"equipment~" and space = currentSpace() and ancestor = currentContent()"/}} |
|
54 |
+ |