Template:Owns device: Difference between revisions
Appearance
MartijnBraam (talk | contribs) Created page with "<noinclude> {{#cargo_declare:_table=DeviceOwners|Device=Page|User=Page}} </noinclude> <includeonly> {{#cargo_store: _table = DeviceOwners |Device= {{{1}}} |User = {{PAGENAME}}..." |
mNo edit summary |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{Template:Template}}{{DISPLAYTITLE:Template:Owns device}} | ||
{{#cargo_declare:_table=DeviceOwners|Device=Page|User=Page}} | |||
</noinclude> | Adds a device to your devices list | ||
<includeonly> | |||
{{#cargo_store: | == Usage == | ||
<nowiki>{{Owns device|devicepage|notes}}</nowiki> | |||
== Examples == | |||
List the hammerhead | |||
<nowiki>{{Owns device|Google_Nexus_5_(lg-hammerhead)}}</nowiki> | |||
List the hammerhead including a note | |||
<nowiki>{{Owns device|Google_Nexus_5_(lg-hammerhead)|Broken screen}}</nowiki> | |||
{{#cargo_declare:_table=DeviceOwners|Device=Page|User=Page|Notes=Wikitext}} | |||
</noinclude><includeonly>{{#cargo_store: | |||
_table = DeviceOwners | _table = DeviceOwners | ||
|Device= {{{1}}} | |Device= {{{1}}} | ||
|User = {{PAGENAME}} | |User = {{PAGENAME}} | ||
}} | |Notes = {{{2|}}} | ||
</includeonly> | }}</includeonly> |
Latest revision as of 19:04, 14 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.
Adds a device to your devices list
Usage
{{Owns device|devicepage|notes}}
Examples
List the hammerhead
{{Owns device|Google_Nexus_5_(lg-hammerhead)}}
List the hammerhead including a note
{{Owns device|Google_Nexus_5_(lg-hammerhead)|Broken screen}}
This template defines the table "DeviceOwners". View table.