Template:LokiCharPage: Difference between revisions
(Cleaning up defaults for themeing) |
(Adding Sample Image field to pass through to PlayedBy template) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
| cell text = {{{cell text| {{#switch:{{{theme|vintage}}} |skyline=#FFF | #000 }} }}} | | cell text = {{{cell text| {{#switch:{{{theme|vintage}}} |skyline=#FFF | #000 }} }}} | ||
| link color = {{{link color| {{#switch:{{{theme|vintage}}} |queen=#36b |headline=#794D33 | #36B }} }}} | | link color = {{{link color| {{#switch:{{{theme|vintage}}} |queen=#36b |headline=#794D33 | #36B }} }}} | ||
| link hover = {{{link hover color| {{#switch: {{{theme|vintage}}} |headline=#794D33 | # | | link hover = {{{link hover color| {{#switch: {{{theme|vintage}}} |headline=#794D33 | #36B }} }}} | ||
| header color = {{{header color| {{#switch:{{{theme|vintage}}} |queen=#800020 |skyline=#000 | #333 }} }}} | | header color = {{{header color| {{#switch:{{{theme|vintage}}} |queen=#800020 |skyline=#000 | #333 }} }}} | ||
| header border = {{{header border| #999 }}} | | header border = {{{header border| #999 }}} | ||
Line 36: | Line 36: | ||
| full name = | | full name = | ||
| played by = | | played by = | ||
| status = active, inactive, dead, chargen (default: active -- This will automatically add the PC into one of the various PC categories.) | |||
| sample image = (File Name of the image you want to use for your Played-By. Example: File1.jpg) | |||
| page color = | | page color = | ||
Line 156: | Line 158: | ||
</div><!-- /.loki-table //--> | </div><!-- /.loki-table //--> | ||
</div><!-- /#loki-table //--> | </div><!-- /#loki-table //--> | ||
{{ #if: {{{ played by | }}} | <span style="float: right; font-style: italic;">'''Played By:''' {{{ played by }}} {{Played by |Character name={{{ full name | }}} |Model name={{{ played by | }}} }} }} | {{ #if: {{{ played by | }}} | <span style="float: right; font-style: italic;">'''Played By:''' {{{ played by }}} {{Played by |Character name={{{ full name | }}} |Model name={{{ played by | }}} |Sample={{{ sample image| }}} }} }}{{ #switch: {{{ status | active }}} |active = [[Category:Active PC]] |dead = [[Category:Dead PC]] |inactive = [[Category:Inactive PC]] |chargen = [[Category:Chargen PC]] }} [[Category:Characters]] | ||
<!-- /Main Table //--></includeonly> | <!-- /Main Table //--></includeonly> |
Latest revision as of 21:34, 18 August 2024
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 layout was designed by Loki@Haunted-Memories: Vienna By Night, with heavy editing and style support by Darc
Usage
Copy the following onto your page:
{{LokiCharPage }}
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.
For a list of colors, please visit this link.W3 Schools HTML Color Names
| full name = | played by = | status = active, inactive, dead, chargen (default: active -- This will automatically add the PC into one of the various PC categories.) | sample image = (File Name of the image you want to use for your Played-By. Example: File1.jpg) | 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.
| theme = queen, skyline, OR vintage (default: vintage -- THIS IS CASE-SENSITIVE!) | page gradient = yes OR no (default: yes) | introduction = left, right, top, bottom, OR off (default: left) | portrait = left, right, top, bottom, OR off (default: right) | overview position = left, right, top, bottom, OR off (default: right) | hooks position = left, right, top, bottom, OR off (default: left) | statistics position = left, right, top, bottom, OR off (default: right) | disclaimer position = left, right, top, bottom, OR off (default: left) | contacts position = left, right, top, bottom, OR off (default: left) | soundtrack position = left, right, top, bottom, OR off (default: right) | gallery position = left, right, top, bottom, OR off (default: bottom)
Themes
To see the preconstructed themes in action:
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.
| top container class = | left container class = | right container class = | bottom container class = | introduction class = | introduction container class = | introduction header class = | introduction style = | portrait class = | portrait container class = | portrait header class = | portrait style = | overview class = | overview container class = | overview header class = | overview style = | hooks class = | hooks container class = | hooks header class = | hooks style = | statistics class = | statistics container class = | statistics header class = | statistics style = | disclaimer class = | disclaimer container class = | disclaimer header class = | disclaimer style = | contacts class = | contacts container class = | contacts header class = | contacts style = | soundtrack class = | soundtrack container class = | soundtrack header class = | soundtrack style = | gallery class = | gallery container class = | gallery header class = | gallery 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, top, bottom, OR off (default: off) | custom title # =
You can also specify the class and style as normal.
| custom class # = | custom container class # = | custom header class # = | custom style # =