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:Soybox: Difference between revisions
MarketPliers (talk | contribs) No edit summary |
MarketPliers (talk | contribs) No edit summary |
||
| Line 2: | Line 2: | ||
|type=content | |type=content | ||
|text=This template is a '''work in progress''', and may change unexpectedly. Please do not implement this into your own templates yet. | |text=This template is a '''work in progress''', and may change unexpectedly. Please do not implement this into your own templates yet. | ||
}}</noinclude><includeonly><templatestyles src="Soybox/styles.css"/><div class="template-soybox {{{class|}}}" style="width: clamp(0rem, 42rem, 100%) | }}</noinclude><includeonly><templatestyles src="Soybox/styles.css"/><div class="template-soybox {{{class|}}}" style="width: clamp(0rem, 42rem, 100%); {{{style|}}}">{{{image1|}}}<div class="content">{{#if:{{{content|}}}|{{{content|}}}|<big style="font-size: 150%; line-height: 1.75rem;">{{{line1|}}}</big><div>{{{line2|}}}</div>}}</div>{{{image2|}}}</div></includeonly><noinclude> | ||
{{Soybox | {{Soybox | ||
|style=background: lightgrey; border: 1px solid black; | |style=background: lightgrey; border: 1px solid black; | ||
Revision as of 10:04, 20 March 2026
This template is a work in progress, and may change unexpectedly. Please do not implement this into your own templates yet. |
Usage
Soyboxes can be used for both dedicated templates and for single-use templates on pages.
Below is a basic Soybox example:
{{Soybox
|style=background: linear-gradient(#c0c0c0, lightgray); border: 1px solid #6e6e6e;
|image1=[[File:Plier_icon_army.png|60px|link=Neutralplier]]
|image2=[[File:Neutralplier_(blush).png|50px|link=Neutralplier]]
|line1=[[File:Neutral_Markiplier.png|24px|link=]] '''This page is neutral''' [[File:Neutral_Markiplier.png|24px|link=]]
|line2=It's not very interesting o algo
}}
Description
A meta-template for making header templates that look good, consistently sized, and follows modern CSS practices.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| CSS styling | style | Allows you to define styling with CSS, defaults only apply if no style nor class is defined. Don't forget your trailing semi-colons between CSS statements!
| Content | suggested |
| Image (Left) | image1 | Defines what image should be placed on the left side. | Content | suggested |
| Image (Right) | image2 | Defines what image should be placed on the right side. | Content | optional |
| Top message line | line1 | The large message at the top.
| Content | suggested |
| Line 1 CSS styling | line1_style | Appends CSS styling to line 1. | Content | optional |
| Bottom message line | line2 | The smaller explanatory message at the bottom. | Content | suggested |
| Line 2 CSS styling | line2_style | Appends CSS styling to line 2. | Content | optional |
| Content override | content | Overrides the default line1 and line2 system for you to manually decide how the lines should be placed/styled. | Content | optional |
| Root content | rootContent | Allows you to place content in the root of the soybox. Should generally not be used except for effects that are positioned absolutely. | Content | optional |
| Class | class | Allows you to append class names for use with <templatestyles>, be sure to follow the Template Manual of Style regarding class names. | String | optional |
| Half Width | halfWidth | Makes the template half as wide. (From 40rem to 28rem) | Boolean | optional |
Classes
This template has custom classes which you can use to have your template follow a certain style guide, such as with Page Issue Headers.
| Class Name | Use |
|---|---|
page-issue ok |
For templates that indicate the article is good and well written. |
page-issue info |
For templates that indicate the article has minor issues the reader needs to be aware about, such as with articles lacking images and for confusing and controversial articles. |
page-issue warning |
For templates that indicate the article has substantial issues such as link rot, being biased, or sounding like AI slop. |
page-issue critical |
For templates that indicate the article has critical issues that could risk it being deleted or has unverifiable information due to dead links. |
line1 |
Allows you to override the styling of the first line of text. |
line2 |
Allows you to override the styling of the second line of text. |
Notes
- On screens less than 400px wide, the
{{{image2}}}will not render due to the text wrapping in an illegible manner.



