Template:LorePageHeader: Difference between revisions
GreytideSkye (talk | contribs) mNo edit summary |
GreytideSkye (talk | contribs) mNo edit summary |
||
Line 26: | Line 26: | ||
<center>[[File:{{{img}}}|64px]]<br>'''{{{mainname|Name}}}'''</center></div></div> | <center>[[File:{{{img}}}|64px]]<br>'''{{{mainname|Name}}}'''</center></div></div> | ||
|<div style="border: .2em solid #{{{colour|444444}}}; border-radius: .5em; background: #FFF;">|<div style="padding: .3em; background: #{{{ebcolour|#444444}}}1e; margin:.25em; border-radius: .5em; line-height:1.2em;"> | |<div style="border: .2em solid #{{{colour|444444}}}; border-radius: .5em; background: #FFF;">|<div style="padding: .3em; background: #{{{ebcolour|#444444}}}1e; margin:.25em; border-radius: .5em; line-height:1.2em;"> | ||
{{#if:{{{denonyms|}}}|'''Denonyms:''' {{{denonyms}}}<br>}} | {{#if:{{{denonyms|}}}|'''Denonyms:''' {{{denonyms}}}<br>}}{{#if:{{{othernames|}}}|'''Other Names:''' {{{othernames}}}<br>}}{{#if:{{{relatedpages|}}}|'''Related Pages:''' {{{relatedpages}}}<br>}}{{#if:{{relatedlore|}}}|'''Related Lore:''' {{{relatedlore}}}<br>}}{{#if:{{{guides|}}}|'''Guides:''' {{{guides}}}<br>}}{{#if:{{{languages|}}}|'''Languages:''' {{{languages}}}<br>}}{{#if:{{{requirements|}}}|'''Minimum Requirements:''' {{{requirements}}}<br>}} | ||
{{#if:{{{othernames|}}}|'''Other Names:''' {{{othernames}}}<br>}} | |||
{{#if:{{{relatedpages|}}}|'''Related Pages:''' {{{relatedpages}}}<br>}} | |||
{{#if: | |||
{{#if:{{{guides|}}}|'''Guides:''' {{{guides}}}<br>}} | |||
{{#if:{{{languages|}}}|'''Languages:''' {{{languages}}}<br>}} | |||
{{#if:{{{requirements|}}}|'''Minimum Requirements:''' {{{requirements}}}<br>}} | |||
</div></div> | </div></div> | ||
|- | |- |
Revision as of 03:59, 19 February 2024
This template is intended to be at the top of each of the jobs pages to provide a basic overview of each job.
Meaning of parameters
colour is USED the background color of the header. This will also set the image background colour automatically.
hcolour is USED the font colour for the header. It accepts plaintext colours only.
bcolour is UNUSED the color for the job title box.
bhcolour is UNUSED the text color for the job title.
ebcolour is USED the background color for the section that holds the guides and other info.
loretype is the word that is added at the top. Intended to be in caps. Intended to reflect the kind of Lore this is, e.g. SPECIES, FACTION, CORPORATION, EVENT, NOTABLE INDIVIDUAL, LOCATION, uhh something for whatever you'd call an Audio Log that does some environmental storytelling like y'know it'd be a two-page optional pickup as a reward for solving a bonus puzzle.
img Sets the file without the need for the [[File:]] command. The extension and size modifier must still be specified.
mainname is the primary name for this, likely the page title.
othernames are secondary names that are used commonly enough to refer to this, without being the Official name.
denonyms is how you address a singular or plural of these. Optional.
relatedpages are for, you guessed it: related pages and guides.
relatedlore is strictly for related lore pages.
languages are for related languages. Common is implied.
guides are in case there's specific guides, I suppose.
Usage
Example of the finished product. Check the source code for the code that generated the thing below. Please document any changes you make to the template code in the parameters and usage sections
Denonyms: 1 Kilo, 3 Kilos |