Difference between revisions of "Template:High traffic"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (Protected "Template:High traffic": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (...)
imported>Jonesey95
(Fix Linter errors)
 
(2 intermediate revisions by 2 users not shown)
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 34: Line 34:
 
                           }},
 
                           }},
 
                         }} a high-traffic website. ({{high traffic/stats link|small={{{small|}}}|date={{{date|<noinclude>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}</noinclude>}}}|page={{{page|}}}}})
 
                         }} 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

High traffic

On {{{date}}}, Template:High traffic was linked from a high-traffic website. (See visitor traffic)

Template documentation[view] [edit] [history] [purge]

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=14 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=14 September 2025|url=http://www.reddit.com/somepagehere.html|site=Reddit}}
High traffic

On 14 September 2025, Template:High traffic was linked from Reddit, a high-traffic website. (See visitor traffic)

Multiple links from high-traffic sites:

{{high traffic|date=14 September 2025|url=http://www.reddit.com/somepagehere.html|site=Reddit|date2=14 September 2025|url2=http://www.cnn.com/somepagehere.html|site2=CNN}}
High traffic

Template:High traffic has been linked from multiple high-traffic websites.

14 September 2025 Reddit Link See visitor traffic
14 September 2025 CNN Link See visitor traffic

Mentioned[1] on a high-traffic site but not linked from it. Common on high-traffic news web sites:

{{high traffic|date=14 September 2025|url=http://www.reddit.com/somepagehere.html|site=Reddit|linktext=mentioned|afterlinktext=on|notlinked=yes}}
High traffic

On 14 September 2025, Template:High traffic was mentioned on Reddit, a high-traffic website. (See visitor traffic)

Small version:

{{high traffic|date=14 September 2025|url=http://www.reddit.com/somepagehere.html|site=Reddit|small=yes}}
High traffic

On 14 September 2025, Template:High traffic was linked from Reddit, a high-traffic website. (Traffic)

Talk page linked from high-traffic site:

{{high traffic|date=14 September 2025|url=http://www.reddit.com/somepagehere.html|site=Reddit|page=talk}}
High traffic

On 14 September 2025, this talk page was linked from Reddit, a high-traffic website. (See visitor traffic)

Both article and talk page linked from high-traffic site:

{{high traffic|date=14 September 2025|url=http://www.reddit.com/somepagehere.html|site=Reddit|page=both}}
High traffic

On 14 September 2025, Template:High traffic and its talk page were linked from Reddit, a high-traffic website. (See visitor traffic)


Pages this template is used on are placed into Category:Articles linked from high traffic sites.

Notes

  1. 1.0 1.1 Template:Press is preferred if the article is mentioned rather than linked, even for high-traffic sites.

See also