Difference between revisions of "Template:User main device"

From postmarketOS
Jump to navigation Jump to search
m
Line 12: Line 12:
 
<pre>{{User_main_device|Nokia N900 (nokia-n900)}}</pre>
 
<pre>{{User_main_device|Nokia N900 (nokia-n900)}}</pre>
  
{{todo|When this links to a nonexistent device, the link appears in [[Special:WantedPages]] (probably because we include a link to it in the template anyways). Fix this, to prevent clutter.}}
+
{{note|When this links to a nonexistent device, the link appears in [[Special:WantedPages]]. This is a side-effect of using #ifexists.}}
 
</noinclude>{{userbox
 
</noinclude>{{userbox
 
| border-c = #000000
 
| border-c = #000000

Revision as of 16:52, 16 June 2020

This page is a template. It contains no postmarketOS-related information, but should be used as part of other articles.

Check out all pages using this template and feel free to discuss it in the gitlab issues.

For more information, read Templates and Template:Template.

This is an userbox showing the user's main device. If there's a wiki page for the device, it will link to it.

📱

This user's main device is a Nonexistent device (fake-device).



{{User_main_device|Nonexistent device (fake-device)}}

📱

This user's main device is a Nokia N900 (nokia-n900).



{{User_main_device|Nokia N900 (nokia-n900)}}
When this links to a nonexistent device, the link appears in Special:WantedPages. This is a side-effect of using #ifexists.

📱

This user's main device is a {{{1}}}.