Template:Url-ref: Difference between revisions

From electowiki
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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
urlurl

no description

Unknownoptional
commentcomment

no description

Unknownoptional
datedate

no description

Unknownoptional

Examples