Template:LokiPage: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#css: | {{#css: | ||
{{:Template:LokiPage/base.css | {{:Template:LokiPage/base.css | ||
| page color = {{{page color| {{#switch:{{{theme| | | page color = {{{page color| {{#switch:{{{theme|}}} |queen=#800020 |skyline=#2C3539 |headline=#dfeefc | #000 }} }}} | ||
| page border = {{{page border| {{#switch:{{{theme| | | page border = {{{page border| {{#switch:{{{theme|}} |headline=#000 | #666 }} }}} | ||
| cell color = {{{cell color| {{#switch:{{{theme| | | cell color = {{{cell color| {{#switch:{{{theme|}}} |queen=#FFFFF0 |skyline=#000 |headline=#dfeefc| #FFF }} }}} | ||
| cell border = {{{cell border| #999 }}} | | cell border = {{{cell border| #999 }}} | ||
| cell text = {{{cell text| {{#switch:{{{theme| | | cell text = {{{cell text| {{#switch:{{{theme|}}} |skyline=#FFF | #000 }} }}} | ||
| link color = {{{link color| {{#switch:{{{theme| | | link color = {{{link color| {{#switch:{{{theme|}}} |queen=#36b |headline=#794D33 | #36B }} }}} | ||
| link hover = {{{link hover color| {{#switch: {{{theme| | | link hover = {{{link hover color| {{#switch: {{{theme|}}} |headline=#794D33 | #36B }} }}} | ||
| header color = {{{header color| {{#switch:{{{theme| | | header color = {{{header color| {{#switch:{{{theme|}}} |queen=#800020 |skyline=#000 | #333 }} }}} | ||
| header border = {{{header border| #999 }}} | | header border = {{{header border| #999 }}} | ||
| header text = {{{header text| {{#switch:{{{theme| | | header text = {{{header text| {{#switch:{{{theme|}}} |queen=#C0C0C0 |skyline=#87CEFA |headline=#000 | #FFF }} }}} | ||
}} | }} | ||
}} | }} | ||
Line 160: | Line 159: | ||
{{#ifeq:{{{debug|0}}}|1| | {{#ifeq:{{{debug|0}}}|1| | ||
<table class="wikitable"> | <table class="wikitable"> | ||
<tr><td>introduction</td><td>{{{introduction|}}}</td></tr> | <tr><td>theme</td><td>{{{theme|undefined}}}</td></tr> | ||
<tr><td>portrait</td><td>{{{portrait|}}}</td></tr> | <tr><td>introduction</td><td>{{{introduction|undefined}}}</td></tr> | ||
<tr><td>overview position</td><td>{{{overview position|}}}</td></tr> | <tr><td>portrait</td><td>{{{portrait|undefined}}}</td></tr> | ||
<tr><td>hooks position</td><td>{{{hooks position|}}}</td></tr> | <tr><td>overview position</td><td>{{{overview position|undefined}}}</td></tr> | ||
<tr><td>statistics position</td><td>{{{statistics position|}}}</td></tr> | <tr><td>hooks position</td><td>{{{hooks position|undefined}}}</td></tr> | ||
<tr><td>disclaimer position</td><td>{{{disclaimer position|}}}</td></tr> | <tr><td>statistics position</td><td>{{{statistics position|undefined}}}</td></tr> | ||
<tr><td>contacts position</td><td>{{{contacts position|}}}</td></tr> | <tr><td>disclaimer position</td><td>{{{disclaimer position|undefined}}}</td></tr> | ||
<tr><td>soundtrack position</td><td>{{{soundtrack position|}}}</td></tr> | <tr><td>contacts position</td><td>{{{contacts position|undefined}}}</td></tr> | ||
<tr><td>gallery position</td><td>{{{gallery position|}}}</td></tr> | <tr><td>soundtrack position</td><td>{{{soundtrack position|undefined}}}</td></tr> | ||
<tr><td>top container class </td><td>{{{top container class |}}}</td></tr> | <tr><td>gallery position</td><td>{{{gallery position|undefined}}}</td></tr> | ||
<tr><td>left container class </td><td>{{{left container class |}}}</td></tr> | <tr><td>top container class </td><td>{{{top container class |undefined}}}</td></tr> | ||
<tr><td>right container class </td><td>{{{right container class |}}}</td></tr> | <tr><td>left container class </td><td>{{{left container class |undefined}}}</td></tr> | ||
<tr><td>bottom container class </td><td>{{{bottom container class |}}}</td></tr> | <tr><td>right container class </td><td>{{{right container class |undefined}}}</td></tr> | ||
<tr><td>introduction class </td><td>{{{introduction class |}}}</td></tr> | <tr><td>bottom container class </td><td>{{{bottom container class |undefined}}}</td></tr> | ||
<tr><td>introduction container class </td><td>{{{introduction container class |}}}</td></tr> | <tr><td>introduction class </td><td>{{{introduction class |undefined}}}</td></tr> | ||
<tr><td>introduction header class </td><td>{{{introduction header class |}}}</td></tr> | <tr><td>introduction container class </td><td>{{{introduction container class |undefined}}}</td></tr> | ||
<tr><td>introduction style </td><td>{{{introduction style |}}}</td></tr> | <tr><td>introduction header class </td><td>{{{introduction header class |undefined}}}</td></tr> | ||
<tr><td>portrait class </td><td>{{{portrait class |}}}</td></tr> | <tr><td>introduction style </td><td>{{{introduction style |undefined}}}</td></tr> | ||
<tr><td>portrait container class </td><td>{{{portrait container class |}}}</td></tr> | <tr><td>portrait class </td><td>{{{portrait class |undefined}}}</td></tr> | ||
<tr><td>portrait header class </td><td>{{{portrait header class |}}}</td></tr> | <tr><td>portrait container class </td><td>{{{portrait container class |undefined}}}</td></tr> | ||
<tr><td>portrait style </td><td>{{{portrait style |}}}</td></tr> | <tr><td>portrait header class </td><td>{{{portrait header class |undefined}}}</td></tr> | ||
<tr><td>overview class </td><td>{{{overview class |}}}</td></tr> | <tr><td>portrait style </td><td>{{{portrait style |undefined}}}</td></tr> | ||
<tr><td>overview container class </td><td>{{{overview container class |}}}</td></tr> | <tr><td>overview class </td><td>{{{overview class |undefined}}}</td></tr> | ||
<tr><td>overview header class </td><td>{{{overview header class |}}}</td></tr> | <tr><td>overview container class </td><td>{{{overview container class |undefined}}}</td></tr> | ||
<tr><td>overview style </td><td>{{{overview style |}}}</td></tr> | <tr><td>overview header class </td><td>{{{overview header class |undefined}}}</td></tr> | ||
<tr><td>hooks class </td><td>{{{hooks class |}}}</td></tr> | <tr><td>overview style </td><td>{{{overview style |undefined}}}</td></tr> | ||
<tr><td>hooks container class </td><td>{{{hooks container class |}}}</td></tr> | <tr><td>hooks class </td><td>{{{hooks class |undefined}}}</td></tr> | ||
<tr><td>hooks header class </td><td>{{{hooks header class |}}}</td></tr> | <tr><td>hooks container class </td><td>{{{hooks container class |undefined}}}</td></tr> | ||
<tr><td>hooks style </td><td>{{{hooks style |}}}</td></tr> | <tr><td>hooks header class </td><td>{{{hooks header class |undefined}}}</td></tr> | ||
<tr><td>statistics class</td><td>{{{statistics class|}}}</td></tr> | <tr><td>hooks style </td><td>{{{hooks style |undefined}}}</td></tr> | ||
<tr><td>statistics container class </td><td>{{{statistics container class |}}}</td></tr> | <tr><td>statistics class</td><td>{{{statistics class|undefined}}}</td></tr> | ||
<tr><td>statistics header class </td><td>{{{statistics header class |}}}</td></tr> | <tr><td>statistics container class </td><td>{{{statistics container class |undefined}}}</td></tr> | ||
<tr><td>statistics style</td><td>{{{statistics style|}}}</td></tr> | <tr><td>statistics header class </td><td>{{{statistics header class |undefined}}}</td></tr> | ||
<tr><td>disclaimer class </td><td>{{{disclaimer class |}}}</td></tr> | <tr><td>statistics style</td><td>{{{statistics style|undefined}}}</td></tr> | ||
<tr><td>disclaimer container class </td><td>{{{disclaimer container class |}}}</td></tr> | <tr><td>disclaimer class </td><td>{{{disclaimer class |undefined}}}</td></tr> | ||
<tr><td>disclaimer header class </td><td>{{{disclaimer header class |}}}</td></tr> | <tr><td>disclaimer container class </td><td>{{{disclaimer container class |undefined}}}</td></tr> | ||
<tr><td>disclaimer style </td><td>{{{disclaimer style |}}}</td></tr> | <tr><td>disclaimer header class </td><td>{{{disclaimer header class |undefined}}}</td></tr> | ||
<tr><td>contacts class </td><td>{{{contacts class |}}}</td></tr> | <tr><td>disclaimer style </td><td>{{{disclaimer style |undefined}}}</td></tr> | ||
<tr><td>contacts container class </td><td>{{{contacts container class |}}}</td></tr> | <tr><td>contacts class </td><td>{{{contacts class |undefined}}}</td></tr> | ||
<tr><td>contacts header class </td><td>{{{contacts header class |}}}</td></tr> | <tr><td>contacts container class </td><td>{{{contacts container class |undefined}}}</td></tr> | ||
<tr><td>contacts style </td><td>{{{contacts style |}}}</td></tr> | <tr><td>contacts header class </td><td>{{{contacts header class |undefined}}}</td></tr> | ||
<tr><td>soundtrack class </td><td>{{{soundtrack class |}}}</td></tr> | <tr><td>contacts style </td><td>{{{contacts style |undefined}}}</td></tr> | ||
<tr><td>soundtrack container class </td><td>{{{soundtrack container class |}}}</td></tr> | <tr><td>soundtrack class </td><td>{{{soundtrack class |undefined}}}</td></tr> | ||
<tr><td>soundtrack header class </td><td>{{{soundtrack header class |}}}</td></tr> | <tr><td>soundtrack container class </td><td>{{{soundtrack container class |undefined}}}</td></tr> | ||
<tr><td>soundtrack style </td><td>{{{soundtrack style |}}}</td></tr> | <tr><td>soundtrack header class </td><td>{{{soundtrack header class |undefined}}}</td></tr> | ||
<tr><td>gallery class </td><td>{{{gallery class |}}}</td></tr> | <tr><td>soundtrack style </td><td>{{{soundtrack style |undefined}}}</td></tr> | ||
<tr><td>gallery container class</td><td>{{{gallery container class|}}}</td></tr> | <tr><td>gallery class </td><td>{{{gallery class |undefined}}}</td></tr> | ||
<tr><td>gallery header class</td><td>{{{gallery header class|}}}</td></tr> | <tr><td>gallery container class</td><td>{{{gallery container class|undefined}}}</td></tr> | ||
<tr><td>gallery style</td><td>{{{gallery style|}}}</td></tr> | <tr><td>gallery header class</td><td>{{{gallery header class|undefined}}}</td></tr> | ||
<tr><td>custom position 1</td><td>{{{custom position 1|}}}</td></tr> | <tr><td>gallery style</td><td>{{{gallery style|undefined}}}</td></tr> | ||
<tr><td>custom title 1</td><td>{{{custom title 1|}}}</td></tr> | <tr><td>custom position 1</td><td>{{{custom position 1|undefined}}}</td></tr> | ||
<tr><td>custom class 1</td><td>{{{custom class 1|}}}</td></tr> | <tr><td>custom title 1</td><td>{{{custom title 1|undefined}}}</td></tr> | ||
<tr><td>custom container class 1</td><td>{{{custom container class 1|}}}</td></tr> | <tr><td>custom class 1</td><td>{{{custom class 1|undefined}}}</td></tr> | ||
<tr><td>custom header class 1</td><td>{{{custom header class 1|}}}</td></tr> | <tr><td>custom container class 1</td><td>{{{custom container class 1|undefined}}}</td></tr> | ||
<tr><td>custom style 1</td><td>{{{custom style 1|}}}</td></tr> | <tr><td>custom header class 1</td><td>{{{custom header class 1|undefined}}}</td></tr> | ||
<tr><td>custom position 2</td><td>{{{custom position 2|}}}</td></tr> | <tr><td>custom style 1</td><td>{{{custom style 1|undefined}}}</td></tr> | ||
<tr><td>custom title 2</td><td>{{{custom title 2|}}}</td></tr> | <tr><td>custom position 2</td><td>{{{custom position 2|undefined}}}</td></tr> | ||
<tr><td>custom class 2</td><td>{{{custom class 2|}}}</td></tr> | <tr><td>custom title 2</td><td>{{{custom title 2|undefined}}}</td></tr> | ||
<tr><td>custom container class 2</td><td>{{{custom container class 2|}}}</td></tr> | <tr><td>custom class 2</td><td>{{{custom class 2|undefined}}}</td></tr> | ||
<tr><td>custom header class 2</td><td>{{{custom header class 2|}}}</td></tr> | <tr><td>custom container class 2</td><td>{{{custom container class 2|undefined}}}</td></tr> | ||
<tr><td>custom style 2</td><td>{{{custom style 2|}}}</td></tr> | <tr><td>custom header class 2</td><td>{{{custom header class 2|undefined}}}</td></tr> | ||
<tr><td>custom position 3</td><td>{{{custom position 3|}}}</td></tr> | <tr><td>custom style 2</td><td>{{{custom style 2|undefined}}}</td></tr> | ||
<tr><td>custom title 3</td><td>{{{custom title 3|}}}</td></tr> | <tr><td>custom position 3</td><td>{{{custom position 3|undefined}}}</td></tr> | ||
<tr><td>custom class 3</td><td>{{{custom class 3|}}}</td></tr> | <tr><td>custom title 3</td><td>{{{custom title 3|undefined}}}</td></tr> | ||
<tr><td>custom container class 3</td><td>{{{custom container class 3|}}}</td></tr> | <tr><td>custom class 3</td><td>{{{custom class 3|undefined}}}</td></tr> | ||
<tr><td>custom header class 3</td><td>{{{custom header class 3|}}}</td></tr> | <tr><td>custom container class 3</td><td>{{{custom container class 3|undefined}}}</td></tr> | ||
<tr><td>custom style 3</td><td>{{{custom style 3|}}}</td></tr> | <tr><td>custom header class 3</td><td>{{{custom header class 3|undefined}}}</td></tr> | ||
<tr><td>custom position 4</td><td>{{{custom position 4|}}}</td></tr> | <tr><td>custom style 3</td><td>{{{custom style 3|undefined}}}</td></tr> | ||
<tr><td>custom title 4</td><td>{{{custom title 4|}}}</td></tr> | <tr><td>custom position 4</td><td>{{{custom position 4|undefined}}}</td></tr> | ||
<tr><td>custom class 4</td><td>{{{custom class 4|}}}</td></tr> | <tr><td>custom title 4</td><td>{{{custom title 4|undefined}}}</td></tr> | ||
<tr><td>custom container class 4</td><td>{{{custom container class 4|}}}</td></tr> | <tr><td>custom class 4</td><td>{{{custom class 4|undefined}}}</td></tr> | ||
<tr><td>custom header class 4</td><td>{{{custom header class 4|}}}</td></tr> | <tr><td>custom container class 4</td><td>{{{custom container class 4|undefined}}}</td></tr> | ||
<tr><td>custom style 4</td><td>{{{custom style 4|}}}</td></tr> | <tr><td>custom header class 4</td><td>{{{custom header class 4|undefined}}}</td></tr> | ||
<tr><td>custom position 5</td><td>{{{custom position 5|}}}</td></tr> | <tr><td>custom style 4</td><td>{{{custom style 4|undefined}}}</td></tr> | ||
<tr><td>custom title 5</td><td>{{{custom title 5|}}}</td></tr> | <tr><td>custom position 5</td><td>{{{custom position 5|undefined}}}</td></tr> | ||
<tr><td>custom class 5</td><td>{{{custom class 5|}}}</td></tr> | <tr><td>custom title 5</td><td>{{{custom title 5|undefined}}}</td></tr> | ||
<tr><td>custom container class 5</td><td>{{{custom container class 5|}}}</td></tr> | <tr><td>custom class 5</td><td>{{{custom class 5|undefined}}}</td></tr> | ||
<tr><td>custom header class 5</td><td>{{{custom header class 5|}}}</td></tr> | <tr><td>custom container class 5</td><td>{{{custom container class 5|undefined}}}</td></tr> | ||
<tr><td>custom style 5</td><td>{{{custom style 5|}}}</td></tr> | <tr><td>custom header class 5</td><td>{{{custom header class 5|undefined}}}</td></tr> | ||
<tr><td>custom style 5</td><td>{{{custom style 5|undefined}}}</td></tr> | |||
</table> | </table> | ||
}} | }} | ||
{{ #switch: {{{ status | active }}} |active = [[Category:Active PC]] |dead = [[Category:Dead PC]] |inactive = [[Category:Inactive PC]] |chargen = [[Category:Chargen PC]] }} [[Category:Characters]] | {{ #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 19:42, 21 April 2025
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:
{{LokiPage }}
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 # =