Difference between revisions of "Template:CharPage/docs"

From Tenebrous Isles
Jump to: navigation, search
(Created page with "== Usage == <pre> {{ CharPage | played by = | categories = Comma,separated,list (e.g. Active PCs,Changeling) }}</pre> Then click on each of the red lin...")
 
m
 
(10 intermediate revisions by the same user not shown)
Line 41: Line 41:
 
| portrait            = yes OR no (default: yes)
 
| portrait            = yes OR no (default: yes)
 
| overview position    = left, right, bottom, OR off (default: right)
 
| overview position    = left, right, bottom, OR off (default: right)
| stereotypes position = left, right, bottom, OR off (default: left)
 
 
| contacts position    = left, right, bottom, OR off (default: yes)
 
| contacts position    = left, right, bottom, OR off (default: yes)
 
| hooks position      = left, right, bottom, OR off (default: right)
 
| hooks position      = left, right, bottom, OR off (default: right)
 
| logs position        = left, right, bottom, OR off (default: left)
 
| logs position        = left, right, bottom, OR off (default: left)
 
| gallery position    = left, right, bottom, OR off (default: bottom)
 
| gallery position    = left, right, bottom, OR off (default: bottom)
| disclaimer position = left, right, bottom, OR off (default: right)
+
| plots position       = left, right, bottom, OR off (default: left)
 
</pre>
 
</pre>
  
Line 53: Line 52:
 
<pre>
 
<pre>
 
| introduction content =  
 
| introduction content =  
| stereotypes content  =
 
 
| contacts content    =  
 
| contacts content    =  
 
| hooks content        =  
 
| hooks content        =  
 
| gallery content      =  
 
| gallery content      =  
| disclaimer content  =
 
 
| portrait content    =  
 
| portrait content    =  
 
| overview content    =  
 
| overview content    =  
 +
| plots content        =
 +
</pre>
 +
 +
=== 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:
 +
<pre>
 +
<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>
 
</pre>
 
</pre>
  
Line 68: Line 82:
 
| introduction class  =  
 
| introduction class  =  
 
| introduction style  =  
 
| introduction style  =  
| stereotypes class    =
 
| stereotypes style    =
 
 
| contacts class      =  
 
| contacts class      =  
 
| contacts style      =  
 
| contacts style      =  
Line 76: Line 88:
 
| gallery class        =  
 
| gallery class        =  
 
| gallery style        =  
 
| gallery style        =  
| disclaimer class    =
 
| disclaimer style    =
 
 
| portrait class      =  
 
| portrait class      =  
 
| portrait style      =  
 
| portrait style      =  
 
| overview class      =  
 
| overview class      =  
 
| overview style      =  
 
| overview style      =  
 +
| plots class          =
 +
| plots style          =
 
</pre>
 
</pre>
  

Latest revision as of 20:48, 20 February 2018

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 #    =