Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 14:00, 18 May 2025 by imported>AFloofyDoggo (Usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Template:Flexbox

You can add up to 10 images. If you don't need all 10, just leave the parameters empty. The "size" parameter is optional and defaults to 100px. The "boxwidth" parameter is optional and defaults to 140px - adjust as needed for your captions.


<templatedata> { "description": "Creates a row of resource items with uniform box widths", "params": { "boxwidth": { "description": "Width of each box (default: 140px)", "default": "140px", "type": "string", "suggested": true }, "size": { "description": "Size of the images (default: 100px)", "default": "100px", "type": "string", "suggested": true }, "image1": { "description": "Filename of the first image", "type": "string", "required": true }, "link1": { "description": "Wiki page to link to for the first item", "type": "string", "required": true }, "caption1": { "description": "Caption text for the first item", "type": "string", "required": true }, "image2": { "description": "Filename of the second image", "type": "string" }, "link2": { "description": "Wiki page to link to for the second item", "type": "string" }, "caption2": { "description": "Caption text for the second item", "type": "string" }, "image3": { "description": "Filename of the third image", "type": "string" }, "link3": { "description": "Wiki page to link to for the third item", "type": "string" }, "caption3": { "description": "Caption text for the third item", "type": "string" }, "image4": { "description": "Filename of the fourth image", "type": "string" }, "link4": { "description": "Wiki page to link to for the fourth item", "type": "string" }, "caption4": { "description": "Caption text for the fourth item", "type": "string" }, "image5": { "description": "Filename of the fifth image", "type": "string" }, "link5": { "description": "Wiki page to link to for the fifth item", "type": "string" }, "caption5": { "description": "Caption text for the fifth item", "type": "string" }, "image6": { "description": "Filename of the sixth image", "type": "string" }, "link6": { "description": "Wiki page to link to for the sixth item", "type": "string" }, "caption6": { "description": "Caption text for the sixth item", "type": "string" }, "image7": { "description": "Filename of the seventh image", "type": "string" }, "link7": { "description": "Wiki page to link to for the seventh item", "type": "string" }, "caption7": { "description": "Caption text for the seventh item", "type": "string" }, "image8": { "description": "Filename of the eighth image", "type": "string" }, "link8": { "description": "Wiki page to link to for the eighth item", "type": "string" }, "caption8": { "description": "Caption text for the eighth item", "type": "string" }, "image9": { "description": "Filename of the ninth image", "type": "string" }, "link9": { "description": "Wiki page to link to for the ninth item", "type": "string" }, "caption9": { "description": "Caption text for the ninth item", "type": "string" }, "image10": { "description": "Filename of the tenth image", "type": "string" }, "link10": { "description": "Wiki page to link to for the tenth item", "type": "string" }, "caption10": { "description": "Caption text for the tenth item", "type": "string" } } } </templatedata>

Contents