Difference between revisions of "Template:URLtwitter"
Jump to navigation
Jump to search
(created) |
m (added category) |
||
(4 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|}}}| (error: {{{3}}}) [[Category:ERROR_URL]]. | + | <includeonly>{{raw:pool:POOLIconREFweb}} [https://twitter.com/{{{1}}} Twitter profile].{{#if:{{{2|}}}| Retrieved {{date|{{{2}}}}}.|}}{{#if:{{{3|}}}| (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 | + | == 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 16: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:
- 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}}
Twitter profile. Retrieved 15 September 2019.
{{URLtwitter|Brother_K_BSM|2019-09-15|404}}
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.