Difference between revisions of "PostmarketOS:Templates"

From postmarketOS
Jump to navigation Jump to search
m (add stub, wip page notice templates)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
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.
+
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 [https://wiki.postmarketos.org/wiki/Special:AllPages?from=&to=&namespace=10&hideredirects=1 here].
  
 
== Available templates ==
 
== Available templates ==
Line 45: Line 45:
 
Informative boxes for pages:
 
Informative boxes for pages:
 
* [[Template:Stub]]
 
* [[Template:Stub]]
* [[Template:WIP page notice]]
+
* [[Template:Work-in-progress page]]
  
 
Userboxes:
 
Userboxes:
Line 53: Line 53:
 
* [[Template:User_mainline_attempts]] ''"This user is currently trying to mainline a device."''
 
* [[Template:User_mainline_attempts]] ''"This user is currently trying to mainline a device."''
 
* [[Template:User_GitLab]] ''Links to user's GitLab profile'' (usage: {<p style="display:inline;"></p>{User GitLab|username}})
 
* [[Template:User_GitLab]] ''Links to user's GitLab profile'' (usage: {<p style="display:inline;"></p>{User GitLab|username}})
 +
* [[Template:User_GitHub]] ''Links to user's GitHub profile'' (usage: {<p style="display:inline;"></p>{User GitHub|username}})
 +
  
 
== See also ==
 
== See also ==

Latest revision as of 13:02, 29 November 2021

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

Templates for device ownership list:

  • 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:

Informative boxes for pages:

Userboxes:


See also