Template:Formattype: Difference between revisions

Template page
mNo edit summary
m (Added french interwiki link.)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><span>{{#switch: {{{1|}}}
{{#switch: {{{1|}}}
| pdf
| Pdf
| PDF = [[Image:PDF Icon.png|14px|]]<small>PDF</small>
| PDF = [[Image:PDF Icon.png|14px|]]<small>PDF</small>
| dhtml
| Dhtml
| DHTML = [[Image:HTML Icon.png|14px|]]<small>DHTML</small>
| DHTML = [[Image:HTML Icon.png|14px|]]<small>DHTML</small>
| pod
| Pod
| POD = [[Image:POD Icon.png|14px|]]<small>POD</small>
| POD = [[Image:POD Icon.png|14px|]]<small>POD</small>
| txt
| Txt
| TXT = [[Image:TXT Icon.png|14px]]<small>TXT</small>
| TXT = [[Image:TXT Icon.png|14px]]<small>TXT</small>
| vid
| Vid
| VID = [[Image:VID Icon.png|14px]]<small>VID</small>
| VID = [[Image:VID Icon.png|14px]]<small>VID</small>
| #default = <small>{{{1}}}</small>
| #default = <small>{{{1}}}</small>
}}
}}</span></includeonly><noinclude>
</includeonly><noinclude>
This template is used by the [[:Category:Citation templates|citation templates]] for indicating source format.
This template is used by the [[:Category:Citation templates|Citation templates]] for indicating source format.


== Types ==
== Types ==


{|
{|
! CODE:
! PDF
! PDF
! DHTML
! DHTML
Line 20: Line 29:
! VID
! VID
|-
|-
|
|{{formattype|PDF}}
|{{formattype|PDF}}
|{{formattype|DHTML}}
|{{formattype|DHTML}}
Line 27: Line 37:
|}
|}


All other types get formated as: {{formattype|OTHER}}
All other types get formated as whatever is passed through the template.


[[Category:Misc. Citation templates]]
[[Category:Misc. Citation templates]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[fr:Modèle:Type de format]]
</noinclude>
</noinclude>

Latest revision as of 19:03, 24 January 2009

This template is used by the citation templates for indicating source format.

Types

CODE: PDF DHTML POD TXT VID
PDF DHTML POD TXT VID

All other types get formated as whatever is passed through the template.