Difference between revisions of "Template:PC 1"

From City of Hope MUSH
Jump to navigation Jump to search
imported>Felix
(Created page with "<noinclude>This is a character page template, with various options. {{#css: td, th { vertical-align: top; padding: 5px; } td:nth-of-type(2n-1) { white-space: nowra...")
 
imported>Felix
Line 95: Line 95:
 
| left-1-header=Overview
 
| left-1-header=Overview
 
| left-1-data={{:Bob/Overview}}
 
| left-1-data={{:Bob/Overview}}
} right-1-header=Hooks
+
| right-1-header=Hooks
| right-1-data=* Here's a hook
+
| right-1-data=&amp;#32;* Here's a hook
 
* Here's another
 
* Here's another
 
* And a third
 
* And a third
 
| left-2-header=A Picture
 
| left-2-header=A Picture
| left-2-data=[[File:Glyph-galliard-f.jpg]]
+
| left-2-data=<center>[[File:Glyph-galliard-f.png]]</center>
 
| right-2-header=Contacts
 
| right-2-header=Contacts
 
| right-2-data=I don't know anyone yet.
 
| right-2-data=I don't know anyone yet.
 
}}</pre>
 
}}</pre>
 +
 +
''(The &amp;#32; is only necessary when starting data with a list element -- without it mediawiki won't render the first item in said list properly.)''
  
 
This would give you:
 
This would give you:
Line 116: Line 118:
 
| left-1-header=Overview
 
| left-1-header=Overview
 
| left-1-data={{:Bob/Overview}}
 
| left-1-data={{:Bob/Overview}}
} right-1-header=Hooks
+
| right-1-header=Hooks
| right-1-data=* Here's a hook
+
| right-1-data=&#32;
 +
* Here's a hook
 
* Here's another
 
* Here's another
 
* And a third
 
* And a third
 
| left-2-header=A Picture
 
| left-2-header=A Picture
| left-2-data=[[File:Glyph-galliard-f.jpg]]
+
| left-2-data=<center>[[File:Glyph-galliard-f.png]]</center>
 
| right-2-header=Contacts
 
| right-2-header=Contacts
 
| right-2-data=I don't know anyone yet.
 
| right-2-data=I don't know anyone yet.

Revision as of 04:17, 14 September 2016

This is a character page template, with various options.

variable options default what it does
small-side left, right left Determines whether the left or right is the thinner side.
colour-background Any web colour name, hex colour, or rgb()/rgba() value. white Sets the background for the main data areas.
colour-border Any web colour name, hex colour, or rgb()/rgba() value. black Sets the colour for the borders.
colour-headers Any web colour name, hex colour, or rgb()/rgba() value. #CCCCCC Sets the colour for the section headers.
cclour-links Any web colour name, hex colour, or rgb()/rgba() value. #666666 Sets the colour for links and some other accents.
colour-text Any web colour name, hex colour, or rgb()/rgba() value. black Sets the text colour.
image-main An image name, such as Bob.png N/A Sets the character image at the top of the thin side.
image-alt An image name, such as Bob2.png N/A Sets the image at the bottom of the thin side.
header-data Almost anything. (Except tables, but you can call a subpage with one.) N/A This is what you want in the main display header, such as your name.
left-X-header A section name, such as Overview. N/A Sets the name of a section on the left side. X can be from 1-9.
left-X-data Almost anything. (Except tables, but you can call a subpage with one.) N/A Sets the content of a section on the left side. X can be from 1-9.
right-X-header A section name, such as Overview. N/A Sets the name of a section on the right side. X can be from 1-9.
right-X-data Almost anything. (Except tables, but you can call a subpage with one.) N/A Sets the content of a section on the right side. X can be from 1-9.

An example, using only some options:

{{PC_1
| small-side=left
| colour-border=red
| colour-background=#FFEEEE
| colour-headers=rgb(255,182,193)
| image-main=FelixGraffiti.jpg
| header-data=This Is A Test
| left-1-header=Overview
| left-1-data={{:Bob/Overview}}
| right-1-header=Hooks
| right-1-data=&#32;* Here's a hook
* Here's another
* And a third
| left-2-header=A Picture
| left-2-data=<center>[[File:Glyph-galliard-f.png]]</center>
| right-2-header=Contacts
| right-2-data=I don't know anyone yet.
}}

(The &#32; is only necessary when starting data with a list element -- without it mediawiki won't render the first item in said list properly.)

This would give you:


FelixGraffiti.jpg
Overview
Full Name:Bob Example
Ritename:Verbs-the-Noun
Race:Garou
Faction:Gaian
Tribe:Bone Gnawers
Auspice:Galliard (Waxing)
Breed:Homid
Rank:Cliath
Date of Birth:April 1st, 1991
Age:25
Height:6'7"
Weight:200lbs
Eye Colour:Brown
Hair Colour:Brown
Demeanor:Crackerjack
Photo Reference:Guy Incognito
Theme Song:Sexy And I Know It - LMFAO
A Picture
Glyph-galliard-f.png