Current mission: Save Happenings/2026 from becoming a DNB

Template:File/doc

From Soyjak Wiki, the free ensoyclopedia
Jump to navigationJump to search

Usage

{{file|position=right|file=https://catbox.moe/nigger}}

Description

Displays a box containing a file download.

Template parameters

ParameterDescriptionTypeStatus
filefile

The file's link. Accepts both external links and Soyjak Wiki filenames (File:name.png).

Example
File:Cobson.png, https://catbox.moe/nigger
Stringrequired
captioncaption

Text under the image.

Stringoptional
widthwidth

Defaults to 200px if you don't set this.

Numberoptional
positionposition

The position of the File box.

Suggested values
right left
Default
right
Stringoptional
headingheading

Defaults to 'Download'.

Stringoptional
simplesimple

Set to anything to make the file simple, i.e no frame around it.

Stringoptional
bgcolorbgcolor

Background color of the box.

Default
#c2c6ca
Example
#d0d0d0
Stringoptional
titlecolortitlecolor

Background color of the title bar.

Default
#FF8300
Example
#e67e22
Stringoptional
titletexttitletext

Text color of the title bar.

Default
white
Example
#000000
Stringoptional
textcolortextcolor

Color of the main text inside the box.

Default
inherit
Example
#333333
Stringoptional
Suppress categoriesnocat

Set to any value to disable automatic categorization, making the template purely decorative.

Booleanoptional

See also