Template:URLtwitter: Difference between revisions

From IntactiWiki
Jump to navigation Jump to search
WikiAdmin (talk | contribs)
m added category
WikiAdmin (talk | contribs)
updated for X
 
Line 1: Line 1:
<includeonly>{{raw:pool:POOLIconREFweb}} [https://twitter.com/{{{1}}} Twitter profile].{{#if:{{{2|}}}|&nbsp;Retrieved {{date|{{{2}}}}}.|}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}}) [[Category:ERROR_URL]].|}}
<includeonly>{{raw:pool:POOLIconREFweb}} [https://x.com/{{{1}}} X profile (formerly Twitter)].{{#if:{{{2|}}}|&nbsp;Retrieved {{date|{{{2}}}}}.|}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}}) [[Category:ERROR_URL]].|}}


[[Category:Twitter profile]]</includeonly><noinclude>== Usage ==
[[Category:X profile]]</includeonly><noinclude>== Usage ==
Use this template with two '''anonymous''' parameters:
Use this template with two '''anonymous''' parameters:
<pre>{{URLtwitter|<id=><account>|<date>|<HTML Error Code>}}</pre>
<pre>{{URLtwitter|<id=><account>|<date>|<HTML Error Code>}}</pre>

Latest revision as of 11:01, 10 April 2025

Usage

Use this template with two anonymous parameters:

{{URLtwitter|<id=><account>|<date>|<HTML Error Code>}}

Use the available URL templates in the {{LINKS}} section of an article page, with the following order:

  1. Template:URLwebsite
  2. Template:URLwikipedia
  3. Template:URL-FBprofile
  4. Template:URL-FBpage
  5. Template:URL-FBgroup
  6. Template:URLtwitter
  7. Template:URL-IMDbName
  8. Template:URL-IMDbTitle

Note: Only use the <date> parameter when you have retrieved the URL.

Examples

{{URLtwitter|Brother_K_BSM}}

REFweb X profile (formerly Twitter).

{{URLtwitter|Brother_K_BSM|2019-09-15}}

REFweb X profile (formerly Twitter). Retrieved 15 September 2019.

{{URLtwitter|Brother_K_BSM|2019-09-15|404}}

REFweb X profile (formerly Twitter). Retrieved 15 September 2019. (error: 404) .

Automatic categories

  • This template adds the category Twitter profile to the article which uses it.
  • This template adds the category ERROR_URL to the article which uses it if the anonymous <HTML error code> parameter is being used.