From postmarketOS

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

Wiki links

Main page

Repository links

Talk pages

  • Unsigned - template to sign other people's unsigned comments on talk pages

Page information

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|}})
  • User gitlab - Links to user's GitLab profile (usage: {

    {User GitLab|username}})
  • User sourcehut - Links to user's SourceHut profile (usage: {

    {User SoureHut|username}})

See also