Template:LokiPage: Difference between revisions
No edit summary |
No edit summary |
||
Line 135: | Line 135: | ||
<div style="flex-flow: column nowrap;justify-content: space-between;align-items: stretch;" class="loki-table {{{theme | vintage}}}"> | <div style="flex-flow: column nowrap;justify-content: space-between;align-items: stretch;" class="loki-table {{{theme | vintage}}}"> | ||
<!-- Spanned Top Column //--> | <!-- Spanned Top Column //--> | ||
<div class="{{#if:{{{top container class|}}}|{{{top container class}}}| loki-cell-top }} {{{theme| vintage | <div class="{{#if:{{{top container class|}}}|{{{top container class}}}| loki-cell-top }} {{#if:{{{theme|}}}|{{{theme}}}|vintage}}" style="{{#if:{{#switch:{{{introduction|left}}}|top=introuduction}}{{#switch:{{{portrait|right}}}|top=portrait}}{{#switch:{{{overview|right}}}|top=overview}}{{#switch:{{{hooks|left}}}|top=hooks}}{{#switch:{{{statistics|right}}}|top=statistics}}{{#switch:{{{disclaimer|left}}}|top=disclaimer}}{{#switch:{{{contacts|left}}}|top=contacts}}{{#switch:{{{soundtrack|right}}}|top=soundtrack}}{{#switch:{{{gallery|bottom}}}|top=gallery}}{{#switch:{{{custom position 1|}}}|top=custom1}}{{#switch:{{{custom position 2|}}}|top=custom2}}{{#switch:{{{custom position 3|}}}|top=custom3}}{{#switch:{{{custom position 4|}}}|top=custom4}}{{#switch:{{{custom position 5|}}}|top=custom5}}||display:none}}"> | ||
{{ #switch: {{{ introduction | left }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{ title | Introduction }}} | page = Introduction | class = {{{ introduction class | }}} | style = {{{ introduction style | }}} | glass = {{{ glass | yes }}} | container-class = {{{ introduction container class | }}} | header-class = {{{ introduction header class| }}} }} }}{{ #switch: {{{ portrait | right }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{ full name | {{ PAGENAME }} }}} | page = Portrait | class = {{{ portrait class | }}} | style = {{{ portrait style | }}} | glass = {{{ glass | yes }}} | container-class = {{{ portrait container class | }}} | header-class = {{{ portrait header class| }}} }} }}{{ #switch: {{{ overview position | right }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = Overview | page = Infobox | class = {{{ overview class | }}} | style = {{{ overview style | }}} | glass = {{{ glass | yes }}} | container-class = {{{ overview container class | }}} | header-class = {{{ overview header class| }}} }} }}{{ #switch: {{{ hooks position | left }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = RP Hooks | page = Hooks | class = {{{ hooks class | }}} | style = {{{ hooks style | }}} | container-class = {{{ hooks container class | }}} | header-class = {{{ hooks header class| }}} }} }}{{ #switch: {{{ statistics position | right }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = Statistics | page = Statistics | class = {{{ statistics class | }}} | style = {{{ statistics style | }}} | container-class = {{{ statistics container class | }}} | header-class = {{{ statistics header class| }}} }} }}{{ #switch: {{{ disclaimer position | left }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = Disclaimer | page = Disclaimer | class = {{{ disclaimer class | }}} | style = {{{ disclaimer style | }}} | container-class = {{{ disclaimer container class | }}} | header-class = {{{ disclaimer header class| }}} }} }}{{ #switch: {{{ contacts position | left }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = Contacts | page = Contacts | class = {{{ contacts class | }}} | style = {{{ contacts style | }}} | glass = {{{ glass | yes }}} | container-class = {{{ contacts container class | }}} | header-class = {{{ contacts header class| }}} }} }}{{ #switch: {{{ soundtrack position | right }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = Soundtrack | page = Soundtrack | class = {{{ soundtrack class | }}} | style = {{{ soundtrack style | }}} | glass = {{{ glass | yes }}} | container-class = {{{ soundtrack container class | }}} | header-class = {{{ soundtrack header class| }}} }} }}{{ #switch: {{{ gallery position | bottom }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{gallery title|Gallery}}} | page = Gallery | class = {{{ gallery class | }}} | style = {{{ gallery style | text-align: center; }}} | container-class = {{{ gallery container class | }}} | header-class = {{{ gallery header class| }}} }} }}{{ #switch: {{{ custom position 1 | }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{ custom title 1 }}} | page = {{{ custom title 1 }}} | class = {{{ custom class 1 | }}} | style = {{{ custom style 1 | }}} | container-class = {{{ custom container class 1| }}} | header-class = {{{ custom header class 1| }}} }} }}{{ #switch: {{{ custom position 2 | }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{ custom title 2 }}} | page = {{{ custom title 2 }}} | class = {{{ custom class 2 | }}} | style = {{{ custom style 2 | }}} | container-class = {{{ custom container class 2| }}} | header-class = {{{ custom header class 2| }}} }} }}{{ #switch: {{{ custom position 3 | }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{ custom title 3 }}} | page = {{{ custom title 3 }}} | class = {{{ custom class 3 | }}} | style = {{{ custom style 3 | }}} | container-class = {{{ custom container class 3| }}} | header-class = {{{ custom header class 3| }}} }} }}{{ #switch: {{{ custom position 4 | }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{ custom title 4 }}} | page = {{{ custom title 4 }}} | class = {{{ custom class 4 | }}} | style = {{{ custom style 4 | }}} | container-class = {{{ custom container class 4| }}} | header-class = {{{ custom header class 4| }}} }} }}{{ #switch: {{{ custom position 5 | }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{ custom title 5 }}} | page = {{{ custom title 5 }}} | class = {{{ custom class 5 | }}} | style = {{{ custom style 5 | }}} | container-class = {{{ custom container class 5 | }}} | header-class = {{{ custom header class 5| }}} }} }} | {{ #switch: {{{ introduction | left }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{ title | Introduction }}} | page = Introduction | class = {{{ introduction class | }}} | style = {{{ introduction style | }}} | glass = {{{ glass | yes }}} | container-class = {{{ introduction container class | }}} | header-class = {{{ introduction header class| }}} }} }}{{ #switch: {{{ portrait | right }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{ full name | {{ PAGENAME }} }}} | page = Portrait | class = {{{ portrait class | }}} | style = {{{ portrait style | }}} | glass = {{{ glass | yes }}} | container-class = {{{ portrait container class | }}} | header-class = {{{ portrait header class| }}} }} }}{{ #switch: {{{ overview position | right }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = Overview | page = Infobox | class = {{{ overview class | }}} | style = {{{ overview style | }}} | glass = {{{ glass | yes }}} | container-class = {{{ overview container class | }}} | header-class = {{{ overview header class| }}} }} }}{{ #switch: {{{ hooks position | left }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = RP Hooks | page = Hooks | class = {{{ hooks class | }}} | style = {{{ hooks style | }}} | container-class = {{{ hooks container class | }}} | header-class = {{{ hooks header class| }}} }} }}{{ #switch: {{{ statistics position | right }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = Statistics | page = Statistics | class = {{{ statistics class | }}} | style = {{{ statistics style | }}} | container-class = {{{ statistics container class | }}} | header-class = {{{ statistics header class| }}} }} }}{{ #switch: {{{ disclaimer position | left }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = Disclaimer | page = Disclaimer | class = {{{ disclaimer class | }}} | style = {{{ disclaimer style | }}} | container-class = {{{ disclaimer container class | }}} | header-class = {{{ disclaimer header class| }}} }} }}{{ #switch: {{{ contacts position | left }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = Contacts | page = Contacts | class = {{{ contacts class | }}} | style = {{{ contacts style | }}} | glass = {{{ glass | yes }}} | container-class = {{{ contacts container class | }}} | header-class = {{{ contacts header class| }}} }} }}{{ #switch: {{{ soundtrack position | right }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = Soundtrack | page = Soundtrack | class = {{{ soundtrack class | }}} | style = {{{ soundtrack style | }}} | glass = {{{ glass | yes }}} | container-class = {{{ soundtrack container class | }}} | header-class = {{{ soundtrack header class| }}} }} }}{{ #switch: {{{ gallery position | bottom }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{gallery title|Gallery}}} | page = Gallery | class = {{{ gallery class | }}} | style = {{{ gallery style | text-align: center; }}} | container-class = {{{ gallery container class | }}} | header-class = {{{ gallery header class| }}} }} }}{{ #switch: {{{ custom position 1 | }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{ custom title 1 }}} | page = {{{ custom title 1 }}} | class = {{{ custom class 1 | }}} | style = {{{ custom style 1 | }}} | container-class = {{{ custom container class 1| }}} | header-class = {{{ custom header class 1| }}} }} }}{{ #switch: {{{ custom position 2 | }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{ custom title 2 }}} | page = {{{ custom title 2 }}} | class = {{{ custom class 2 | }}} | style = {{{ custom style 2 | }}} | container-class = {{{ custom container class 2| }}} | header-class = {{{ custom header class 2| }}} }} }}{{ #switch: {{{ custom position 3 | }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{ custom title 3 }}} | page = {{{ custom title 3 }}} | class = {{{ custom class 3 | }}} | style = {{{ custom style 3 | }}} | container-class = {{{ custom container class 3| }}} | header-class = {{{ custom header class 3| }}} }} }}{{ #switch: {{{ custom position 4 | }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{ custom title 4 }}} | page = {{{ custom title 4 }}} | class = {{{ custom class 4 | }}} | style = {{{ custom style 4 | }}} | container-class = {{{ custom container class 4| }}} | header-class = {{{ custom header class 4| }}} }} }}{{ #switch: {{{ custom position 5 | }}} | top = {{ :Template:LokiPage/layout/cell | theme = {{{ theme| vintage}}} | title = {{{ custom title 5 }}} | page = {{{ custom title 5 }}} | class = {{{ custom class 5 | }}} | style = {{{ custom style 5 | }}} | container-class = {{{ custom container class 5 | }}} | header-class = {{{ custom header class 5| }}} }} }} | ||
</div><!-- /Spanned Top Column //--> | </div><!-- /Spanned Top Column //--> |
Revision as of 18:22, 29 October 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:
{{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 = | 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 = headline, 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 # =