Changes for page Contribute

Last modified by test user on 2026/05/26 17:29

From version 8.1
edited by Espen Solbu
on 2026/05/25 19:24
Change comment: There is no comment for this version
To version 15.1
edited by test user
on 2026/05/26 17:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.eso
1 +XWiki.TestUser
Content
... ... @@ -38,13 +38,7 @@
38 38  
39 39  = Missing Walkthrough =
40 40  
41 -{{liveData
42 - id="contribute-unsolved-quests"
43 - source="liveTable"
44 - sourceParameters="className=MUD.Code.QuestClass&translationPrefix=mud.quests.&walkthrough=No"
45 - properties="doc.title,id_,tier,suited_for,quest_level,quest_points,domain,walkthrough"
46 - sort="doc.title"
47 -}}
41 +{{liveData id="contribute-unsolved-quests" source="liveTable" sourceParameters="className=MUD.Code.QuestClass&translationPrefix=mud.quests.&walkthrough=No" properties="doc.title,id_,tier,suited_for,quest_level,quest_points,domain" sort="doc.title"}}
48 48  {
49 49   "meta": {
50 50   "propertyDescriptors": [
... ... @@ -72,5 +72,68 @@
72 72  
73 73  
74 74  
69 += Editor Tips =
75 75  
76 -
71 +To insert tables, use the WIKI editor (not WYSIWYG), The example below contains a preset filter to "Walkthrough=No"
72 +
73 +Or Use the Macro "Mud Live Table"
74 +
75 +{{code language="velocity"}}
76 +{{liveData
77 + id="contribute-unsolved-quests"
78 + source="liveTable"
79 + sourceParameters="className=MUD.Code.QuestClass&translationPrefix=mud.quests.&walkthrough=No"
80 + properties="doc.title,id_,tier,suited_for,quest_level,quest_points,domain"
81 + sort="doc.title"
82 +}}
83 +{
84 + "meta": {
85 + "propertyDescriptors": [
86 + {"id": "doc.title", "name": "Quest", "editable": false},
87 + {"id": "id_", "editable": false},
88 + {"id": "tier", "editable": false},
89 + {"id": "suited_for", "editable": false},
90 + {"id": "quest_level", "editable": false},
91 + {"id": "quest_points", "editable": false},
92 + {"id": "domain", "editable": false}
93 + ]
94 + }
95 +}
96 +{{/liveData}}
97 +{{/code}}
98 +
99 +Here you can also clamp the table to only take pages from certain locations in the hierarchy by using the "location" sourceParameter
100 +
101 +{{code}}
102 +sourceParameters="className=MUD.Code.ScrollClass&translationPrefix=mud.scrolls.&location=MUD.Items.Scrolls.Arcane Scrolls"
103 +{{/code}}
104 +
105 +Or use the **MUD Tag Table** macro to list pages by tag — useful for Confluence-label-style aggregations like equipment sets that may span multiple page types:
106 +
107 +{{code language="velocity"}}
108 +{{tagtable tag="set_twilight" title="Twilight Set"/}}
109 +{{/code}}
110 +
111 +The tagtable returns results across //every// XClass — weapons, armour, accessories — anywhere that page is tagged. Browse the current tag list at the [[XWiki tag cloud>>https://xwiki.onomato.biz/bin/view/Main/Tags]].
112 +
113 +If you'd prefer to wire the tag filter into a raw `{{liveData}}` block instead of using the wrapper macro, the pattern is: top-level `filters="tags=<value>"` on the macro, plus `className=XWiki.TagClass` + `translationPrefix=platform.index.` in `sourceParameters`, and `tags` must be in the `properties` list. Example:
114 +
115 +{{code language="velocity"}}
116 +{{liveData
117 + id="my-tag-table"
118 + source="liveTable"
119 + sourceParameters="className=XWiki.TagClass&translationPrefix=platform.index."
120 + properties="doc.title,doc.location,tags"
121 + filters="tags=set_twilight"
122 + sort="doc.title"
123 +}}
124 +{
125 + "meta": {
126 + "propertyDescriptors": [
127 + { "id": "tags", "visible": false }
128 + ]
129 + }
130 +}
131 +{{/liveData}}
132 +{{/code}}
133 +