Difference between revisions of "Template:URLtwitter"
Jump to navigation
Jump to search
m (added category) |
(updated for X) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{raw:pool:POOLIconREFweb}} [https:// | + | <includeonly>{{raw:pool:POOLIconREFweb}} [https://x.com/{{{1}}} X profile (formerly Twitter)].{{#if:{{{2|}}}| Retrieved {{date|{{{2}}}}}.|}}{{#if:{{{3|}}}| (error: {{{3}}}) [[Category:ERROR_URL]].|}} |
− | [[Category: | + | [[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 13: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:
- Template:URLwebsite
- Template:URLwikipedia
- Template:URL-FBprofile
- Template:URL-FBpage
- Template:URL-FBgroup
- Template:URLtwitter
- Template:URL-IMDbName
- Template:URL-IMDbTitle
Note: Only use the <date> parameter when you have retrieved the URL.
Examples
{{URLtwitter|Brother_K_BSM}}
{{URLtwitter|Brother_K_BSM|2019-09-15}}
X profile (formerly Twitter). Retrieved 15 September 2019.
{{URLtwitter|Brother_K_BSM|2019-09-15|404}}
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.