Difference between revisions of "Template:DjVulink"

From blackwiki
Jump to navigation Jump to search
imported>Colin MacLaurin
(replaced with Commons image)
imported>Colin MacLaurin
(changing image)
Line 1: Line 1:
{{ #if:{{{1|}}}|{{{1}}} }}[[Image:Liste.png|16px]]<small>[[DjVu]]{{ #if: {{{2<includeonly>|</includeonly>}}}|({{{2}}})}}</small><noinclude>
+
{{ #if:{{{1|}}}|{{{1}}} }}[[Image:DjVu-logo.png|27px]]<small>{{ #if: {{{2<includeonly>|</includeonly>}}}|({{{2}}})}}</small><noinclude>
 
{{/doc}}
 
{{/doc}}
 
</noinclude>
 
</noinclude>

Revision as of 05:26, 24 December 2007

27px({{{2}}})


Purpose

Used to highlight that a link points to a DjVu file. This may help the user to choose in advance what action is to be taken on the link itself (DjVu files may take time to download and display on some systems, require special software – albeit free, and their use on websites may not be compliant with the Web Content Accessibility Guidelines).

Usage

The following lines:

[http://www.example.org/Link.djvu Link] {{DjVulink}}
{{DjVulink|[http://www.example.org/Link.djvu Link]}}
{{DjVulink|[http://www.example.org/Link.djvu Link]|32&nbsp;[[KiB]]}}

yield:

Link 27px
Link27px
Link27px(32 KiB)

See also