Template:Userbox-w/doc: Difference between revisions
Appearance
imported>Deadfire m Updating |
Tungstenchan (talk | contribs) m Text replacement - "BattleTechWiki" to "BattleIntelligence" |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
This [[Help:Template|template]] is a variant of [[Template:Userbox]] that creates a [[ | This [[Help:Template|template]] is a variant of [[Template:Userbox]] that creates a [[BattleIntelligence:Userboxes|userbox]] that is as wide as two standard userboxes. The double-wide userboxes created by this template will stack neatly with standard-width userboxes. | ||
==Usage== | ==Usage== | ||
| Line 7: | Line 7: | ||
===Example 1=== | ===Example 1=== | ||
If you place the following lines of [[w:Wiki markup|Wiki markup]] on one of your [[ | If you place the following lines of [[w:Wiki markup|Wiki markup]] on one of your [[BattleIntelligence:User page|user pages]]: | ||
<syntaxhighlight lang="wikitext"> | <syntaxhighlight lang="wikitext"> | ||
{{userbox-w | {{userbox-w | ||
Latest revision as of 00:13, 1 May 2025
| This is a documentation subpage for Template:Userbox-w. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a variant of Template:Userbox that creates a userbox that is as wide as two standard userboxes. The double-wide userboxes created by this template will stack neatly with standard-width userboxes.
Usage
This template is identical to Template:Userbox in all respects except the width of the userbox created. See Template:Userbox for further information.
Example 1
If you place the following lines of Wiki markup on one of your user pages:
{{userbox-w
|bodyclass={{{bodyclass|}}}
|info-class={{{info-class|}}}
|id={{{id|[[File:Example.jpg|x45px]]}}}
|id-c={{{id-c|black}}}
|info={{{info|This user has hiked across the [[Grand Canyon]]}}}
|info-a={{{info-a|center}}}
|info-c={{{info-c|#DDEEFF}}}
|info-s={{{info-s|10}}}
}}You will create the following userbox:
| This user has hiked across the Grand Canyon |
Example 2
If you place the following lines of Wiki markup on one of your user pages:
{{userbox-w
|bodyclass={{{bodyclass|}}}
|info-class={{{info-class|}}}
|border-c={{{border-c|red}}}
|info={{{info|[[First Amendment to the United States Constitution|Amendment 1.]] Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the Government for a redress of grievances.}}}
|info-a={{{info-a|justify}}}
|info-c={{{info-c|white}}}
}}You will create the following userbox:
| Amendment 1. Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the Government for a redress of grievances. |
See also
| Userbox metatemplates | |||
|---|---|---|---|
| Left | |||
| Right |
| ||
| Left and Right |
| ||
| None |
| ||
|
See also: Module:Userbox, BattleIntelligence:Userboxes, BattleIntelligence:Userboxes/Userboxes | |||