Template:InfoboxNMSRef: Difference between revisions
From Step Mods | Change The Game
(Created page with "<includeonly>{| class="InfoboxNMSRef" style="float:{{{float|right}}};" ! colspan="2" class="bluebg" style="text-align:center;font-size:1.1em;" | {{{title|}}} |- ! File Suffix:...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{| class=" | <includeonly>{| class="infobox" style="float:{{{float|left}}}; margin-{{#if: {{{float|}}} | {{#ifeq: {{{float|right}}} | right | left}} | right }}:0.65em;" | ||
! colspan="2" class=" | ! colspan="2" class="modname" style="padding-top:1em; text-align:center;" | {{{title|}}} | ||
|- | |- | ||
! File Suffix: | ! class="infoattr" style="padding-top: 0.5em;" | File Suffix: | ||
| {{{suffix|...}}} | | class="infovalue" style="padding-top: 0.5em;" | {{{suffix|...}}} | ||
|- | |- | ||
! Template Name: | ! class="infoattr" | Template Name: | ||
| {{{templateName|...}}} | | class="infovalue" | {{{templateName|...}}} | ||
|- | |- | ||
! Directory: | ! class="infoattr" | Directory: | ||
| {{{directory|...}}} | | class="infovalue" | {{{directory|...}}} | ||
|- | |- | ||
! Knowledge State: | ! class="infoattr" | Knowledge State: | ||
| {{#switch:{{lc:{{{knowledge|}}}}} | | class="infovalue" | {{#switch:{{lc:{{{knowledge|}}}}} | ||
|unknown = Unknown | |unknown = Unknown | ||
|partial = Partially Understood | |partial = Partially Understood | ||
Line 18: | Line 18: | ||
|#default = ...}} | |#default = ...}} | ||
|- | |- | ||
! Summary: | ! class="infoattr" style="padding-bottom: 1em;" | Summary: | ||
| {{{summary|...}}} | | class="infovalue" style="padding-bottom: 1em;" | {{{summary|...}}} | ||
|}</includeonly><noinclude>__NOTITLE__ __NOTOC__ [[Category:Infobox Templates]][[Category:Formatting Templates]][[Category:NMS]] | |}</includeonly><noinclude>__NOTITLE__ __NOTOC__ [[Category:Infobox Templates]][[Category:Formatting Templates]][[Category:NMS]] | ||
Line 28: | Line 28: | ||
=== Parameters === | === Parameters === | ||
* '''float''' | |||
*: Allowed switches: ''left (default)'', ''right'' | |||
*: Sets the horizontal position. | |||
* '''title''' | * '''title''' | ||
*: Sets the header tile of the infobox. | *: Sets the header tile of the infobox. | ||
Line 45: | Line 48: | ||
====Blank Code:==== | ====Blank Code:==== | ||
<pre>{{InfoboxNMSRef | <pre>{{InfoboxNMSRef | ||
|float = | |||
|title = | |title = | ||
|suffix = | |suffix = | ||
Line 55: | Line 59: | ||
====Code:==== | ====Code:==== | ||
<pre>{{InfoboxNMSRef | <pre>{{InfoboxNMSRef | ||
|float = right | |||
|title = Space...the final...balls... | |title = Space...the final...balls... | ||
|suffix = Groovy.MBIN | |suffix = Groovy.MBIN | ||
Line 64: | Line 69: | ||
====Result:==== | ====Result:==== | ||
{{InfoboxNMSRef | {{InfoboxNMSRef | ||
|float = right | |||
|title = Space...the final...balls... | |title = Space...the final...balls... | ||
|suffix = Groovy.MBIN | |suffix = Groovy.MBIN | ||
Line 70: | Line 76: | ||
|knowledge = understood | |knowledge = understood | ||
|summary = Commence Operation... '''VAC-U-SUCK!''' | |summary = Commence Operation... '''VAC-U-SUCK!''' | ||
}} | }}{{clear}} | ||
</noinclude> | </noinclude> |
Revision as of 20:11, January 15, 2021
Template:InfoboxNMSRef
Purpose & Usage
Use this template to create an infobox for No Man's Sky References.
Parameters
- float
- Allowed switches: left (default), right
- Sets the horizontal position.
- title
- Sets the header tile of the infobox.
- suffix
- File suffix. (e.g. SCENE.MBIN)
- templateName
- (e.g. tkSceneNodeData)
- directory
- (e.g. GLOBAL/AUDIO/FONTS/MATERIALS)
- knowledge
- Allowed switches: unknown, partial, understood
- Sets the state of the current knowledge level of the reference.
- summary
- A summary of the reference.
Examples
Blank Code:
{{InfoboxNMSRef |float = |title = |suffix = |templateName = |directory = |knowledge = |summary = }}
Code:
{{InfoboxNMSRef |float = right |title = Space...the final...balls... |suffix = Groovy.MBIN |templateName = tkSpaceBallsData |directory = GLOBAL/Space/Farce/ |knowledge = understood |summary = Commence Operation... '''VAC-U-SUCK!''' }}
Result:
Space...the final...balls... | |
---|---|
File Suffix: | Groovy.MBIN |
Template Name: | tkSpaceBallsData |
Directory: | GLOBAL/Space/Farce/ |
Knowledge State: | Well Understood |
Summary: | Commence Operation... VAC-U-SUCK! |