From version 1.1
edited by Espen Solbu
on 2020/12/25 15:08
on 2020/12/25 15:08
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.es o1 +XWiki.TestUser - Tags
-
... ... @@ -1,0 +1,1 @@ 1 +needs-paste - Content
-
... ... @@ -1,3 +1,55 @@ 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 + 7 +{{liveData 8 + id="mud-weapons-piercing" 9 + source="liveTable" 10 + sourceParameters="className=MUD.Code.WeaponClass&translationPrefix=mud.weapons.&location=MUD.Items.Weapons.Piercing" 11 + properties="doc.title,judge,hands,damage_type,quality,source,quest_required" 12 + sort="doc.title" 13 +}} 14 +{ 15 + "meta": { 16 + "propertyDescriptors": [ 17 + { 18 + "id": "doc.title", 19 + "name": "Weapon", 20 + "editable": false 21 + }, 22 + { 23 + "id": "judge", 24 + "editable": false 25 + }, 26 + { 27 + "id": "hands", 28 + "editable": false 29 + }, 30 + { 31 + "id": "damage_type", 32 + "editable": false 33 + }, 34 + { 35 + "id": "quality", 36 + "editable": false 37 + }, 38 + { 39 + "id": "source", 40 + "editable": false 41 + }, 42 + { 43 + "id": "quest_required", 44 + "editable": false 45 + } 46 + ] 47 + } 48 +} 49 +{{/liveData}} 50 + 51 +---- 52 + 1 1 {{create-from-template templateName="17858610" templateId="17858610" buttonLabel="Add new Weapon"/}} 2 2 3 3 {{detailssummary cql="label = ~"equipment~" and space = currentSpace() and ancestor = currentContent()"/}}