Template:LokiPage: Difference between revisions
Removing Page Gradient |
No edit summary |
||
Line 157: | Line 157: | ||
</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 }}} {{ | {{ #if: {{{ played by | }}} | <span style="float: right; font-style: italic;">'''Played By:''' {{{ played by }}} }} | ||
{{#ifeq:{{{debug|0}}}|1| | |||
<table class="wikitable"> | |||
<tr><td>introduction</td><td>{{{introduction|}}}</td></tr> | |||
<tr><td>portrait</td><td>{{{portrait|}}}</td></tr> | |||
<tr><td>overview position</td><td>{{{overview position|}}}</td></tr> | |||
<tr><td>hooks position</td><td>{{{hooks position|}}}</td></tr> | |||
<tr><td>statistics position</td><td>{{{statistics position|}}}</td></tr> | |||
<tr><td>disclaimer position</td><td>{{{disclaimer position|}}}</td></tr> | |||
<tr><td>contacts position</td><td>{{{contacts position|}}}</td></tr> | |||
<tr><td>soundtrack position</td><td>{{{soundtrack position|}}}</td></tr> | |||
<tr><td>gallery position</td><td>{{{gallery position|}}}</td></tr> | |||
<tr><td>top container class </td><td>{{{top container class |}}}</td></tr> | |||
<tr><td>left container class </td><td>{{{left container class |}}}</td></tr> | |||
<tr><td>right container class </td><td>{{{right container class |}}}</td></tr> | |||
<tr><td>bottom container class </td><td>{{{bottom container class |}}}</td></tr> | |||
<tr><td>introduction class </td><td>{{{introduction class |}}}</td></tr> | |||
<tr><td>introduction container class </td><td>{{{introduction container class |}}}</td></tr> | |||
<tr><td>introduction header class </td><td>{{{introduction header class |}}}</td></tr> | |||
<tr><td>introduction style </td><td>{{{introduction style |}}}</td></tr> | |||
<tr><td>portrait class </td><td>{{{portrait class |}}}</td></tr> | |||
<tr><td>portrait container class </td><td>{{{portrait container class |}}}</td></tr> | |||
<tr><td>portrait header class </td><td>{{{portrait header class |}}}</td></tr> | |||
<tr><td>portrait style </td><td>{{{portrait style |}}}</td></tr> | |||
<tr><td>overview class </td><td>{{{overview class |}}}</td></tr> | |||
<tr><td>overview container class </td><td>{{{overview container class |}}}</td></tr> | |||
<tr><td>overview header class </td><td>{{{overview header class |}}}</td></tr> | |||
<tr><td>overview style </td><td>{{{overview style |}}}</td></tr> | |||
<tr><td>hooks class </td><td>{{{hooks class |}}}</td></tr> | |||
<tr><td>hooks container class </td><td>{{{hooks container class |}}}</td></tr> | |||
<tr><td>hooks header class </td><td>{{{hooks header class |}}}</td></tr> | |||
<tr><td>hooks style </td><td>{{{hooks style |}}}</td></tr> | |||
<tr><td>statistics class</td><td>{{{statistics class|}}}</td></tr> | |||
<tr><td>statistics container class </td><td>{{{statistics container class |}}}</td></tr> | |||
<tr><td>statistics header class </td><td>{{{statistics header class |}}}</td></tr> | |||
<tr><td>statistics style</td><td>{{{statistics style|}}}</td></tr> | |||
<tr><td>disclaimer class </td><td>{{{disclaimer class |}}}</td></tr> | |||
<tr><td>disclaimer container class </td><td>{{{disclaimer container class |}}}</td></tr> | |||
<tr><td>disclaimer header class </td><td>{{{disclaimer header class |}}}</td></tr> | |||
<tr><td>disclaimer style </td><td>{{{disclaimer style |}}}</td></tr> | |||
<tr><td>contacts class </td><td>{{{contacts class |}}}</td></tr> | |||
<tr><td>contacts container class </td><td>{{{contacts container class |}}}</td></tr> | |||
<tr><td>contacts header class </td><td>{{{contacts header class |}}}</td></tr> | |||
<tr><td>contacts style </td><td>{{{contacts style |}}}</td></tr> | |||
<tr><td>soundtrack class </td><td>{{{soundtrack class |}}}</td></tr> | |||
<tr><td>soundtrack container class </td><td>{{{soundtrack container class |}}}</td></tr> | |||
<tr><td>soundtrack header class </td><td>{{{soundtrack header class |}}}</td></tr> | |||
<tr><td>soundtrack style </td><td>{{{soundtrack style |}}}</td></tr> | |||
<tr><td>gallery class </td><td>{{{gallery class |}}}</td></tr> | |||
<tr><td>gallery container class</td><td>{{{gallery container class|}}}</td></tr> | |||
<tr><td>gallery header class</td><td>{{{gallery header class|}}}</td></tr> | |||
<tr><td>gallery style</td><td>{{{gallery style|}}}</td></tr> | |||
<tr><td>custom position 1</td><td>{{{custom position 1|}}}</td></tr> | |||
<tr><td>custom title 1</td><td>{{{custom title 1|}}}</td></tr> | |||
<tr><td>custom class 1</td><td>{{{custom class 1|}}}</td></tr> | |||
<tr><td>custom container class 1</td><td>{{{custom container class 1|}}}</td></tr> | |||
<tr><td>custom header class 1</td><td>{{{custom header class 1|}}}</td></tr> | |||
<tr><td>custom style 1</td><td>{{{custom style 1|}}}</td></tr> | |||
<tr><td>custom position 2</td><td>{{{custom position 2|}}}</td></tr> | |||
<tr><td>custom title 2</td><td>{{{custom title 2|}}}</td></tr> | |||
<tr><td>custom class 2</td><td>{{{custom class 2|}}}</td></tr> | |||
<tr><td>custom container class 2</td><td>{{{custom container class 2|}}}</td></tr> | |||
<tr><td>custom header class 2</td><td>{{{custom header class 2|}}}</td></tr> | |||
<tr><td>custom style 2</td><td>{{{custom style 2|}}}</td></tr> | |||
<tr><td>custom position 3</td><td>{{{custom position 3|}}}</td></tr> | |||
<tr><td>custom title 3</td><td>{{{custom title 3|}}}</td></tr> | |||
<tr><td>custom class 3</td><td>{{{custom class 3|}}}</td></tr> | |||
<tr><td>custom container class 3</td><td>{{{custom container class 3|}}}</td></tr> | |||
<tr><td>custom header class 3</td><td>{{{custom header class 3|}}}</td></tr> | |||
<tr><td>custom style 3</td><td>{{{custom style 3|}}}</td></tr> | |||
<tr><td>custom position 4</td><td>{{{custom position 4|}}}</td></tr> | |||
<tr><td>custom title 4</td><td>{{{custom title 4|}}}</td></tr> | |||
<tr><td>custom class 4</td><td>{{{custom class 4|}}}</td></tr> | |||
<tr><td>custom container class 4</td><td>{{{custom container class 4|}}}</td></tr> | |||
<tr><td>custom header class 4</td><td>{{{custom header class 4|}}}</td></tr> | |||
<tr><td>custom style 4</td><td>{{{custom style 4|}}}</td></tr> | |||
<tr><td>custom position 5</td><td>{{{custom position 5|}}}</td></tr> | |||
<tr><td>custom title 5</td><td>{{{custom title 5|}}}</td></tr> | |||
<tr><td>custom class 5</td><td>{{{custom class 5|}}}</td></tr> | |||
<tr><td>custom container class 5</td><td>{{{custom container class 5|}}}</td></tr> | |||
<tr><td>custom header class 5</td><td>{{{custom header class 5|}}}</td></tr> | |||
<tr><td>custom style 5</td><td>{{{custom style 5|}}}</td></tr> | |||
</table> | |||
}} | |||
{{ #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> |
Revision as of 19:35, 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 # =