yoohoo! hot sauce please
10:27, 7 September 2026 (UTC)
Template:Boorubox/doc: Difference between revisions
From 2swagg wiki
Jump to navigationJump to search
mNo edit summary |
|||
| Line 7: | Line 7: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Displays a box containing a preview of a | "description": "Displays a box containing a preview of a Swagbooru image.", | ||
"params": { | "params": { | ||
"URL": { | "URL": { | ||
Latest revision as of 07:48, 11 October 2026
Usage[edit source]
{{Boorubox|ID=1}}
The post ID of a Swagbooru post is the series of numbers at the end of the URL.
Description[edit source]
Displays a box containing a preview of a Swagbooru image.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | URL | The Swagbooru post ID to be featured.
| Number | optional |
| caption | caption | Text under the image. | String | optional |
| width | width | Defaults to 200px if you don't set this. | Number | optional |
| position | position | Defaults to right. | Number | optional |
| heading | heading | Defaults to 'Swagbooru'. | String | optional |
| simple | simple | Set to anything to make the boorubox 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 |
| Animated | animated | This parameter indicates that the selected picture is animated, put anything to turn it on.
| Unknown | optional |