General icons to use within the PSL knowledge base. It will ensure that all icons look the same and are stored in the same place which in turn will reduce the risk of broken or missing images.
The images shown below are attached to the main PSL page and are tagged as icon.
Do not randomly remove attachments from the main page because some pages might be referencing the file/image. Seek help from IS to check if it is safe to delete the attachment. |
To add an image to the general collection, attach it to the main PSL page and add a tag "icon"; be mindful of the file name as it will be used to search for the icon. To replace an existing icon upload a new one with the same name as the old one, and it will be updated, all the pages using the icon will show the new version of the icon as well.
Use the browser search (Ctrl + F) on this page to lookup images by name. |
<style>
.image{
position: relative;
float: left;
width: 230px;
height: 60px;
padding: 5px;
margin: 1px !important;
border-style: solid;
border-width: 0.3px;
border-color: rgb(150,150,150);
}
a img{
max-height: 30px;
width: auto;
text-position: right;
}
</style> |
All elements/macros described in this page are available through the Insert more content → Other macros menu. |
Small snippets of CSS code to use within HTML macro to make the instruction manuals more appealing.
Place all the code provided below in between the style blocks for it to work.
<style> /*your code here*/ </style> |
An example of some CSS code inside the HTML macro from the Other macros menu:
|
To achieve the table of contents numbering as shown below. Has to be used with the Table of contents macro.
Currently is included with the "PtP - Operating procedure" template.
.toc-macro ul {display: block; counter-reset: item}
.toc-macro li {list-style-type: none}
.toc-macro li:before { content: counters(item, ".") ". " ; counter-increment: item} |
Necessary presets in the table of contents macro for the adjustments to work as intended

Use this code to hide the language selector when necessary. For example: on title pages.
#google_translate_element{ display: none;} |
![]()
To create a button that brings you to the top of the wiki page you will need following:
Steps to follow:

Insert the following code into the HTML macro:
<style>
#backToTopButton{
position: fixed;
right: 20px;
bottom: 20px;
Z-index: 1;
}
</style> |
The final composition looks as follows:

It is best if you place the setup in a separate block at the bottom of the document. It will look better on the PDF output. |