Template:ExperimentTemplate

From Ravenblack CityWiki

Jump to: navigation, search

EXPERIMENT TEMPLATE - not for actual use

Created by deCarnacT·C as a way of testing bold changes on a copy of an existing template without touching the original.

Current test subject: a copy of {{UserTemplate}}

Usage

{{UserTemplate|
margintopbottom=size|
marginleftright=size|
borderwidth=size|
borderstyle=style|
bordercolor=color|
width=size|
padding=size|
color=color|
background=color|
fontsize=size|
imagepadding=size|
image=name|
link=page|
imagewidth=size|
headerbackground=color|
headercolor=color|
headerfontsize=size|
headerlineheight=size|
headeralign=alignment|
headerheight=size|
headertext=text|
mainfontsize=size|
mainalign=alignment|
mainlineheight=size|
mainbackground=color|
maincolor=color|
mainpadding=size|
maintext=text}}

This template is the mother of all user box templates. Most of its attributes can be left out, and will assume default values:

  • margintopbottom: auto
  • marginleftright: inherit
  • borderwidth: 2px
  • borderstyle: solid
  • bordercolor: black
  • width: 250px
  • padding: auto
  • background: auto
  • fontsize: auto
  • imagepadding: auto
  • imagewidth: 60px
  • headerbackground: black
  • headercolor: white
  • headerfontsize: 85%
  • headerlineheight: 16px
  • headeralign: center
  • headerheight: auto
  • mainfontsize: xx-small
  • mainalign: center
  • mainlineheight: auto
  • mainbackground: auto
  • maincolor: auto
  • mainpadding: auto

This allows new users to easily create templates, and advanced users to exercise fine control over what the templates they create look like.

Examples

To create

Deadend.jpgMy First Template
This is my first template!

just type

{{UserTemplate|headercolor=maroon|headertext='''My First Template'''|maintext=This is my first template!|image=Deadend.jpg}}
Personal tools
advertising