Difference between revisions of "Template:URL-FBprofile"
Jump to navigation
Jump to search
m |
m (added category) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>[{{#if:{{{id|}}} | + | <includeonly>{{raw:pool:POOLIconREFweb}} [{{#if:{{{id|}}} |
− | | https://www.facebook.com/profile.php?id={{{id}}} Facebook profile]{{#if:{{{1|}}}|. Retrieved {{{1}}}{{#if:{{{2|}}}| (error: {{{2}}})|}}.|}} | + | | https://www.facebook.com/profile.php?id={{{id}}} Facebook profile]{{#if:{{{1|}}}|. Retrieved {{date|{{{1}}}}}{{#if:{{{2|}}}| (error: {{{2}}}) [[Category:ERROR_URL]]|}}.|}} |
− | | https://www.facebook.com/{{{1}}} Facebook profile]{{#if:{{{2|}}}|. Retrieved {{{2}}}{{#if:{{{3|}}}| (error: {{{3}}})|}}.|}} | + | | https://www.facebook.com/{{{1}}} Facebook profile]{{#if:{{{2|}}}|. Retrieved {{date|{{{2}}}}}{{#if:{{{3|}}}| (error: {{{3}}}) [[Category:ERROR_URL]]|}}.|}} |
− | }}</includeonly><noinclude>== Usage == | + | }} |
+ | [[Category:Facebook profile]]</includeonly><noinclude>== Usage == | ||
Use this template with two '''anonymous''' parameters: | Use this template with two '''anonymous''' parameters: | ||
<pre>{{URL-FBprofile|<id=><URL>|<date>|<HTML Error Code>}}</pre> | <pre>{{URL-FBprofile|<id=><URL>|<date>|<HTML Error Code>}}</pre> | ||
Line 8: | Line 9: | ||
'''Note:''' If '''id''' is used, the following anonymous parameters are renumbered by the Template parser. | '''Note:''' If '''id''' is used, the following anonymous parameters are renumbered by the Template parser. | ||
− | + | {{Template:DefaultURL}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Examples == | == Examples == | ||
Line 27: | Line 21: | ||
{{URL-FBprofile|id=100007159870114|2019-09-16}} | {{URL-FBprofile|id=100007159870114|2019-09-16}} | ||
− | [[de:Vorlage:URL-FBprofile]]</noinclude> | + | == Automatic categories == |
+ | * This template adds the category '''Facebook 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]] | ||
+ | |||
+ | [[da:Skabelon:URL-FBprofile]] | ||
+ | [[de:Vorlage:URL-FBprofile]] | ||
+ | <!--[[en:Template:URL-FBprofile]]--> | ||
+ | [[nl:Sjabloon:URL-FBprofile]]</noinclude> |
Latest revision as of 16:06, 13 January 2022
Usage
Use this template with two anonymous parameters:
{{URL-FBprofile|<id=><URL>|<date>|<HTML Error Code>}}
Note: If id is used, the following anonymous parameters are renumbered by the Template parser.
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
{{URL-FBprofile|amy.glenn.7}}
{{URL-FBprofile|amy.glenn.7|2019-09-15}}
Facebook profile. Retrieved 15 September 2019.
{{URL-FBprofile|amy.glenn.7|2019-09-15|404}}
Facebook profile. Retrieved 15 September 2019 (error: 404).
{{URL-FBprofile|id=100007159870114|2019-09-16}}
Facebook profile. Retrieved 16 September 2019.
Automatic categories
- This template adds the category Facebook 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.