Changes for page OrderTemplate

Last modified by Manoeuvring with Difficulty on 2024/01/25 10:18

From version 1.1
edited by Manoeuvring with Difficulty
on 2023/12/03 06:13
Change comment: There is no comment for this version
To version 7.2
edited by Manoeuvring with Difficulty
on 2024/01/25 10:18
Change comment: Removed tag [order]

Summary

Details

Page properties
Tags
... ... @@ -1,0 +1,1 @@
1 +ordertemplate|test
Content
... ... @@ -1,17 +13,6 @@
1 -= Overview =
2 -
3 -
4 -= Configuration =
5 -
6 -
7 -= Applications =
8 -
9 -
10 -= Issues =
11 -
12 -
13 13  (% class="box floatinginfobox" %)
14 14  (((
3 +(% class="responsive-table" %)
15 15  |(% colspan="2" %)(((
16 16  == OrderName ==
17 17  )))
... ... @@ -18,11 +18,50 @@
18 18  |(% colspan="2" %)[[image:order_wait.png||data-xwiki-image-style-alignment="center" height="32" width="32"]]
19 19  |(% style="width:132px" %)Category|(% style="width:277px" %)Navigation/Combat/Trade/Miscellaneous
20 20  |(% style="width:132px" %)Instruction Method|(% style="width:277px" %)Order/Default Behaviour/Assignment
21 -|(% style="width:132px" %)Skill|(% style="width:277px" %)(((
10 +|(% style="width:132px" %)[[Skill>>doc:X4 Foundations Wiki.Manual and Guides.Objects in the Game Universe.Equipment.Crew.WebHome]]|(% style="width:277px" %)(((
22 22  ★☆☆☆☆
23 23  )))
24 24  |(% style="width:132px" %)Ship|(% style="width:277px" %)Any
25 25  |(% style="width:132px" %)Commander|(% style="width:277px" %)Any/Ship/Station
26 -|(% style="width:132px" %)Mimic|(% style="width:277px" %)Yes/No
27 -|(% style="width:132px" %)Repeat Order|(% style="width:277px" %)Yes/No
15 +|(% style="width:132px" %)[[Mimic>>doc:X4 Foundations Wiki.Manual and Guides.Objects in the Game Universe.Orders, Behaviours and Assignments.Mimic.WebHome]]|(% style="width:277px" %)Yes/No
16 +|(% style="width:132px" %)[[Repeat Order>>doc:X4 Foundations Wiki.Manual and Guides.Objects in the Game Universe.Orders, Behaviours and Assignments.Repeat Orders.WebHome]]|(% style="width:277px" %)Yes/No
28 28  )))
18 +
19 += Overview =
20 +
21 +
22 += Configuration =
23 +
24 +
25 += Skill Effects =
26 +
27 +
28 += Applications =
29 +
30 +
31 +== Example ==
32 +
33 +
34 += Caveats =
35 +
36 +
37 += Related =
38 +
39 +{{velocity}}
40 +## Related pages display by Manoeuvring with Difficulty, displays a horizontal list of related pages based upon the tags given to the page
41 +## Get all tags assigned to this page
42 +#set ($tags = $doc.getTagList())
43 +#foreach($tag in $tags)
44 + ----
45 + (% style="text-align:center" %)
46 + **$tag.substring(0,1).toUpperCase()$tag.substring(1,$tag.length())**
47 + ~| ## Display the tags with the 1st letter being uppercase
48 + #set ($references = $services.query.xwql("from doc.object(XWiki.TagClass) as tag where '$tag' member of tag.tags").execute())
49 + #foreach($reference in $references)
50 + #set ($document = $xwiki.getDocument($reference))
51 + #set ($label = $document.getTitle())
52 + [[$label>>$reference]] | ## link to every page with the same tag
53 + #end
54 +
55 +#end
56 +{{/velocity}}