Difference between revisions of Template:Cite web/doc
m 1 revision imported |
Viceroy Sam (talk | contribs) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 345: | Line 345: | ||
===Using "format="=== | ===Using "format="=== | ||
When this template detects a link whose URL includes an [[filename extension|extension]] of ".pdf" or ".PDF", typical of [[PDF]] files, it automatically displays a PDF icon after the link (regardless of whether the link goes to a PDF file or to an HTML landing page, typical of paysites). It also internally acts as if {{para|format|PDF}} had been specified, which displays " (PDF)" after the icon. (In this case, an explicit {{para|format|PDF}} parameter would be redundant, so it ''is not'' recommended to add it. Users may remove it. Citation bot, when invoked, will remove it. ([[User talk:Citation bot/Archive 13#Remove format=pdf and variants when URLs end in .pdf|ref]])) | When this template detects a link whose URL includes an [[filename extension|extension]] of ".pdf" or ".PDF", typical of [[Wikipedia:PDF]] files, it automatically displays a PDF icon after the link (regardless of whether the link goes to a PDF file or to an HTML landing page, typical of paysites). It also internally acts as if {{para|format|PDF}} had been specified, which displays " (PDF)" after the icon. (In this case, an explicit {{para|format|PDF}} parameter would be redundant, so it ''is not'' recommended to add it. Users may remove it. Citation bot, when invoked, will remove it. ([[User talk:Citation bot/Archive 13#Remove format=pdf and variants when URLs end in .pdf|ref]])) | ||
<div style="width:auto; overflow:scroll"> | <div style="width:auto; overflow:scroll"> | ||
{{markup2| | {{markup2| | ||
| Line 379: | Line 379: | ||
</div> | </div> | ||
For links to files in other formats, no icon is displayed. For example, for an | For links to files in other formats, no icon is displayed. For example, for an .odt file, you may add the parameter {{para|format|ODT}}, which displays " (ODT)" after the link. | ||
<div style="width:auto; overflow:scroll"> | <div style="width:auto; overflow:scroll"> | ||
{{markup2| | {{markup2| | ||