Template:CharPage

From Tenebrous Isles
Revision as of 02:19, 30 March 2017 by Loa (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage

{{ CharPage 
| played by            = 
| categories           = Comma,separated,list (e.g. Active PCs,Changeling)
}}

Then click on each of the red links and fill out the information in that section.

If you want to use the template for inclusion in lists, but don't want it to show, add the following parameter:

| noshow = true

Style

You can use the following template parameters to customize the colours and text on the page.

| page color           =
| page border          = 
 
| cell color           = 
| cell border          = 
| cell text            = 

| link color           = 
| link hover color     = 

| header color         = 
| header border        = 
| header text          = 

Layout

The following template parameters will change the layout and positioning of several elements on the page.

| page gradient        = yes OR no (default: yes)
| introduction         = yes OR no (default: yes)
| portrait             = yes OR no (default: yes)
| overview position    = left, right, bottom, OR off (default: right)
| contacts position    = left, right, bottom, OR off (default: yes)
| hooks position       = left, right, bottom, OR off (default: right)
| logs position        = left, right, bottom, OR off (default: left)
| gallery position     = left, right, bottom, OR off (default: bottom)
| plots position       = left, right, bottom, OR off (default: left)

Content

By default, the template uses subpages to store page content. You can choose to disable that per section by adding the following options to the page:

| introduction content = 
| contacts content     = 
| hooks content        = 
| gallery content      = 
| portrait content     = 
| overview content     = 
| plots content        =

Plots Section

This section will retrieve links to all of the Plots you've taken part in. Copy and paste the following code to set up your Plots section:

<DPL>
userdateformat= (d.M.y)
namespace=Plot
linksto=Replace these words with your PC page name
ordermethod=firstedit
addeditdate=true
shownamespace=false
noresultsheader=''Coming Soon''
columns=1
format=<ul>,<li>[[%PAGE%|<span style="color:#00F;">%TITLE%</span>]],</li>,</ul>
</DPL>

Advanced Styles

For the very advanced users, you can add your own styles and classes to the various segments (not recommended). These will be applied to the content cell for each section, not to the wrapping table and div.

| introduction class   = 
| introduction style   = 
| contacts class       = 
| contacts style       = 
| hooks class          = 
| hooks style          = 
| gallery class        = 
| gallery style        = 
| portrait class       = 
| portrait style       = 
| overview class       = 
| overview style       = 
| plots class          =
| plots style          =

Custom Sections

Users also have the option of specifying a few custom sections. These sections are completely disabled by default, but can be placed wherever you need. You can have up to 5 custom sections, each numbered 1 through 5. Copy the following code for each custom section you want to have, and replace the pound (#) sign with the corresponding number 1 through 5.

| custom position #   = left, right, bottom, OR off (default: off)
| custom title #      = 

You can also specify the class and style as normal.

| custom class #      = 
| custom style #      = 

And if you have content set to local:

| custom content #    =