Difference between revisions of "FormatRefLink"

From Sega Retro

(added formatting for Bluesky posts)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<span style="display:none;">{{#vardefine:formatLink|{{{1|}}}}}{{#if:{{#pos:{{{1|}}}|store.playstation}}|<!-- PlayStation Store -->
+
{{#vardefine:formatLink|{{#switch:{{#explode:{{#explode:{{#explode:{{{1|}}}|//|1}}|/|0}}|:|0}}
 
+
| store.playstation.com={{#switch:{{#explode:{{{1|}}}|/|3}}
{{#vardefine:formatLink|PlayStation Store ({{#explode:{{{1}}}|/|3}}; {{#explode:{{{1}}}|/|5}})}}
+
| #!=PlayStation Store ({{#explode:{{{1|}}}|/|4}}; {{#explode:{{#explode:{{{1|}}}|cid=|1}}|&|0}})
 
+
| PlayStation Store ({{#explode:{{{1|}}}|/|3}}; {{#explode:{{{1|}}}|/|5}})
|{{#if:{{#pos:{{{1|}}}|marketplace.xbox}}|<!-- Xbox LIVE Marketplace -->
+
}}
 
+
| marketplace.xbox.com=Xbox LIVE Marketplace ({{#explode:{{{1|}}}|/|3}}; {{#explode:{{{1|}}}|/|5}}/{{#explode:{{{1}}}|/|6}})
{{#vardefine:formatLink|Xbox LIVE Marketplace ({{#explode:{{{1}}}|/|3}}; {{#explode:{{{1}}}|/|5}}/{{#explode:{{{1}}}|/|6}})}}
+
| www.xbox.com=Xbox.com ({{#explode:{{{1|}}}|/|3}}; {{#explode:{{{1|}}}|/|5}}/{{#explode:{{{1}}}|/|6}})
 
+
| play.google.com=Google Play ({{#explode:{{#explode:{{{1|}}}|id=|1}}|&|0}})
|
+
| apkpure.com=APKPure ({{#if:{{#pos:{{{1|}}}|id=}}|{{#explode:{{#explode:{{{1|}}}|id=|1}}|&|0}}|{{#explode:{{{1|}}}|/|4}}}})
}}}}</span>{{#var:formatLink}}{{#vardefine:formatLink|}}<noinclude>
+
| twitter.com=@{{#explode:{{{1|}}}|/|3}} on Twitter
 +
| mobile.twitter.com=@{{#explode:{{{1|}}}|/|3}} on Twitter
 +
| bsky.app=@{{#explode:{{{1|}}}|/|4}} on Bluesky
 +
| {{{1|}}}
 +
}}}}{{#var:formatLink}}<noinclude>
 
*{{FormatRefLink|https://store.playstation.com/en-gb/product/EP0177-NPEB00478_00-SVCSONICHEDGEHOG}}
 
*{{FormatRefLink|https://store.playstation.com/en-gb/product/EP0177-NPEB00478_00-SVCSONICHEDGEHOG}}
 +
*{{FormatRefLink|1=https://store.playstation.com/#!/en-us/games/themes/the-cave-dynamic-theme/cid=UP0177-NPUB30676_00-THECAVEDYNAMIC01}}
 
*{{FormatRefLink|http://marketplace.xbox.com:80/en-AU/games/media/66acd000-77fe-1000-9115-d80258410864}}
 
*{{FormatRefLink|http://marketplace.xbox.com:80/en-AU/games/media/66acd000-77fe-1000-9115-d80258410864}}
 
*{{FormatRefLink|http://marketplace.xbox.com/de-DE/Product/Sonic-The-Hedgehog/66acd000-77fe-1000-9115-d80258410864}}
 
*{{FormatRefLink|http://marketplace.xbox.com/de-DE/Product/Sonic-The-Hedgehog/66acd000-77fe-1000-9115-d80258410864}}
 +
*{{FormatRefLink|1=https://www.xbox.com/en-US/games/store/sonic-origins/9NTS1SHD86BF/0017}}
 +
*{{FormatRefLink|1=https://play.google.com/store/apps/details?id=com.sega.revolvers8}}
 +
*{{FormatRefLink|https://apkpure.com/revolve8/com.sega.revolvers8}}
 +
*{{FormatRefLink|1=https://apkpure.com/store/apps/details?id=com.sega.ycast}}
 +
*{{FormatRefLink|https://twitter.com/sonicretro/status/1565420754799558656}}
 +
*{{FormatRefLink|https://mobile.twitter.com/sonicretro/status/1565420754799558656}}
 +
*{{FormatRefLink|https://bsky.app/profile/sonicretro.bsky.social/post/3kie3b7pcj32e}}
 
*{{FormatRefLink|whoop}}
 
*{{FormatRefLink|whoop}}
[[Category:Sega Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 18:09, 20 March 2024

  • PlayStation Store (en-gb; EP0177-NPEB00478_00-SVCSONICHEDGEHOG)
  • PlayStation Store (en-us; UP0177-NPUB30676_00-THECAVEDYNAMIC01)
  • Xbox LIVE Marketplace (en-AU; media/66acd000-77fe-1000-9115-d80258410864)
  • Xbox LIVE Marketplace (de-DE; Sonic-The-Hedgehog/66acd000-77fe-1000-9115-d80258410864)
  • Xbox.com (en-US; store/sonic-origins)
  • Google Play (com.sega.revolvers8)
  • APKPure (com.sega.revolvers8)
  • APKPure (com.sega.ycast)
  • @sonicretro on Twitter
  • @sonicretro on Twitter
  • @sonicretro.bsky.social on Bluesky
  • whoop