Difference between revisions of "Template:DjVulink"

From blackwiki
Jump to navigation Jump to search
imported>MZMcBride
(updated code)
imported>Dispenser
m (Conformance with WP:DOC using AWB)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="imagemap-inline">{{ #if:{{{1|}}}|{{{1}}} }}<imagemap>
+
{{{1<includeonly>|</includeonly>}}}<small>[[DjVu]]</small>{{#if:{{{2<includeonly>|</includeonly>}}}|<small>({{{2}}})</small>}}<noinclude>
Image:DjVu-logo.png|27px|DjVu logo
+
{{documentation}}
default [[DjVu]]
+
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
desc none </imagemap>{{#if:{{{2<includeonly>|</includeonly>}}}|<small>({{{2}}})</small>}}</div><noinclude>
 
{{/doc}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 00:41, 10 March 2008

{{{1}}}DjVu({{{2}}})

50px Template documentation[view] [edit] [history] [purge]

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 DjVu
LinkDjVu
LinkDjVu(32 KiB)

See also