Template:LokiCharPage: Difference between revisions
No edit summary |
No edit summary |
||
Line 104: | Line 104: | ||
</noinclude><!-- Main Table //--><includeonly><div id="loki-table"> | </noinclude><!-- Main Table //--><includeonly><div id="loki-table"> | ||
{| class="loki-table" | {| class="loki-table" | ||
|- | |||
<!-- Spanned Top Column //--> | |||
| colspan="2" | | |||
{{ #switch: {{{ overview position | right }}} | top = {{ :Template:LokiCharPage/layout/cell | title = Overview | page = Infobox | class = {{{ overview class | }}} | style = {{{ overview style | }}} | glass = {{{ glass | yes }}} }} }}{{ #switch: {{{ hooks position | left }}} | top = {{ :Template:LokiCharPage/layout/cell | title = RP Hooks | page = Hooks | class = {{{ hooks class | }}} | style = {{{ hooks style | }}} }} }}{{ #switch: {{{ statistics position | right }}} | top = {{ :Template:LokiCharPage/layout/cell | title = Statistics | page = Statistics | class = {{{ statistics class | }}} | style = {{{ statistics style | }}} }} }}{{ #switch: {{{ disclaimer position | left }}} | top = {{ :Template:LokiCharPage/layout/cell | title = Disclaimer | page = Disclaimer | class = {{{ disclaimer class | }}} | style = {{{ disclaimer style | }}} }} }}{{ #switch: {{{ contacts position | left }}} | top = {{ #switch: {{{ contacts | yes }}} | yes = {{ :Template:LokiCharPage/layout/cell | title = Contacts | page = Contacts | class = {{{ contacts class | }}} | style = {{{ contacts style | }}} | glass = {{{ glass | yes }}} }} }} }}{{ #switch: {{{ soundtrack position | right }}} | top = {{ :Template:LokiCharPage/layout/cell | title = Soundtrack | page = Soundtrack | class = {{{ soundtrack class | }}} | style = {{{ soundtrack style | }}} | glass = {{{ glass | yes }}} }} }}{{ #switch: {{{ gallery position | top }}} | top = {{ :Template:LokiCharPage/layout/cell | title = {{{gallery title|Gallery}}} | page = Gallery | class = {{{ gallery class | }}} | style = {{{ gallery style | text-align: center; }}} }} }}{{ #switch: {{{ custom position 1 | }}} | top = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 1 }}} | page = {{{ custom title 1 }}} | class = {{{ custom class 1 | }}} | style = {{{ custom style 1 | }}} }} }}{{ #switch: {{{ custom position 2 | }}} | top = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 2 }}} | page = {{{ custom title 2 }}} | class = {{{ custom class 2 | }}} | style = {{{ custom style 2 | }}} }} }}{{ #switch: {{{ custom position 3 | }}} | top = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 3 }}} | page = {{{ custom title 3 }}} | class = {{{ custom class 3 | }}} | style = {{{ custom style 3 | }}} }} }}{{ #switch: {{{ custom position 4 | }}} | top = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 4 }}} | page = {{{ custom title 4 }}} | class = {{{ custom class 4 | }}} | style = {{{ custom style 4 | }}} }} }}{{ #switch: {{{ custom position 5 | }}} | top = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 5 }}} | page = {{{ custom title 5 }}} | class = {{{ custom class 5 | }}} | style = {{{ custom style 5 | }}} }} }} | |||
<!-- /Spanned Top Column //--> | |||
|- | |- | ||
<!-- Left Column //--> | <!-- Left Column //--> | ||
Line 113: | Line 120: | ||
| style="vertical-align: top; width: 25%;" | | | style="vertical-align: top; width: 25%;" | | ||
{{ #switch: {{{ portrait | yes }}} | yes = {{ :Template:LokiCharPage/layout/cell | title = {{{ full name | {{ PAGENAME }} }}} | page = Portrait | class = {{{ portrait class | }}} | style = {{{ portrait style | }}} | glass = {{{ glass | yes }}} }} }}{{ #switch: {{{ overview position | right }}} | right = {{ :Template:LokiCharPage/layout/cell | title = Overview | page = Infobox | class = {{{ overview class | }}} | style = {{{ overview style | }}} | glass = {{{ glass | yes }}} }} }}{{ #switch: {{{ hooks position | left }}} | right = {{ :Template:LokiCharPage/layout/cell | title = RP Hooks | page = Hooks | class = {{{ hooks class | }}} | style = {{{ hooks style | }}} }} }}{{ #switch: {{{ statistics position | right }}} | right = {{ :Template:LokiCharPage/layout/cell | title = Statistics | page = Statistics | class = {{{ statistics class | }}} | style = {{{ statistics style | }}} }} }}{{ #switch: {{{ disclaimer position | left }}} | right = {{ :Template:LokiCharPage/layout/cell | title = Disclaimer | page = Disclaimer | class = {{{ disclaimer class | }}} | style = {{{ disclaimer style | }}} }} }}{{ #switch: {{{ contacts position | left }}} | right = {{ #switch: {{{ contacts | yes }}} | yes = {{ :Template:LokiCharPage/layout/cell | title = Contacts | page = Contacts | class = {{{ contacts class | }}} | style = {{{ contacts style | }}} | glass = {{{ glass | yes }}} }} }} }}{{ #switch: {{{ soundtrack position | right }}} | right = {{ :Template:LokiCharPage/layout/cell | title = Soundtrack | page = Soundtrack | class = {{{ soundtrack class | }}} | style = {{{ soundtrack style | }}} | glass = {{{ glass | yes }}} }} }}{{ #switch: {{{ gallery position | bottom }}} | right = {{ :Template:LokiCharPage/layout/cell | title = {{{gallery title|Gallery}}} | page = Gallery | class = {{{ gallery class | }}} | style = {{{ gallery style | text-align: center; }}} }} }}{{ #switch: {{{ custom position 1 | }}} | right = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 1 }}} | page = {{{ custom title 1 }}} | class = {{{ custom class 1 | }}} | style = {{{ custom style 1 | }}} }} }}{{ #switch: {{{ custom position 2 | }}} | right = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 2 }}} | page = {{{ custom title 2 }}} | class = {{{ custom class 2 | }}} | style = {{{ custom style 2 | }}} }} }}{{ #switch: {{{ custom position 3 | }}} | right = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 3 }}} | page = {{{ custom title 3 }}} | class = {{{ custom class 3 | }}} | style = {{{ custom style 3 | }}} }} }}{{ #switch: {{{ custom position 4 | }}} | right = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 4 }}} | page = {{{ custom title 4 }}} | class = {{{ custom class 4 | }}} | style = {{{ custom style 4 | }}} }} }}{{ #switch: {{{ custom position 5 | }}} | right = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 5 }}} | page = {{{ custom title 5 }}} | class = {{{ custom class 5 | }}} | style = {{{ custom style 5 | }}} }} }} | {{ #switch: {{{ portrait | yes }}} | yes = {{ :Template:LokiCharPage/layout/cell | title = {{{ full name | {{ PAGENAME }} }}} | page = Portrait | class = {{{ portrait class | }}} | style = {{{ portrait style | }}} | glass = {{{ glass | yes }}} }} }}{{ #switch: {{{ overview position | right }}} | right = {{ :Template:LokiCharPage/layout/cell | title = Overview | page = Infobox | class = {{{ overview class | }}} | style = {{{ overview style | }}} | glass = {{{ glass | yes }}} }} }}{{ #switch: {{{ hooks position | left }}} | right = {{ :Template:LokiCharPage/layout/cell | title = RP Hooks | page = Hooks | class = {{{ hooks class | }}} | style = {{{ hooks style | }}} }} }}{{ #switch: {{{ statistics position | right }}} | right = {{ :Template:LokiCharPage/layout/cell | title = Statistics | page = Statistics | class = {{{ statistics class | }}} | style = {{{ statistics style | }}} }} }}{{ #switch: {{{ disclaimer position | left }}} | right = {{ :Template:LokiCharPage/layout/cell | title = Disclaimer | page = Disclaimer | class = {{{ disclaimer class | }}} | style = {{{ disclaimer style | }}} }} }}{{ #switch: {{{ contacts position | left }}} | right = {{ #switch: {{{ contacts | yes }}} | yes = {{ :Template:LokiCharPage/layout/cell | title = Contacts | page = Contacts | class = {{{ contacts class | }}} | style = {{{ contacts style | }}} | glass = {{{ glass | yes }}} }} }} }}{{ #switch: {{{ soundtrack position | right }}} | right = {{ :Template:LokiCharPage/layout/cell | title = Soundtrack | page = Soundtrack | class = {{{ soundtrack class | }}} | style = {{{ soundtrack style | }}} | glass = {{{ glass | yes }}} }} }}{{ #switch: {{{ gallery position | bottom }}} | right = {{ :Template:LokiCharPage/layout/cell | title = {{{gallery title|Gallery}}} | page = Gallery | class = {{{ gallery class | }}} | style = {{{ gallery style | text-align: center; }}} }} }}{{ #switch: {{{ custom position 1 | }}} | right = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 1 }}} | page = {{{ custom title 1 }}} | class = {{{ custom class 1 | }}} | style = {{{ custom style 1 | }}} }} }}{{ #switch: {{{ custom position 2 | }}} | right = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 2 }}} | page = {{{ custom title 2 }}} | class = {{{ custom class 2 | }}} | style = {{{ custom style 2 | }}} }} }}{{ #switch: {{{ custom position 3 | }}} | right = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 3 }}} | page = {{{ custom title 3 }}} | class = {{{ custom class 3 | }}} | style = {{{ custom style 3 | }}} }} }}{{ #switch: {{{ custom position 4 | }}} | right = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 4 }}} | page = {{{ custom title 4 }}} | class = {{{ custom class 4 | }}} | style = {{{ custom style 4 | }}} }} }}{{ #switch: {{{ custom position 5 | }}} | right = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 5 }}} | page = {{{ custom title 5 }}} | class = {{{ custom class 5 | }}} | style = {{{ custom style 5 | }}} }} }} | ||
<!-- /Right Column //--> | <!-- /Right Column //--> | ||
|- | |- | ||
<!-- Spanned Bottom Column //--> | |||
<!-- Spanned Column //--> | |||
| colspan="2" | | | colspan="2" | | ||
{{ #switch: {{{ overview position | right }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = Overview | page = Infobox | class = {{{ overview class | }}} | style = {{{ overview style | }}} | glass = {{{ glass | yes }}} }} }}{{ #switch: {{{ hooks position | left }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = RP Hooks | page = Hooks | class = {{{ hooks class | }}} | style = {{{ hooks style | }}} }} }}{{ #switch: {{{ statistics position | right }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = Statistics | page = Statistics | class = {{{ statistics class | }}} | style = {{{ statistics style | }}} }} }}{{ #switch: {{{ disclaimer position | left }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = Disclaimer | page = Disclaimer | class = {{{ disclaimer class | }}} | style = {{{ disclaimer style | }}} }} }}{{ #switch: {{{ contacts position | left }}} | bottom = {{ #switch: {{{ contacts | yes }}} | yes = {{ :Template:LokiCharPage/layout/cell | title = Contacts | page = Contacts | class = {{{ contacts class | }}} | style = {{{ contacts style | }}} | glass = {{{ glass | yes }}} }} }} }}{{ #switch: {{{ soundtrack position | right }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = Soundtrack | page = Soundtrack | class = {{{ soundtrack class | }}} | style = {{{ soundtrack style | }}} | glass = {{{ glass | yes }}} }} }}{{ #switch: {{{ gallery position | bottom }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = {{{gallery title|Gallery}}} | page = Gallery | class = {{{ gallery class | }}} | style = {{{ gallery style | text-align: center; }}} }} }}{{ #switch: {{{ custom position 1 | }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 1 }}} | page = {{{ custom title 1 }}} | class = {{{ custom class 1 | }}} | style = {{{ custom style 1 | }}} }} }}{{ #switch: {{{ custom position 2 | }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 2 }}} | page = {{{ custom title 2 }}} | class = {{{ custom class 2 | }}} | style = {{{ custom style 2 | }}} }} }}{{ #switch: {{{ custom position 3 | }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 3 }}} | page = {{{ custom title 3 }}} | class = {{{ custom class 3 | }}} | style = {{{ custom style 3 | }}} }} }}{{ #switch: {{{ custom position 4 | }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 4 }}} | page = {{{ custom title 4 }}} | class = {{{ custom class 4 | }}} | style = {{{ custom style 4 | }}} }} }}{{ #switch: {{{ custom position 5 | }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 5 }}} | page = {{{ custom title 5 }}} | class = {{{ custom class 5 | }}} | style = {{{ custom style 5 | }}} }} }} | {{ #switch: {{{ overview position | right }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = Overview | page = Infobox | class = {{{ overview class | }}} | style = {{{ overview style | }}} | glass = {{{ glass | yes }}} }} }}{{ #switch: {{{ hooks position | left }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = RP Hooks | page = Hooks | class = {{{ hooks class | }}} | style = {{{ hooks style | }}} }} }}{{ #switch: {{{ statistics position | right }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = Statistics | page = Statistics | class = {{{ statistics class | }}} | style = {{{ statistics style | }}} }} }}{{ #switch: {{{ disclaimer position | left }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = Disclaimer | page = Disclaimer | class = {{{ disclaimer class | }}} | style = {{{ disclaimer style | }}} }} }}{{ #switch: {{{ contacts position | left }}} | bottom = {{ #switch: {{{ contacts | yes }}} | yes = {{ :Template:LokiCharPage/layout/cell | title = Contacts | page = Contacts | class = {{{ contacts class | }}} | style = {{{ contacts style | }}} | glass = {{{ glass | yes }}} }} }} }}{{ #switch: {{{ soundtrack position | right }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = Soundtrack | page = Soundtrack | class = {{{ soundtrack class | }}} | style = {{{ soundtrack style | }}} | glass = {{{ glass | yes }}} }} }}{{ #switch: {{{ gallery position | bottom }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = {{{gallery title|Gallery}}} | page = Gallery | class = {{{ gallery class | }}} | style = {{{ gallery style | text-align: center; }}} }} }}{{ #switch: {{{ custom position 1 | }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 1 }}} | page = {{{ custom title 1 }}} | class = {{{ custom class 1 | }}} | style = {{{ custom style 1 | }}} }} }}{{ #switch: {{{ custom position 2 | }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 2 }}} | page = {{{ custom title 2 }}} | class = {{{ custom class 2 | }}} | style = {{{ custom style 2 | }}} }} }}{{ #switch: {{{ custom position 3 | }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 3 }}} | page = {{{ custom title 3 }}} | class = {{{ custom class 3 | }}} | style = {{{ custom style 3 | }}} }} }}{{ #switch: {{{ custom position 4 | }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 4 }}} | page = {{{ custom title 4 }}} | class = {{{ custom class 4 | }}} | style = {{{ custom style 4 | }}} }} }}{{ #switch: {{{ custom position 5 | }}} | bottom = {{ :Template:LokiCharPage/layout/cell | title = {{{ custom title 5 }}} | page = {{{ custom title 5 }}} | class = {{{ custom class 5 | }}} | style = {{{ custom style 5 | }}} }} }} | ||
<!-- /Spanned Bottom Column //--> | |||
|} | |} | ||
</div> | </div> | ||
{{ #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 }}} }} | ||
<!-- /Main Table //--></includeonly> | <!-- /Main Table //--></includeonly> |
Revision as of 08:45, 8 May 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.
| 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.
| theme = yellow, blue, magenta, or green (will use a specific color pallete, leave this blank to go with gray/black) | page gradient = yes OR no (default: yes) | introduction = yes OR no (default: yes) | portrait = yes OR no (default: yes) | glass = yes or no (default: yes) | overview position = left, right, bottom, OR off (default: right) | hooks position = left, right, bottom, OR off (default: left) | statistics position = left, right, bottom, OR off (default: right) | disclaimer position = left, right, bottom, OR off (default: left) | contacts position = left, right, bottom, OR off (default: left) | soundtrack position = left, right, bottom, OR off (default: right) | gallery position = left, right, bottom, OR off (default: bottom)
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 = | portrait class = | portrait style = | overview class = | overview style = | hooks class = | hooks style = | statistics class = | statistics style = | disclaimer class = | disclaimer style = | contacts class = | contacts style = | soundtrack class = | soundtrack style = | gallery 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, bottom, OR off (default: off) | custom title # =
You can also specify the class and style as normal.
| custom class # = | custom style # =