Faq/Wiki/013
TDF LibreOffice Document Liberation Project Community Blogs Weblate Nextcloud Redmine Ask LibreOffice Donate
Frequently used templates of our wiki
There are templates which we often use in our wiki for creating and editing the pages. The purpose of these templates make our lives easier and expedite reading the page in edit mode. Do not hesitate to use them.
Menu in an application interface
This template is used to display the menu in the application interface. It is often used in the Release Notes and articles of the FAQ.
{{bc|File|Save as...}}}
result:
▸Button on the keyboard
The template is used for keys pressed on a keyboard to get the desired result.
{{key|Ctrl}}
result: Ctrl
A shortcut key can be set by vertical bar ( | ):
{{key|Ctrl|S}}
result: Ctrl + S
For more information, see key.
Dead link
If you find a link that goes to the wrong site or to a page that doesn't exist (404), use this template:
{{dead link}}
result: [dead link]
Link to Wikipedia
If you want to make a beautiful link to Wikipedia, you can use this template:
{{Wikipedia|language=ru|1=LibreOffice|2=Информация о LibreOffice}}
result: Информация о LibreOffice
Meaning of the parameters:
- language - the language of Wikipedia;
- 1 - the title of the article on Wikipedia for this language;
- 2 - the text to be displayed.
The final attribute can be omitted, if you want to display the title of the article.
You can use a shorter template for the English part of wikipedia:
{{enwp|1=LibreOffice|2=Information about LibreOffice}}
result: Information about LibreOffice
For more information, see Template:Wikipedia.
Link to bugtracker
Our Bugzilla instance is the primary bugtracker. The easiest way to make a link to it is to use this template:
{{tdf|68983}}
68983 is the bug number.
- Result: tdf#68983
You can use additional arguments in this template:
{{tdf|68983|Name|shownumber=yes|c=6}}
- Name - the link text
- shownumber=yes - if set to "yes", the bug number will be shown next to the link text
- c=N - a link to a specific comment N
These arguments are not required and you can skip them. The above example looks like:
Additional templates:
- abi - AbiWord Bugzilla
- bnc - Novell Bugzilla
- deb - Debian BTS
- fate - openSUSE Bugzilla
- fdo - FreeDesktop Bugzilla
- icu - International Components for Unicode JIRA
- issue - Apache Bugzilla
- kde - KDE Bugzilla
- lp - Launchpad
- moz - Mozilla Bugzilla
- py - Python Roundup
- redmine - TDF Redmine
- rhbz - Red Hat Bugzilla
These templates take the same arguments as tdf.
Link to commit
{{commit|b9ecec7c74687ed5a9470cffb7d02e0e6e83107e}}
b9ecec7c74687ed5a9470cffb7d02e0e6e83107e is commit ID.
The 6 digit long version looks like this:
{{commit|b9ecec7c74687ed5a9470cffb7d02e0e6e83107e|6}}
b9ecec7c74687ed5a9470cffb7d02e0e6e83107e is commit ID.
- Result: b9ecec
Release numbers
The following template outputs the version of the program automatically.
{{LatestReleaseStableMajor}}
Result: 7.6
{{LatestReleaseFreshMajor}}
Result: 24.2
{{LatestReleaseFresh}}
Result: 24.2.5
{{LatestReleaseStable}}
Result: 7.6.7
Example of use:
[[ReleaseNotes/{{LatestReleaseFreshMajor}}/ru|Release Notes of LibreOffice {{LatestReleaseFreshMajor}}.x]]