YEAH WE ARE BACK NIGGA, NIGGA SOYCHECKMARK TRIED TO DDOS OUR SERVER HOST NIGGA

Template:Articlebox: Difference between revisions

From Soypaper wiki
Jump to navigationJump to search
Created page with "<includeonly> {{#if:{{{noheader|}}}||<div style="position:relative;color: {{{7|black}}}; padding-left:5px;width:{{{4}}}px;box-sizing:border-box;border: 1px solid {{{9|#34345C}}};border-bottom:0px;background: {{{8|#ababff}}};>'''[[{{{1|Grass}}}|<span style="color:{{{7}}}">{{#if:{{{2|}}}|{{{2}}}|{{{1|Grass}}}}}</span>]]{{#if:{{{showsize|}}}|<nowiki> |</nowiki> {{{4|???}}}x{{{3|450}}}}}'''<div style="right:1px;top:-1px;position:absolute;">File:{{#if:{{{10|}}}|Cross|Cross4..."
 
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly><div style="width:{{{width|350}}}px; box-sizing:border-box; border:1px solid {{{border|#34345c}}}; color:{{{textcolor|#000}}};">
{{#if:{{{noheader|}}}||<div style="position:relative;color: {{{7|black}}}; padding-left:5px;width:{{{4}}}px;box-sizing:border-box;border: 1px solid {{{9|#34345C}}};border-bottom:0px;background: {{{8|#ababff}}};>'''[[{{{1|Grass}}}|<span style="color:{{{7}}}">{{#if:{{{2|}}}|{{{2}}}|{{{1|Grass}}}}}</span>]]{{#if:{{{showsize|}}}|<nowiki> |</nowiki> {{{4|???}}}x{{{3|450}}}}}'''<div style="right:1px;top:-1px;position:absolute;">[[File:{{#if:{{{10|}}}|Cross|Cross4chan}}.png|18px|link=[[Special:Random]]]]</div></div>}}
<div style="background:{{{headercolor|#ababff}}}; padding:6px 8px; border-bottom:1px solid {{{border|#34345c}}}; font-weight:bold;">
<div style="padding: 10px; background-color: {{{5|white}}}; color: {{{6|black}}};width:{{{4}}}px;box-sizing:border-box; height:{{#if:{{{3|}}}|{{{3}}}|450}}px;border: 1px solid {{{9|#34345C}}}; {{#if:{{{noheader|}}}||border-top: 0px;}} overflow: auto;">
[[{{{1|Main Page}}}|{{{title|{{{1|Main Page}}}}}}]]
{{#invoke:Articlebox|main|{{{1|Grass}}}}}
</div>
</div>
</includeonly><noinclude>{{documentation}}</noinclude>
<div style="height:{{{height|300}}}px; overflow:auto; padding:10px; background:{{{background|#fff}}};">
{{ {{{1|Main Page}}} }}
</div>
</div></includeonly><noinclude>
An article box displays another wiki page inside a scrollable container.
 
== Usage ==
<pre>
{{Articlebox|Page name|width=350|height=300}}
</pre>
 
Parameters:
* 1 — page to display (required)
* title — optional header title
* width — box width in pixels (default 350)
* height — box height in pixels (default 300)
* headercolor — header background (default #ababff)
* background — content background (default white)
* textcolor — text colour (default black)
* border — border colour (default #34345c)
</noinclude>

Revision as of 00:47, 24 October 2026

An article box displays another wiki page inside a scrollable container.

Usage

{{Articlebox|Page name|width=350|height=300}}

Parameters:

  • 1 — page to display (required)
  • title — optional header title
  • width — box width in pixels (default 350)
  • height — box height in pixels (default 300)
  • headercolor — header background (default #ababff)
  • background — content background (default white)
  • textcolor — text colour (default black)
  • border — border colour (default #34345c)