Template:LorePageHeader: Difference between revisions

From Nova Sector 13
Jump to navigation Jump to search
mNo edit summary
m (imgsize)
 
(3 intermediate revisions by the same user not shown)
Line 24: Line 24:
|-
|-
|<div style="border: .15em solid #{{{colour|444444}}}; border-radius: .5em; background: #FFF;">|<div style="padding: 1.4em 0 1.4em 0; background: #{{{ebcolour|#444444}}}1e; margin:.25em; border-radius: .5em;">
|<div style="border: .15em solid #{{{colour|444444}}}; border-radius: .5em; background: #FFF;">|<div style="padding: 1.4em 0 1.4em 0; background: #{{{ebcolour|#444444}}}1e; margin:.25em; border-radius: .5em;">
<center>[[File:{{{img}}}|64px]]<br>'''{{{mainname|Name}}}'''</center></div></div>
<center>[[File:{{{img}}}|{{{imgsize|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:{{{contributors|}}}|'''Contributors:''' {{{contributors}}}<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>}}
</div></div>
</div></div>
|-
|-
Line 40: Line 34:


This template is intended to be at the top of each of the jobs pages to provide a basic overview of each job.
This template is intended to be at the top of each of the jobs pages to provide a basic overview of each job.
<!-- {{#if:{{{denonyms|}}}|'''Denonyms:''' {{{denonyms}}}<br>}} paste a bunch of those in a row -->


== Meaning of parameters ==
== Meaning of parameters ==
Line 57: Line 53:
'''relatedpages''' are for, you guessed it: related pages and guides.<br>
'''relatedpages''' are for, you guessed it: related pages and guides.<br>
'''relatedlore''' is strictly for related lore pages.<br>
'''relatedlore''' is strictly for related lore pages.<br>
'''languages''' are for related languages. Common is implied.
'''guides''' are in case there's specific guides, I suppose.<br>
'''guides''' are in case there's specific guides, I suppose.<br>
'''languages''' are for related languages. If it doesn't have a template like {{Sylvan}}, make one? Common is implied, debatable if we should indicate a LACK of common, or how.<br>
'''requirements''' ... I don't know. "Minimum Requirements." I guess more for like, vetlocked races?<br>
'''imgsize''' The size of the image, in normal img formatting. Defaults to "64px".
'''contributors''' should be about the loreteam contributors. Use a Template for each, like {{Contributor/GreytideSkye}}, off the base [[Template:Contributor]] {{Contributor}} template.


== Usage ==
== Usage ==
Line 77: Line 77:
  |relatedlore = [[Lore:Nova]], [[Lore:Security]]
  |relatedlore = [[Lore:Nova]], [[Lore:Security]]
  |guides = no separate guides
  |guides = no separate guides
|languages = {{Sylvan}}, {{Terrum}}, {{EAL}}, {{Beachtongue}}
|requirements = Bribe an admin to bring back an old map. Vetlocked.
|contributors = {{Contributor/GreytideSkye}}, {{Contributor/Desminus}}
}}
}}


[[Category:Templates]][[Category:Misc Styling Templates]]
[[Category:Templates]][[Category:Misc Styling Templates]]
</noinclude>
</noinclude>

Latest revision as of 03:26, 14 July 2024

{{{loretype}}}
[[File:{{{img}}}|64px]]
Name

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.
guides are in case there's specific guides, I suppose.
languages are for related languages. If it doesn't have a template like SylvanA complicated, ancient language spoken by sentient plants., make one? Common is implied, debatable if we should indicate a LACK of common, or how.
requirements ... I don't know. "Minimum Requirements." I guess more for like, vetlocked races?
imgsize The size of the image, in normal img formatting. Defaults to "64px".

contributors should be about the loreteam contributors. Use a Template for each, like GreytideSkyeUser:GreytideSkye, also known as Extramrdo.
Contactable at Discord @extramrdo, preferably through opening a Staff Ticket if it's staff related.
, off the base Template:Contributor You've included the wrong Template, the base one at Template:Contributor. You should be using {{Contributor/TheSpecificPerson}} and instead have gotten here. Example, GreytideSkyeUser:GreytideSkye, also known as Extramrdo.
Contactable at Discord @extramrdo, preferably through opening a Staff Ticket if it's staff related.

template.

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


LOCATION

Kilo Station

Denonyms: 1 Kilo, 3 Kilos
Other Names: Kill-yo Station, Tiny Donut, Crampedstation 13, Belovedstation 13
Related Pages: Lawyer (you will need one)
Related Lore: Lore:Nova, Lore:Security
Guides: no separate guides
Languages: SylvanA complicated, ancient language spoken by sentient plants., TerrumA language commonly used by constructs with no dedicated vocalization organs., Encoded Audio LanguageAn efficient language of encoded tones developed by synthetics and cyborgs., Template:Beachtongue
Minimum Requirements: Bribe an admin to bring back an old map. Vetlocked.
Contributors: GreytideSkyeUser:GreytideSkye, also known as Extramrdo.
Contactable at Discord @extramrdo, preferably through opening a Staff Ticket if it's staff related.
, Template:Contributor/Desminus