Template:OBX mimetypes: Difference between revisions
Jump to navigation
Jump to search
(separating with commas) |
m (→Usage: fix deprecated Activity link) |
||
Line 24: | Line 24: | ||
== Usage == |
== Usage == |
||
Used to declare the [[:Category:Mimetypes|mimetypes]] handled or compatible with a particular [[:Category: |
Used to declare the [[:Category:Mimetypes|mimetypes]] handled or compatible with a particular [[:Category:Activities|Activity]]. The arguments (up to 20 pairs) have the constraint of being defined in the following format: |
||
* <tt>Content-Type</tt> — one of the following: |
* <tt>Content-Type</tt> — one of the following: |
||
** [http://www.iana.org/assignments/media-types/application application] |
** [http://www.iana.org/assignments/media-types/application application] |
Latest revision as of 04:41, 1 July 2008
mime |
Usage
Used to declare the mimetypes handled or compatible with a particular Activity. The arguments (up to 20 pairs) have the constraint of being defined in the following format:
- Content-Type — one of the following:
- as defined by IANA media types
- Subtype — one of the many in each of the categories above...
{{OBX mimetypes |image|png }}
NOTE: that they should always be in pairs <type | subtype>.
Categories
- Category:Mimetype
- Depending on the type / subtype:
- something along the lines of [[Category:Mimetype type]] and [[Category:Mimetype subtype]] for each pair.
Sample
{{OBX mimetypes |image|png|image|jpeg }}