Difference between revisions of "Template:URLtwitter"

From IntactiWiki
Jump to navigation Jump to search
m (added category)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{raw:pool:POOLIconREFweb}} [https://twitter.com/{{{1}}} Twitter profile]. Retrieved {{date|{{{2}}}}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}}) [[Category:ERROR_URL]].
+
<includeonly>{{raw:pool:POOLIconREFweb}} [https://twitter.com/{{{1}}} Twitter profile].{{#if:{{{2|}}}|&nbsp;Retrieved {{date|{{{2}}}}}.|}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}}) [[Category:ERROR_URL]].|}}
  
 
[[Category:Twitter profile]]</includeonly><noinclude>== Usage ==
 
[[Category:Twitter profile]]</includeonly><noinclude>== Usage ==
Line 15: Line 15:
 
{{URLtwitter|Brother_K_BSM|2019-09-15|404}}
 
{{URLtwitter|Brother_K_BSM|2019-09-15|404}}
  
== Automatic category ==
+
== Automatic categories ==
This template adds the category '''Twitter profile''' to the article which uses it.
+
* 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.
 +
 
 +
[[Category:URL template]]
  
 
[[de:Vorlage:URLtwitter]]</noinclude>
 
[[de:Vorlage:URLtwitter]]</noinclude>

Latest revision as of 17:06, 13 January 2022

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 Twitter profile.

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

REFweb Twitter profile. Retrieved 15 September 2019.

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

REFweb Twitter profile. 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.