Difference between revisions of "Template:High traffic"
imported>Kephir |
imported>Jonesey95 (Fix Linter errors) |
||
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{| class="tmbox tmbox-notice tmbox-high-traffic {{#ifeq:{{{small|}}}|yes|mbox-small}} {{#if:{{{date2|}}}|collapsible {{#if:{{{date4|}}}|collapsed}}}}" | {| class="tmbox tmbox-notice tmbox-high-traffic {{#ifeq:{{{small|}}}|yes|mbox-small}} {{#if:{{{date2|}}}|collapsible {{#if:{{{date4|}}}|collapsed}}}}" | ||
|- | |- | ||
− | | class="mbox-image" | | + | | class="mbox-image" | [[File:Web traffic.svg|{{#ifeq:{{{small|}}}|yes|25|50}}px|High traffic]] |
! class="mbox-text" | | ! class="mbox-text" | | ||
<p>{{ | <p>{{ | ||
Line 10: | Line 10: | ||
|both=''[[:{{SUBJECTPAGENAME}}]]'' and its talk page have | |both=''[[:{{SUBJECTPAGENAME}}]]'' and its talk page have | ||
|''[[:{{SUBJECTPAGENAME}}]]'' has | |''[[:{{SUBJECTPAGENAME}}]]'' has | ||
− | }} been {{ | + | }} been {{ |
#if:{{{linktext|}}}|{{{linktext}}}|linked | #if:{{{linktext|}}}|{{{linktext}}}|linked | ||
}} {{ | }} {{ | ||
Line 17: | Line 17: | ||
#if:{{{site2|}}}|multiple high-traffic websites|a high-traffic website | #if:{{{site2|}}}|multiple high-traffic websites|a high-traffic website | ||
}}. | }}. | ||
− | | | + | |On {{{date}}}, {{ |
#switch:{{lc:{{{page|}}}}} | #switch:{{lc:{{{page|}}}}} | ||
|talk=this talk page was | |talk=this talk page was | ||
Line 33: | Line 33: | ||
|{{{site}}} | |{{{site}}} | ||
}}, | }}, | ||
− | }} a high-traffic website. | + | }} a high-traffic website. ({{high traffic/stats link|small={{{small|}}}|date={{{date|<noinclude>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}</noinclude>}}}|page={{{page|}}}}}) |
− | }} | + | }}</p> |
− | <p class="plainlinks"><small>All prior and subsequent edits to the article are noted in [{{fullurl:{{SUBJECTPAGENAME}}|action=history}} its revision history].</small> | + | <p class="plainlinks"><small>All prior and subsequent edits to the article are noted in [{{fullurl:{{SUBJECTPAGENAME}}|action=history}} its revision history].</small></p> |
{{#if:{{{date2|}}}| | {{#if:{{{date2|}}}| | ||
{{!}}- | {{!}}- | ||
Line 59: | Line 59: | ||
|{{high traffic/row|small={{{small|}}}|date={{{date9}}}|url={{{url9}}}|site={{{site9}}}|lang={{{lang9|}}}|page={{{page|}}} }} }} | |{{high traffic/row|small={{{small|}}}|date={{{date9}}}|url={{{url9}}}|site={{{site9}}}|lang={{{lang9|}}}|page={{{page|}}} }} }} | ||
{{#if:{{{date10|}}} | {{#if:{{{date10|}}} | ||
− | |{{high traffic/row|small={{{small|}}}|date={{{date10}}}|url={{{url10}}}|site={{{site10}}}|lang={{{lang10|}}}|page={{{page|}}} }} }} | + | |{{high traffic/row|small={{{small|}}}|date={{{date10}}}|url={{{url10}}}|site={{{site10}}}|lang={{{lang10|}}}|page={{{page|}}} }} }} |
− | {{!}}} }} | + | {{!}}} }}</p> |
|}{{#if:{{{notlinked|}}}||{{#ifeq:{{FULLROOTPAGENAME}}|Wikipedia:Template messages|<!--Don't categorize-->|[[Category:Articles linked from high traffic sites|<noinclude> </noinclude>{{PAGENAME}}]]}}}}<noinclude>{{documentation}}</noinclude> | |}{{#if:{{{notlinked|}}}||{{#ifeq:{{FULLROOTPAGENAME}}|Wikipedia:Template messages|<!--Don't categorize-->|[[Category:Articles linked from high traffic sites|<noinclude> </noinclude>{{PAGENAME}}]]}}}}<noinclude>{{documentation}}</noinclude> |
Latest revision as of 04:00, 12 March 2020
![]() |
On {{{date}}}, Template:High traffic was linked from a high-traffic website. (See visitor traffic) All prior and subsequent edits to the article are noted in its revision history. |
---|
Usage
Add this template to the top of the talk page associated with the page that is linked from or mentioned[1] on a high traffic site. It may also be used if the talk page is linked or mentioned.
Use the syntax {{high traffic|date=|site=|url=|small=|page=|linktext|afterlinktext|date2=|site2=|page2=|...|date10=|site10=|page10=}} where
- date is the date on which the link or mention occurred, e.g. date=16 September 2025.
- url is the URL (including the http:// prefix) of the originating site, preferably link the particular page that links Wikipedia, i.e. is going to hit this article heavily, e.g. http://science.slashdot.org/article.pl?sid=07/06/17/183242.
- site is the simple description of the website, e.g. Slashdot.
Additional parameters:
- date2 through date10, url2 through url10, and site2 through site10 - used if the page is mentioned on more than one high-traffic site. If you need to add more than 10 please update the template.
- linktext to change the word "linked" and afterlinktext to change the word "from." Use notlinked=yes to disable Category:Articles linked from high traffic sites.
- small if set to yes, makes a small version of this template
- page is usually blank. If the talk page is linked or mentioned, use page=talk. If both the talk page and article pages are linked or mentioned, use page=both.
Example uses:
Common - one incoming link:
- {{high traffic|date=16 September 2025|url=http://www.reddit.com/somepagehere.html|site=Reddit}}
![]() |
On 16 September 2025, Template:High traffic was linked from Reddit, a high-traffic website. (See visitor traffic) All prior and subsequent edits to the article are noted in its revision history. |
---|
Multiple links from high-traffic sites:
- {{high traffic|date=16 September 2025|url=http://www.reddit.com/somepagehere.html|site=Reddit|date2=16 September 2025|url2=http://www.cnn.com/somepagehere.html|site2=CNN}}
![]() |
Template:High traffic has been linked from multiple high-traffic websites. All prior and subsequent edits to the article are noted in its revision history. | ||||||||
---|---|---|---|---|---|---|---|---|---|
|
Mentioned[1] on a high-traffic site but not linked from it. Common on high-traffic news web sites:
- {{high traffic|date=16 September 2025|url=http://www.reddit.com/somepagehere.html|site=Reddit|linktext=mentioned|afterlinktext=on|notlinked=yes}}
![]() |
On 16 September 2025, Template:High traffic was mentioned on Reddit, a high-traffic website. (See visitor traffic) All prior and subsequent edits to the article are noted in its revision history. |
---|
Small version:
- {{high traffic|date=16 September 2025|url=http://www.reddit.com/somepagehere.html|site=Reddit|small=yes}}
![]() |
On 16 September 2025, Template:High traffic was linked from Reddit, a high-traffic website. (Traffic) All prior and subsequent edits to the article are noted in its revision history. |
---|
Talk page linked from high-traffic site:
- {{high traffic|date=16 September 2025|url=http://www.reddit.com/somepagehere.html|site=Reddit|page=talk}}
![]() |
On 16 September 2025, this talk page was linked from Reddit, a high-traffic website. (See visitor traffic) All prior and subsequent edits to the article are noted in its revision history. |
---|
Both article and talk page linked from high-traffic site:
- {{high traffic|date=16 September 2025|url=http://www.reddit.com/somepagehere.html|site=Reddit|page=both}}
![]() |
On 16 September 2025, Template:High traffic and its talk page were linked from Reddit, a high-traffic website. (See visitor traffic) All prior and subsequent edits to the article are noted in its revision history. |
---|
Pages this template is used on are placed into Category:Articles linked from high traffic sites.
Notes
- ↑ 1.0 1.1 Template:Press is preferred if the article is mentioned rather than linked, even for high-traffic sites.
See also
- {{press}}
- {{pp-semi-vandalism}}, semi-protection, next possible step if there is continual vandalism
- Wikipedia:Template locations, dispute regarding the placement of templates mainly directed at editors in the article namespace or on talk pages
- Wikipedia:Popular pages
The above documentation is transcluded from Template:High traffic/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |