Jump to content

User:Andrew Hampe/Templates/User Wrapper/doc

From Wikipedia, the free encyclopedia

Please do not use this template for user talk pages.
There is a template that is designed for this use, and it is available at User Talk Page Wrapper

Description

[edit]

This template creates a page wrapper around a user page, which is stored on another page

Usage

[edit]
{{User:Andrew Hampe/Templates/User Wrapper
 |Background1  =
 |Border1      =
 |BorderColor1 =
 |Style1       =
 |Border2      =
 |BorderColor2 =
 |Background2  =
 |Style2       =
 |HeaderTextColor =
 |HeaderText      =
 |HeaderTextSize  =
 |StyleHeaderText =
 |BackgroundBody =
 |StyleBody      =
 |EditLink       =
 |EditLinkText   =
 |Menu =
 |Body =  <!-- Required. Make sure to include the namespace. -->
 }}
Parameters
Parameter Name Parameter Description Defaults to Required or

Optional

Background1 Changes the outer background color from the default of
#0080FF
#0080FF
Optional.
Border1 Changes the outer border's settings from the default of 1px solid 1px solid Optional.
BorderColor1 Changes the outer border's color from the default of
#000080
#000080
Optional.
Style1 Allows additional CSS style information to be added to the outer border. Defaults to blank. Null/Blank Optional.
Border2 Changes the inner border's settings from the default of 1px solid 1px solid Optional.
BorderColor2 Changes the inner border's color from the default of
#FB7524
#FB7524
Optional.
Background2 Changes the inner background color from the default of
#FCC070
#FCC070
Optional.
Style2 Allows additional CSS style information to be added to the inner border. Defaults to blank. Null/Blank Optional.
HeaderTextColor Changes the header text color from the default of
#EAEAEA
#EAEAEA
Optional.
HeaderText This will be displayed in place of "Welcome!". Welcome! Optional.
HeaderTextSize Changes the size of the Header Text. Defaults to "x-large". x-large Optional.
StyleHeaderText Allows additional CSS style information to be added to the Header Text. Defaults to blank. Null/Blank Optional.
BackgroundBody Changes the body's background color from the default of
#FFFFA4
.
#FFFFA4
Optional.
StyleBody Allows additional CSS style information to be added to the Body. Defaults to blank. Null/Blank Optional.
EditLink Sets whether or not a link to the body page is displayed. "TRUE" will make it be displayed; "FALSE" or anything else will keep it hidden. (Not displayed) Optional.
EditLinkText What to have in place of "edit". Only works if EditLink is set to "TRUE". edit Optional.
Menu Select a menu from the list of menus, or contact Andrew Hampe for help in making a new one. User:Andrew Hampe/Templates/Menus/Menu 1 Optional.
Body Put the page containing the body here, and make sure to include the namespace it's in. User:Andrew Hampe/Templates/User Wrapper/Error Required.

Examples

[edit]

Default setup:


Welcome!
ERROR

You did not set a body page. Please set it now.

Default setup with HeaderText changed to "Welcome to my User Page!", and EditLink set to "TRUE":

Welcome to my User Page!
ERROR

You did not set a body page. Please set it now.

See also

[edit]

User Talk Page Wrapper