Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:Navbox visibility

Permanently protected template
From Wikipedia, the free encyclopedia

Templates using the classesclass=navbox ({{navbox}}) orclass=nomobile ({{sidebar}}) are not displayed in article space on themobile web site of English Wikipedia. Mobile page views account for approximately 68% of all page views (90-day average as of September 2024[update]). Briefly, these templates are not included in articles because 1) they are not well designed for mobile, and 2) they significantly increase page sizes—bad for mobile downloads—in a way that is not useful for the mobile use case. You can review/watchphab:T124168 for further discussion.

Template documentation[view] [edit] [history] [purge]
WarningThis template is used onapproximately 45,000 pages and changes may be widely noticed. Test changes in the template's/sandbox or/testcases subpages, or in your ownuser subpage. Consider discussing changes on thetalk page before implementing them.

Usage

Place this template on templates that directly or indirectly use thenavbox attribute, so that editors will know that many readers will not be able to see the template.

Update

Seehttps://analytics.wikimedia.org/dashboards/vital-signs/#projects=enwiki/metrics=Pageviews if you want to update the numbers (try smoothing the curve by averaging over the last 90 days).

Numbers can also be updated from pageviews. To update the number, get the (total) value inPageViews on the right (should be in the realm of 20 billion). Then set the Platform on the left for Mobile web (click "Break down by Site"). Get the total. Do the same for Mobile app. Then do the basic addition/division.

Some ad blockers (uBlock Origin particularly) will catch the words 'pageview' and 'piwik' in resources loaded to display the graphs. Disable the adblocker for the website in question.

See also

The abovedocumentation istranscluded fromTemplate:Navbox visibility/doc.(edit |history)
Editors can experiment in this template'ssandbox(edit |diff) and testcases(create) pages.
Add categories to the/doc subpage.Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Navbox_visibility&oldid=1276725200"
Categories:
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp