yoohoo! hot sauce please
10:27, 7 September 2026 (UTC)
Template:Boorubox/doc: Difference between revisions
From 2swagg wiki
Jump to navigationJump to search
Created page with "=== Usage === <code><nowiki>{{Boorubox|ID=1}}</nowiki></code> The post ID of a SoyBooru post is the series of numbers at the end of the URL. === Description === <templatedata> { "description": "Displays a box containing a preview of a SoyBooru image.", "params": { "URL": { "label": "ID", "description": "The SoyBooru post ID to be featured.", "type": "number", "example": "1849" }, "caption": { "label": "caption", "description": "Text under the..." |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
<code><nowiki>{{Boorubox|ID=1}}</nowiki></code> | <code><nowiki>{{Boorubox|ID=1}}</nowiki></code> | ||
The post ID of a | The post ID of a Swagbooru post is the series of numbers at the end of the URL. | ||
=== Description === | === Description === | ||
<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": { | ||
"label": "ID", | "label": "ID", | ||
"description": "The | "description": "The Swagbooru post ID to be featured.", | ||
"type": "number", | "type": "number", | ||
"example": "1849" | "example": "1849" | ||
| Line 32: | Line 32: | ||
"heading": { | "heading": { | ||
"label": "heading", | "label": "heading", | ||
"description": "Defaults to ' | "description": "Defaults to 'Swagbooru'.", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
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 |