CURRENT MISSION: Conclude the 2026 soyjak.party hack page, aswell as any pages relating to it, such as the Summer 2026 Crisis page.
Update Quotecord with any relevant info. See the blackboard for more info.
Template:File: Difference between revisions
Cobblestone (talk | contribs) mNo edit summary |
Cobblestone (talk | contribs) mNo edit summary |
||
| Line 9: | Line 9: | ||
|titlecolor={{{titlecolor|#000082}}} | |titlecolor={{{titlecolor|#000082}}} | ||
|heading={{{heading|Download}}} | |heading={{{heading|Download}}} | ||
|body=[[File:downloadicon.png|center|link={{{file|}}}]] | |body=<div style="padding: 5px; box-sizing: border-box; width: 100%; display: flex; justify-content: center; align-items: center;">[[File:downloadicon.png|center|link={{{file|}}}]]</div> | ||
|caption={{{caption|{{{file|}}}}}} | |caption={{{caption|{{{file|}}}}}} | ||
|cat={{#if:{{{nocat|}}}||{{#switch:{{NAMESPACE}}||SNCA={{{cat|[[Category:Pages with downloadable files]]}}}}}}}}}</onlyinclude><noinclude> {{Documentation}} [[Category:Templates]] [[Category:Image templates]] </noinclude> | |cat={{#if:{{{nocat|}}}||{{#switch:{{NAMESPACE}}||SNCA={{{cat|[[Category:Pages with downloadable files]]}}}}}}} | ||
}}</onlyinclude><noinclude> | |||
{{Documentation}} | |||
[[Category:Templates]] | |||
[[Category:Image templates]] | |||
</noinclude> | |||
Latest revision as of 12:50, 17 August 2026
Usage
{{file|position=right|file=https://catbox.moe/nigger}}
Description
Displays a box containing a file download.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| file | file | The file's link. Accepts both external links and Soyjak Wiki filenames (File:name.png).
| String | required |
| caption | caption | Text under the image. | String | optional |
| width | width | Defaults to 200px if you don't set this. | Number | optional |
| position | position | The position of the File box.
| String | optional |
| heading | heading | Defaults to 'Download'. | String | optional |
| simple | simple | Set to anything to make the file simple, i.e no frame around it. | String | optional |
| bgcolor | bgcolor | Background color of the box.
| String | optional |
| titlecolor | titlecolor | Background color of the title bar.
| String | optional |
| titletext | titletext | Text color of the title bar.
| String | optional |
| textcolor | textcolor | Color of the main text inside the box.
| String | optional |
| Suppress categories | nocat | Set to any value to disable automatic categorization, making the template purely decorative. | Boolean | optional |
See also
- {{Boorubox}}
