User:Andrew Hampe/Templates/User Wrapper/doc

Jump to: navigation, search
This is the documentation page for User:Andrew Hampe/Templates/User Wrapper.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.


Information icon.svg This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

Description

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

Usage

{{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

Default setup:

User:Andrew Hampe/Templates/User Wrapper

Default setup with HeaderText changed to "Welcome to my User Page!", and EditLink set to "TRUE": User:Andrew Hampe/Templates/User Wrapper

See also

User Talk Page Wrapper



Linked-in.jpg