
{{Top-mobile}} is a way to allow mobile visitors a way to switch between the canon and legends version of a page. It only works on Mercury, FANDOM's mobile web skin.

Usage[edit source]

This template is inserted into all in-universe infobox templates as a way of triggering choice between the Legends and Canon versions of a page. It works in Mercury, but is less likely to currently work in the Wookieepedia app, because the app doesn't yet support image linking.

Strictly speaking, it only works in Mercury, because it is not active in the default desktop skin.

How it works[edit source]

When you're on a Canon page -- defined as a page without /Legends in the title, so R2-D2 -- you'll see the following images underneath the main image:

OnACanonArticle.png

When clicked on a phone, the "Canon" image will take you to the article, Canon. The "Go to Legends" image will take you to that article's title + /Legends. So, if you were on Cloud City, you'd go to Cloud City/Legends.

By contrast, if you were on the page Sio Bibble/Legends, you'd see these images:

OnALegendsArticle.png

Here, the "Legends" image would take you to Star Wars Legends, and the "Go to Canon" image would take you to the canon version of the article: Sio Bibble.

Finally, if you're on a canon page without a legends counterpart -- like Kylo Ren -- or a legends page without a canon counterpart -- like Keleman Ciro -- the switcher will indicate which of the two it is.

A few cases -- typically those involving different names for the topic in canon than in legends, like Watts -- are a bit confusing for this system to figure out, so the "fall back" canon/legends switcher that's a part of {{Top}} is available for correct mobile switching.

Example images[edit source]

Here are some images taken from both legends and canon pages from a real iOS phone. These are not simulations of the mobile experience.

Community content is available under CC-BY-SA unless otherwise noted.
https://starwars.fandom.com/wiki/Template:Top-mobile
starwars.fandom.com
crawl=CC-MAIN-2021-17
205167
application/http; msgtype=response
sha1:IK5224SWXWNFDZFDZKWLPCQDWC6WXYPE
<urn:uuid:7e6071e2-5366-4a71-83e1-2ff4172a4767>
2021-04-19T23:16:30Z
151.101.0.194
text/html
sha1:BCMT3KBP4Q2B5RVLVHTSLOTFCDB234U3
<urn:uuid:550725bd-72e6-4b00-b0b3-b646ad84567c>
https://starwars.fandom.com/wiki/Template:Top-mobile
response
<urn:uuid:758f5eca-5c25-4a9f-9058-eb0fabdfe1c5>
isPartOf: CC-MAIN-2021-17
publisher: Common Crawl
description: Wide crawl of the web for April 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-126.ec2.internal
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/