Modifiche per il documento Attack (Order)

Ultima modifica di Manoeuvring with Difficulty il 2024/01/26 06:48

Dalla versione 7.1
modificato da Manoeuvring with Difficulty
il 2024/01/25 07:10
Cambia il commento: Added info about attacking surface elements
Alla versione 10.2
modificato da Manoeuvring with Difficulty
il 2024/01/25 10:19
Cambia il commento: Removed tag [combat]

Summary

Details

Page properties
Tags
... ... @@ -1,0 +1,1 @@
1 +order
Content
... ... @@ -65,5 +65,21 @@
65 65  
66 66  = Related =
67 67  
68 -* [[Attack in Range>>doc:X4 Foundations Wiki.Manual and Guides.Objects in the Game Universe.Orders, Behaviours and Assignments.Attack in Range (Order).WebHome]]
69 -* [[Attack with Commander>>doc:X4 Foundations Wiki.Manual and Guides.Objects in the Game Universe.Orders, Behaviours and Assignments.Attack with Commander (Assignment).WebHome]]
68 +{{velocity}}
69 +## Related pages display by Manoeuvring with Difficulty, displays a horizontal list of related pages based upon the tags given to the page
70 +## Get all tags assigned to this page
71 +#set ($tags = $doc.getTagList())
72 +#foreach($tag in $tags)
73 + ----
74 + (% style="text-align:center" %)
75 + **$tag.substring(0,1).toUpperCase()$tag.substring(1,$tag.length())**
76 + ~| ## Display the tags with the 1st letter being uppercase
77 + #set ($references = $services.query.xwql("from doc.object(XWiki.TagClass) as tag where '$tag' member of tag.tags").execute())
78 + #foreach($reference in $references)
79 + #set ($document = $xwiki.getDocument($reference))
80 + #set ($label = $document.getTitle())
81 + [[$label>>$reference]] | ## link to every page with the same tag
82 + #end
83 +
84 +#end
85 +{{/velocity}}