PostmarketOS:Templates
Appearance
MediaWiki allows us to define custom templates, which can then be included in other wiki pages. When creating a new one, please add it below, and use the "Template:Template" at the top of the new template. Check existing templates for reference. An automatically generated list of templates can be found here.
Available templates
- Button - Representation of pressing a button or sequence of buttons in order
- ButtonCombo - Representation of multiple buttons pressed simultaneously
- App - format several standard properties of an app, used in Applications by category
- AppAntifeature / Appaf - describe properties of an app that do not adhere to postmarketOS' principles, used in Applications by category
- Hc - block code with header (can be used for listing the contents of a file, with the file location on top)
- Icon box - simple box with icon
- Side box - smaller simple box without icon
- Infobox - on the top right of every device / user interface article
- Based-on-SoC - sidebox that directs to SoC page for common information
- Syslog - short explanation on how to read relevant syslog entries
- Userbox - userbox template
Wiki links
- Alpine - link to a page on the Alpine Wiki
- Wikipedia - link to a Wikipedia page
Main page
- Mainpage-button - fancy buttons with icons used on the Main Page
Repository links
- Albug - link to a bug over at https://bugs.alpinelinux.org/
- Maemo-leste - Maemo Leste bugtracker link
- Issue - gitlab issue link
- Label - gitlab label
- MR - gitlab merge request link
- Milestone - GitLab milestone link
- File - gitlab or github file link
- Github - github issue or pull-request link (obsolete for postmarketOS code, use issue or MR instead)
Talk pages
- Unsigned - template to sign other people's unsigned comments on talk pages
Page information
- Work-in-progress page - Shows a WIP warning for the page
- Stub - Marks a page as needing significant expansion
- Outdated - Indicates a significant amount of information is outdated. Also adds the page to Category:Outdated_pages
- Todo - Indicates a specific task to complete. Also adds the page to Category:Todo_Items
Section information
- See also - "see also" note placed under section headers
- Hint - Shows a highlighted box for hints
- Note - Shows a highlighted box for notes
- Notice - Shows a highlighted box for important notes
- Warning - Shows a highlighted box for warnings
Device ownership
- My devices - Show table of devices owned on your own page
- Owns device - Adds a device to the ownership table
- Device owners - Displays list of people owning the device to the device page
Package links
Templates for Users
- User ports - Shows the amount of devices you ported (usage: {{User ports|amount}})
- User main device - Shows the user's main device (usage: {{User main device|Wiki link}})
- User mainline - Shows the amount of devices you mainlined (usage: {{User mainline|amount}})
- User mainline attempts "This user is currently trying to mainline a device."
- User matrix - Links to user's Matrix profile (usage: {{User Matrix|@username:homeserver.org}})
- User gitlab - Links to user's GitLab profile (usage: {{User GitLab|username}})
- User sourcehut - Links to user's SourceHut profile (usage: {{User SoureHut|username}})