In light of religious terrorist attacks in Paris, please see Category:blasphemy!

Template:media

From Freedom Porn
Jump to: navigation, search

To use this template (inderectly) include:
{{media
|type=TYPE OF MEDIA
|category=CATEGORY TO PUT THE MEDIA IN
|name=NAME OF THE MEDIA FILE
|image=NAME OF THE PREVIEW FILE
|submitter=NAME OF THE SUBMITTER
|spoiler=TEXT TO DESCRIBE THE VIDEO
|url=URL OF THE FILE
|play=LINK TO PLAY THE MEDIA
|freenet=FREENET KEY
|filesize=SIZE OF FILE
|length=LENGTH OF THE MEDIA (time)
|width=WIDTH
|height=HEIGHT
|videocodec=VIDEO CODEC
|audiocodec=AUDIO CODEC
|imageformat=IMAGE FORMAT
|container_prefix=PREFIX FOR THE CONTAINER'S HELP PAGE
|container=CONTAINER FORMAT
}}

Each type has associated binary setting checking whether or not it is needed in this template. For length, for example, you would put "|need_length=yes".

Exceptions are:

  • height and width - are set by need_dimensions

The filebox is turnt off with "|has_filebox=no".