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
NuAngeleno (talk | contribs) 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..." |
NuAngeleno (talk | contribs) 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}}};"> | ||
<div style="background:{{{headercolor|#ababff}}}; padding:6px 8px; border-bottom:1px solid {{{border|#34345c}}}; font-weight:bold;"> | |||
<div style=" | [[{{{1|Main Page}}}|{{{title|{{{1|Main Page}}}}}}]] | ||
{{ | |||
</div> | </div> | ||
</includeonly><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)