Template:Url-ref: Difference between revisions
Content added Content deleted
(URL: {{{url}}} Comment: {{{comment}}} ... cheap and nasty template) |
(making the template a little more complicated. Use the parameters) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>URL: {{{url|{{{comment|}}}}}} Date added to [[electowiki]]: {{{date|}}}</includeonly><noinclude><templatedata> |
|||
URL: {{{url}}} Comment: {{{comment}}} |
|||
{ |
|||
"params": { |
|||
"url": {}, |
|||
"comment": {}, |
|||
"date": {} |
|||
}, |
|||
"description": "A very simple URL citation" |
|||
} |
|||
</templatedata> |
|||
== Examples == |
|||
* no parameters |
|||
** <code><nowiki>{{url-ref}}</nowiki></code> |
|||
** {{url-ref}} |
|||
* just the url |
|||
** <code><nowiki>{{url-ref|url=https://www.example.com}}</nowiki></code> |
|||
** {{url-ref|url=https://www.example.com}} |
|||
* url with date |
|||
** <code><nowiki>{{url-ref|url=https://www.example.com|date=2020-07-06}}</nowiki></code> |
|||
** {{url-ref|url=https://www.example.com|date=2020-07-06}} |
|||
</noinclude> |
Latest revision as of 05:59, 7 July 2020
A very simple URL citation
Parameter | Description | Type | Status | |
---|---|---|---|---|
url | url | no description | Unknown | optional |
comment | comment | no description | Unknown | optional |
date | date | no description | Unknown | optional |
Examples
- no parameters
{{url-ref}}
- URL: Date added to electowiki:
- just the url
{{url-ref|url=https://www.example.com}}
- URL: https://www.example.com Date added to electowiki:
- url with date
{{url-ref|url=https://www.example.com|date=2020-07-06}}
- URL: https://www.example.com Date added to electowiki: 2020-07-06