Template:CommentBox: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary
mNo edit summary
Line 26: Line 26:
</pre></div>
</pre></div>


Here are descriptions of the parameters. Only the parameter "''image''" is actually required, the rest are optional.
Here are descriptions of the parameters.
{{parameter|bordercolor|The color of the edges of the box's border.|Optional|#000}}
{{parameter|bordercolor|The color of the edges of the box's border.|Optional|#000}}
{{parameter|borderbackground|The center color of the border of the box.|Optional|#5A7EB5}}
{{parameter|borderbackground|The center color of the border of the box.|Optional|#5A7EB5}}

Revision as of 20:47, October 4, 2012

{{{button}}}

Purpose

This template is the base for creating a comment box that, for example, can be used to contain certain character quotes about a page's subject.

Usage

To use this template, start with this code:

{{CommentBox
|bordercolor	   = 
|borderbackground  = 
|button		   = 
|button1	   = 
|button2	   = 
|buttonbackground  =
|buttonbackground1 =
|buttonbackground2 =
|content	   = 
|contentbackground =
}}

Here are descriptions of the parameters.

  • bordercolor — The color of the edges of the box's border. (Optional - #000)
  • borderbackground — The center color of the border of the box. (Optional - #5A7EB5)
  • button — Text or image to use for the clickable button. If an image is used, the button will not function if the image doesn't have a blank target link parameter added. (Optional )
  • button1 — Used to separately define the initial button. (Optional - value of button used if omitted)
  • button2 — Used to separately define the second button. (Optional - value of button used if omitted)
  • buttonbackground — The color of the background behind the button. (Optional - #F2F2F2)
  • buttonbackground1 — The color of the background behind the initial button. (Optional - value of buttonbackground used if omitted)
  • buttonbackground2 — The color of the background behind the second button. (Optional - value of buttonbackground used if omitted)
  • content — Caption to display under the image. Only displays for the thumb and caption types. (Optional )
  • contentbackground — The color of the background behind the content. (Optional - #FFFFFF)