yoohoo! hot sauce please

10:27, 7 September 2026 (UTC)

Template:Boorubox/doc: Difference between revisions

From 2swagg wiki
Jump to navigationJump to search
Bulgogi2 (talk | contribs)
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..."
 
Bulgogi2 (talk | contribs)
 
(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 SoyBooru post is the series of numbers at the end of the URL.
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 SoyBooru image.",
"description": "Displays a box containing a preview of a Swagbooru image.",
"params": {
"params": {
"URL": {
"URL": {
"label": "ID",
"label": "ID",
"description": "The SoyBooru post ID to be featured.",
"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 'SoyBooru'.",
"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.

Template parameters

ParameterDescriptionTypeStatus
IDURL

The Swagbooru post ID to be featured.

Example
1849
Numberoptional
captioncaption

Text under the image.

Stringoptional
widthwidth

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

Numberoptional
positionposition

Defaults to right.

Numberoptional
headingheading

Defaults to 'Swagbooru'.

Stringoptional
simplesimple

Set to anything to make the boorubox 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
Animatedanimated

This parameter indicates that the selected picture is animated, put anything to turn it on.

Default
Not animated
Unknownoptional