Template:Ms store: Difference between revisions
Jump to navigation
Jump to search
(Added openwith params, which opens the Web browser (default) or the MS Store app on Win10/11.) |
mNo edit summary |
||
| Line 3: | Line 3: | ||
<includeonly><onlyinclude>{{#if:{{{1|}}} | <includeonly><onlyinclude>{{#if:{{{1|}}} | ||
| {{#switch: {{{icon}}}|#default|show=[[File:Icon-MSStore-Dark.png|16px|link={{#switch: {{{openwith}}}|#default|web=https://www.microsoft.com/store/productid/|app|ms-windows-store=ms-windows-store | | {{#switch: {{{icon}}}|#default|show=[[File:Icon-MSStore-Dark.png|16px|link={{#switch: {{{openwith}}}|#default|web=https://www.microsoft.com/store/productid/|app|ms-windows-store=ms-windows-store://pdp/?productid=}}{{urlencode:{{{1|}}}}}|{{{2|{{{1|}}}}}}]]|hide=}} <span class="plainlinks" title="{{{2|{{{1|}}}}}}">[https://apps.microsoft.com/store/detail/{{{1}}} <span style="color:#b5d4ff;">{{{2|{{{1|}}}}}}</span>]</span> | ||
| {{#switch: {{{icon}}}|#default|show=[[File:Icon-MSStore-Dark.png|16px|link={{#switch: {{{openwith}}}|#default|web=https://apps.microsoft.com|app|ms-windows-store=ms-windows-store://}}|{{{alt|Microsoft Store}}}]]|hide=}} <span class="plainlinks" title="{{{alt|Microsoft Store}}}">[https://apps.microsoft.com <span style="color:#b5d4ff;">{{{alt|Microsoft Store}}}</span>]</span> | | {{#switch: {{{icon}}}|#default|show=[[File:Icon-MSStore-Dark.png|16px|link={{#switch: {{{openwith}}}|#default|web=https://apps.microsoft.com|app|ms-windows-store=ms-windows-store://}}|{{{alt|Microsoft Store}}}]]|hide=}} <span class="plainlinks" title="{{{alt|Microsoft Store}}}">[https://apps.microsoft.com <span style="color:#b5d4ff;">{{{alt|Microsoft Store}}}</span>]</span> | ||
}}</onlyinclude></includeonly> <!-- Add categories to the /doc subpage, not here --> | }}</onlyinclude></includeonly> <!-- Add categories to the /doc subpage, not here --> | ||
Revision as of 23:53, 21 August 2023
Todo: Documentation and the "
ms-store://" links, which opens the Microsoft Store app directly. Also Xbox links aswell, as MS Store has been splited, with apps goes to MS Store, and games to Xbox website.The above documentation is transcluded from Template:Ms store/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.