Template:OBX mimetypes: Difference between revisions
Jump to navigation
Jump to search
(new template for mime-type activity info) |
(separating with commas) |
||
Line 1: | Line 1: | ||
{{OBX boilerplate html | icon=mime | text = <span class="plainlinks"><tt><!-- |
{{OBX boilerplate html | icon=mime | text = <span class="plainlinks"><tt><!-- |
||
-->{{#if:{{{1|}}}| [http://www.iana.org/assignments/media-types/{{{1}}} {{{2}}}] [[Category:Mimetype {{{1}}}|{{PAGENAME}}]] [[Category:Mimetype {{{2}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{1|}}}| [http://www.iana.org/assignments/media-types/{{{1}}} {{{2}}}] [[Category:Mimetype {{{1}}}|{{PAGENAME}}]] [[Category:Mimetype {{{2}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{3|}}}| [http://www.iana.org/assignments/media-types/{{{3}}} {{{4}}}] [[Category:Mimetype {{{3}}}|{{PAGENAME}}]] [[Category:Mimetype {{{4}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{3|}}}|, [http://www.iana.org/assignments/media-types/{{{3}}} {{{4}}}] [[Category:Mimetype {{{3}}}|{{PAGENAME}}]] [[Category:Mimetype {{{4}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{5|}}}| [http://www.iana.org/assignments/media-types/{{{5}}} {{{6}}}] [[Category:Mimetype {{{5}}}|{{PAGENAME}}]] [[Category:Mimetype {{{6}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{5|}}}|, [http://www.iana.org/assignments/media-types/{{{5}}} {{{6}}}] [[Category:Mimetype {{{5}}}|{{PAGENAME}}]] [[Category:Mimetype {{{6}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{7|}}}| [http://www.iana.org/assignments/media-types/{{{7}}} {{{8}}}] [[Category:Mimetype {{{7}}}|{{PAGENAME}}]] [[Category:Mimetype {{{8}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{7|}}}|, [http://www.iana.org/assignments/media-types/{{{7}}} {{{8}}}] [[Category:Mimetype {{{7}}}|{{PAGENAME}}]] [[Category:Mimetype {{{8}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{9|}}}| [http://www.iana.org/assignments/media-types/{{{9}}} {{{10}}}] [[Category:Mimetype {{{9}}}|{{PAGENAME}}]] [[Category:Mimetype {{{10}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{9|}}}|, [http://www.iana.org/assignments/media-types/{{{9}}} {{{10}}}] [[Category:Mimetype {{{9}}}|{{PAGENAME}}]] [[Category:Mimetype {{{10}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{11|}}}| [http://www.iana.org/assignments/media-types/{{{11}}} {{{12}}}] [[Category:Mimetype {{{11}}}|{{PAGENAME}}]] [[Category:Mimetype {{{12}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{11|}}}|, [http://www.iana.org/assignments/media-types/{{{11}}} {{{12}}}] [[Category:Mimetype {{{11}}}|{{PAGENAME}}]] [[Category:Mimetype {{{12}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{13|}}}| [http://www.iana.org/assignments/media-types/{{{13}}} {{{14}}}] [[Category:Mimetype {{{13}}}|{{PAGENAME}}]] [[Category:Mimetype {{{14}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{13|}}}|, [http://www.iana.org/assignments/media-types/{{{13}}} {{{14}}}] [[Category:Mimetype {{{13}}}|{{PAGENAME}}]] [[Category:Mimetype {{{14}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{15|}}}| [http://www.iana.org/assignments/media-types/{{{15}}} {{{16}}}] [[Category:Mimetype {{{15}}}|{{PAGENAME}}]] [[Category:Mimetype {{{16}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{15|}}}|, [http://www.iana.org/assignments/media-types/{{{15}}} {{{16}}}] [[Category:Mimetype {{{15}}}|{{PAGENAME}}]] [[Category:Mimetype {{{16}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{17|}}}| [http://www.iana.org/assignments/media-types/{{{17}}} {{{18}}}] [[Category:Mimetype {{{17}}}|{{PAGENAME}}]] [[Category:Mimetype {{{18}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{17|}}}|, [http://www.iana.org/assignments/media-types/{{{17}}} {{{18}}}] [[Category:Mimetype {{{17}}}|{{PAGENAME}}]] [[Category:Mimetype {{{18}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{19|}}}| [http://www.iana.org/assignments/media-types/{{{19}}} {{{20}}}] [[Category:Mimetype {{{19}}}|{{PAGENAME}}]] [[Category:Mimetype {{{20}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{19|}}}|, [http://www.iana.org/assignments/media-types/{{{19}}} {{{20}}}] [[Category:Mimetype {{{19}}}|{{PAGENAME}}]] [[Category:Mimetype {{{20}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{21|}}}| [http://www.iana.org/assignments/media-types/{{{21}}} {{{22}}}] [[Category:Mimetype {{{21}}}|{{PAGENAME}}]] [[Category:Mimetype {{{22}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{21|}}}|, [http://www.iana.org/assignments/media-types/{{{21}}} {{{22}}}] [[Category:Mimetype {{{21}}}|{{PAGENAME}}]] [[Category:Mimetype {{{22}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{23|}}}| [http://www.iana.org/assignments/media-types/{{{23}}} {{{24}}}] [[Category:Mimetype {{{23}}}|{{PAGENAME}}]] [[Category:Mimetype {{{24}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{23|}}}|, [http://www.iana.org/assignments/media-types/{{{23}}} {{{24}}}] [[Category:Mimetype {{{23}}}|{{PAGENAME}}]] [[Category:Mimetype {{{24}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{25|}}}| [http://www.iana.org/assignments/media-types/{{{25}}} {{{26}}}] [[Category:Mimetype {{{25}}}|{{PAGENAME}}]] [[Category:Mimetype {{{26}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{25|}}}|, [http://www.iana.org/assignments/media-types/{{{25}}} {{{26}}}] [[Category:Mimetype {{{25}}}|{{PAGENAME}}]] [[Category:Mimetype {{{26}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{27|}}}| [http://www.iana.org/assignments/media-types/{{{27}}} {{{28}}}] [[Category:Mimetype {{{27}}}|{{PAGENAME}}]] [[Category:Mimetype {{{28}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{27|}}}|, [http://www.iana.org/assignments/media-types/{{{27}}} {{{28}}}] [[Category:Mimetype {{{27}}}|{{PAGENAME}}]] [[Category:Mimetype {{{28}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{29|}}}| [http://www.iana.org/assignments/media-types/{{{29}}} {{{30}}}] [[Category:Mimetype {{{29}}}|{{PAGENAME}}]] [[Category:Mimetype {{{30}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{29|}}}|, [http://www.iana.org/assignments/media-types/{{{29}}} {{{30}}}] [[Category:Mimetype {{{29}}}|{{PAGENAME}}]] [[Category:Mimetype {{{30}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{31|}}}| [http://www.iana.org/assignments/media-types/{{{31}}} {{{32}}}] [[Category:Mimetype {{{31}}}|{{PAGENAME}}]] [[Category:Mimetype {{{32}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{31|}}}|, [http://www.iana.org/assignments/media-types/{{{31}}} {{{32}}}] [[Category:Mimetype {{{31}}}|{{PAGENAME}}]] [[Category:Mimetype {{{32}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{33|}}}| [http://www.iana.org/assignments/media-types/{{{33}}} {{{34}}}] [[Category:Mimetype {{{33}}}|{{PAGENAME}}]] [[Category:Mimetype {{{34}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{33|}}}|, [http://www.iana.org/assignments/media-types/{{{33}}} {{{34}}}] [[Category:Mimetype {{{33}}}|{{PAGENAME}}]] [[Category:Mimetype {{{34}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{35|}}}| [http://www.iana.org/assignments/media-types/{{{35}}} {{{36}}}] [[Category:Mimetype {{{35}}}|{{PAGENAME}}]] [[Category:Mimetype {{{36}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{35|}}}|, [http://www.iana.org/assignments/media-types/{{{35}}} {{{36}}}] [[Category:Mimetype {{{35}}}|{{PAGENAME}}]] [[Category:Mimetype {{{36}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{37|}}}| [http://www.iana.org/assignments/media-types/{{{37}}} {{{38}}}] [[Category:Mimetype {{{37}}}|{{PAGENAME}}]] [[Category:Mimetype {{{38}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{37|}}}|, [http://www.iana.org/assignments/media-types/{{{37}}} {{{38}}}] [[Category:Mimetype {{{37}}}|{{PAGENAME}}]] [[Category:Mimetype {{{38}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{39|}}}| [http://www.iana.org/assignments/media-types/{{{39}}} {{{40}}}] [[Category:Mimetype {{{39}}}|{{PAGENAME}}]] [[Category:Mimetype {{{40}}}|{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{39|}}}|, [http://www.iana.org/assignments/media-types/{{{39}}} {{{40}}}] [[Category:Mimetype {{{39}}}|{{PAGENAME}}]] [[Category:Mimetype {{{40}}}|{{PAGENAME}}]]}}<!-- |
||
-->{{#if:{{{41|}}}| [http://www.iana.org/assignments/media-types/{{{41}}} {{{42}}}] [[Category:Mimetype {{{41}}}|{{PAGENAME}}]] [[Category:Mimetype {{{42}}}|{{PAGENAME}}]] [[Category:Template limit reached]]}}</tt></span> }} <includeonly>[[Category:Mimetype]]</includeonly><noinclude>{{-}} |
-->{{#if:{{{41|}}}|, [http://www.iana.org/assignments/media-types/{{{41}}} {{{42}}}] [[Category:Mimetype {{{41}}}|{{PAGENAME}}]] [[Category:Mimetype {{{42}}}|{{PAGENAME}}]] [[Category:Template limit reached]]}}</tt></span> }} <includeonly>[[Category:Mimetype]]</includeonly><noinclude>{{-}} |
||
== Usage == |
== Usage == |
||
Line 51: | Line 51: | ||
{{OBX boilerplate html | icon=mime | text = <span class="plainlinks"><tt><!-- |
{{OBX boilerplate html | icon=mime | text = <span class="plainlinks"><tt><!-- |
||
--> [http://www.iana.org/assignments/media-types/image png]<!-- |
--> [http://www.iana.org/assignments/media-types/image png]<!-- |
||
--> [http://www.iana.org/assignments/media-types/image jpeg]</tt></span> }} |
-->, [http://www.iana.org/assignments/media-types/image jpeg]</tt></span> }} |
||
<nowiki>{{</nowiki>{{PAGENAME}} |image|png|image|jpeg <nowiki>}}</nowiki> |
<nowiki>{{</nowiki>{{PAGENAME}} |image|png|image|jpeg <nowiki>}}</nowiki> |
||
Revision as of 01:29, 24 September 2007
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 }}