Jump to content

Template:Userbox-w/doc: Difference between revisions

From BattleIntelligence
imported>Deadfire
m Updating
 
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 [[BattleTechWiki: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.
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 [[BattleTechWiki:User page|user pages]]:
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 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