Difference between revisions of "Template:Charpage"

From From The Ashes Wiki
Jump to: navigation, search
Line 4: Line 4:
 
   | page border  = {{#if: {{{page border| }}} | {{{page border}}} | {{#switch: {{{supertype| }}} | fae = #FFFF00 | #666}} }}
 
   | page border  = {{#if: {{{page border| }}} | {{{page border}}} | {{#switch: {{{supertype| }}} | fae = #FFFF00 | #666}} }}
 
   | cell color    = {{#if: {{{cell color| }}} | {{{cell color}}} | {{#switch: {{{supertype| }}} | fae = #FFFF00 | #FFF}} }}
 
   | cell color    = {{#if: {{{cell color| }}} | {{{cell color}}} | {{#switch: {{{supertype| }}} | fae = #FFFF00 | #FFF}} }}
   | cell border  = {{{cell border|#999}}}
+
   | cell border  = {{#if: {{{cell border| }}} | {{{cell border}}} | {{#switch: {{{supertype| }}} | fae = #FFFF00 | #999}} }}
   | cell text    = {{{cell text|#000}}}
+
   | cell text    = {{#if: {{{cell text| }}} | {{{cell text}}} | {{#switch: {{{supertype| }}} | fae = #FFFF00 | #000}} }}
   | link color    = {{{link color|#00F}}}
+
   | link color    = {{#if: {{{link color| }}} | {{{link color}}} | {{#switch: {{{supertype| }}} | fae = #FFFF00 | #00F}} }}
   | link hover    = {{{link hover color|#00F}}}
+
   | link hover    = {{#if: {{{link hover color| }}} | {{{link hover color}}} | {{#switch: {{{supertype| }}} | fae = #FFFF00 | #00F}} }}
   | header color  = {{{header color|#333}}}
+
   | header color  = {{#if: {{{header color| }}} | {{{header color}}} | {{#switch: {{{supertype| }}} | fae = #FFFF00 | #333}} }}
   | header border = {{{header border|#999}}}
+
   | header border = {{#if: {{{header border| }}} | {{{header border}}} | {{#switch: {{{supertype| }}} | fae = #FFFF00 | #999}} }}
   | header text  = {{{header text|#FFF}}}
+
   | header text  = {{#if: {{{header text| }}} | {{{header text}}} | {{#switch: {{{supertype| }}} | fae = #FFFF00 | #FFF}} }}
 
   | page gradient = {{#switch:{{{page gradient|}}}|no=no|yes}}
 
   | page gradient = {{#switch:{{{page gradient|}}}|no=no|yes}}
 
}}
 
}}

Revision as of 14:00, 13 May 2014



This layout page is designed to ease the creation of lovely pages without the need for extensive knowledge of CSS3 or advanced HTML practices. For those who are perfectly pleased with grey, white, and black, it can be used exactly as is with no need for any customization at all.

This is guaranteed to work in Internet Explorer 9, Firefox 3.5, Chrome 10, and Safari 5. It will gracefully degrade across older browsers.

This layout was designed by Loki@Haunted-Memories: Vienna By Night

Usage

Copy the following onto your page:

[[Category:PCs]][[Category:Active PCs]]
{{ :Template:Charpage 
}}

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

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

| full name            = 
| played by            = 

| 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)
| stereotypes position = left, right, bottom, OR off (default: left)
| hooks position       = left, right, bottom, OR off (default: right)
| contacts position    = left, right, bottom, OR off (default: yes)
| gallery position     = left, right, bottom, OR off (default: bottom)
| disclaimer position  = left, right, bottom, OR off (default: right)

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   = 
| stereotypes class    = 
| stereotypes style    = 
| contacts class       = 
| contacts style       = 
| hooks class          = 
| hooks style          = 
| gallery class        = 
| gallery style        = 
| disclaimer class     = 
| disclaimer style     = 
| portrait class       = 
| portrait style       = 
| overview class       = 
| overview 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 #      =