Difference between revisions of "Template:Webref/doc"
From FansubWiki
m (MoerkJ moved page Template:Licensed/doc to Template:Webref/doc: basepage was moved) |
m (update/fix after move; generalized the description) |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
| − | Use {{tl| | + | Use {{tl|webref}} to add web references as footnotes within the page text. |
==Usage== | ==Usage== | ||
| − | <pre>{{ | + | <pre>{{webref|http://some.website/page.html}}</pre> |
The template takes one parameter, the weblink which should be referenced. | The template takes one parameter, the weblink which should be referenced. | ||
| Line 10: | Line 10: | ||
'''Note:''' The equal sign (=) is part of the template syntax. For links that contain a [[Wikipedia:Query string|query string]] you have to explicitly use the template's parameter name (1) in front of the link like this: | '''Note:''' The equal sign (=) is part of the template syntax. For links that contain a [[Wikipedia:Query string|query string]] you have to explicitly use the template's parameter name (1) in front of the link like this: | ||
| − | <pre>{{ | + | <pre>{{webref|1=http://some.website/page_with_query_string.php?field=value}}</pre> |
==Example== | ==Example== | ||
| − | <pre>"Some of the dramas are licensed, hence they are not available here."{{ | + | <pre>"Some of the dramas are licensed, hence they are not available here."{{webref|http://web.archive.org/web/20120630074944/http://yaentertainment.com/catalog.asp}}</pre> |
gives: | gives: | ||
| − | "Some of the dramas are licensed, hence they are not available here."{{ | + | "Some of the dramas are licensed, hence they are not available here."{{webref|http://web.archive.org/web/20120630074944/http://yaentertainment.com/catalog.asp}} |
==Technical details== | ==Technical details== | ||
Latest revision as of 19:27, 22 November 2014
Use {{webref}} to add web references as footnotes within the page text.
Usage
{{webref|http://some.website/page.html}}
The template takes one parameter, the weblink which should be referenced.
Note: The equal sign (=) is part of the template syntax. For links that contain a query string you have to explicitly use the template's parameter name (1) in front of the link like this:
{{webref|1=http://some.website/page_with_query_string.php?field=value}}
Example
"Some of the dramas are licensed, hence they are not available here."{{webref|http://web.archive.org/web/20120630074944/http://yaentertainment.com/catalog.asp}}
gives:
"Some of the dramas are licensed, hence they are not available here."[1]
Technical details
- The template uses CSS classes "plainlinks" (core) and "nounderlines" (defined in Common.css)