Changes for page Contribute
Last modified by test user on 2026/05/26 17:29
From version 9.1
edited by Espen Solbu
on 2026/05/25 19:25
on 2026/05/25 19:25
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.es o1 +XWiki.TestUser - Content
-
... ... @@ -38,6 +38,41 @@ 38 38 39 39 = Missing Walkthrough = 40 40 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"}} 42 +{ 43 + "meta": { 44 + "propertyDescriptors": [ 45 + {"id": "doc.title", "name": "Quest", "editable": false}, 46 + {"id": "id_", "editable": false}, 47 + {"id": "tier", "editable": false}, 48 + {"id": "suited_for", "editable": false}, 49 + {"id": "quest_level", "editable": false}, 50 + {"id": "quest_points", "editable": false}, 51 + {"id": "domain", "editable": false} 52 + ] 53 + } 54 +} 55 +{{/liveData}} 56 + 57 += Walkthrough on any Quests = 58 + 59 + 60 += Copy-Paste of contents = 61 + 62 +Any page with "need-paste" tag typically need more content. You can see all these pages [[here>>https://xwiki.onomato.biz/bin/view/Main/Tags?do=viewTag&tag=needs-paste]] 63 + 64 +* Spells: For Spells we want "help <spellname>" 65 +* Items: For items we typically want "view <item>" 66 + 67 + 68 + 69 += Editor Tips = 70 + 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"}} 41 41 {{liveData 42 42 id="contribute-unsolved-quests" 43 43 source="liveTable" ... ... @@ -59,18 +59,40 @@ 59 59 } 60 60 } 61 61 {{/liveData}} 97 +{{/code}} 62 62 63 - =Walkthroughon anyQuests=99 +Here you can also clamp the table to only take pages from certain locations in the hierarchy by using the "location" sourceParameter 64 64 101 +{{code}} 102 +sourceParameters="className=MUD.Code.ScrollClass&translationPrefix=mud.scrolls.&location=MUD.Items.Scrolls.Arcane Scrolls" 103 +{{/code}} 65 65 66 - =Copy-Pasteofcontents=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: 67 67 68 -Any page with "need-paste" tag typically need more content. You can see all these pages [[here>>https://xwiki.onomato.biz/bin/view/Main/Tags?do=viewTag&tag=needs-paste]] 107 +{{code language="velocity"}} 108 +{{tagtable tag="set_twilight" title="Twilight Set"/}} 109 +{{/code}} 69 69 70 -* Spells: For Spells we want "help <spellname>" 71 -* Items: For items we typically want "view <item>" 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]]. 72 72 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: 73 73 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}} 74 74 75 - 76 -