Difference between revisions of "Template:Userboxbreak"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(A new template, to be used with Userboxtop and Userboxbottom to organize userboxes on user pages.)
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{userboxtop}}{{userbox|info=This template adds a line ...}}</noinclude>
+
{{Userboxtop}}{{userbox|info=This template adds a line ...}}</noinclude>
 
|-
 
|-
 
| <div style="text-align: center; {{#if:{{{1|{{{toptext|}}}}}}|font-size: 120%; font-weight: bold;{{{toptextstyle|}}}}}">{{{1|{{{toptext|[[Wikipedia:Userboxes|<hr />]]}}}}}}</div>
 
| <div style="text-align: center; {{#if:{{{1|{{{toptext|}}}}}}|font-size: 120%; font-weight: bold;{{{toptextstyle|}}}}}">{{{1|{{{toptext|[[Wikipedia:Userboxes|<hr />]]}}}}}}</div>
 
|-
 
|-
 
|<noinclude>{{userbox|info=... between these two userboxes.}}
 
|<noinclude>{{userbox|info=... between these two userboxes.}}
{{userboxbottom}}
+
{{Userboxbottom}}
  
 
===Purpose===
 
===Purpose===
Line 16: Line 16:
 
|-
 
|-
 
|
 
|
<syntaxhighlight lang="wikitext">{{Userboxtop}}
+
<code><nowiki>{{Userboxtop}}
 
+
</nowiki><br><nowiki>
 
[boxes]
 
[boxes]
 
+
</nowiki><br><nowiki>
 
{{Userboxbreak|toptext=example toptext}}
 
{{Userboxbreak|toptext=example toptext}}
 
+
</nowiki><br><nowiki>
 
[more boxes]
 
[more boxes]
 
+
</nowiki><br><nowiki>
{{Userboxbreak}}
+
{{Userboxbreak}}</nowiki><br><nowiki>
 
+
{{Userboxbreak|toptext=example toptext 2}}
 +
</nowiki><br><nowiki>
 
[even more boxes]
 
[even more boxes]
 
+
</nowiki><br><nowiki>
 
{{Userboxbreak|toptext=stylized text|toptextstyle=text-decoration: overline wavy;}}
 
{{Userboxbreak|toptext=stylized text|toptextstyle=text-decoration: overline wavy;}}
 
+
</nowiki><br><nowiki>
{{Userboxbottom}}
+
{{Userboxbottom}}</nowiki></code>
</syntaxhighlight>
 
 
|
 
|
 
{{Userboxtop}}
 
{{Userboxtop}}
Line 42: Line 42:
  
 
{{Userboxbreak}}
 
{{Userboxbreak}}
 +
{{Userboxbreak|toptext=example toptext 2}}
  
 
[even more boxes]
 
[even more boxes]
Line 55: Line 56:
 
* [[Template:Userboxbottom]]
 
* [[Template:Userboxbottom]]
  
[[Category:Userspace templates]]
+
<noinclude>[[Category:Userspace templates]]</noinclude>

Latest revision as of 18:13, 22 April 2026

Purpose[edit]

To allow for section breaks in large groups of userboxes (for purposes of categorization: for example, you could use the first section for languages, a second section (via this template) for interests, and so forth). This is intended for use with Userboxtop and Userboxbottom (see usage below).

Usage[edit]

Code Result

{{Userboxtop}}
[boxes]
{{Userboxbreak|toptext=example toptext}}
[more boxes]
{{Userboxbreak}}
{{Userboxbreak|toptext=example toptext 2}}
[even more boxes]
{{Userboxbreak|toptext=stylized text|toptextstyle=text-decoration: overline wavy;}}
{{Userboxbottom}}

See also[edit]