Template:InfoboxNMSRef: Difference between revisions
From Step Mods | Change The Game
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{| class="infobox" style="float:{{{float|left}}}; margin-{{#if: {{{float|}}} | {{#ifeq: {{{float|right}}} | right | left}} | right }}:0.65em;" | <includeonly>{| class="infobox" style="float:{{{float|left}}}; margin-{{#if: {{{float|}}} | {{#ifeq: {{{float|right}}} | right | left}} | right }}:0.65em;" | ||
! colspan="2" class=" | ! colspan="2" class="modnamehd" style="padding-top:1em; text-align:center;" | {{{title|}}} | ||
|- | |- | ||
! class="infoattr" style="padding-top: 0.5em;" | File Suffix: | ! class="infoattr" style="padding-top: 0.5em;" | File Suffix: |
Revision as of 21:24, January 15, 2021
Template:InfoboxNMSRef[edit source]
Purpose & Usage[edit source]
Use this template to create an infobox for No Man's Sky References.
Parameters[edit source]
- 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[edit source]
Blank Code:[edit source]
{{InfoboxNMSRef |float = |title = |suffix = |templateName = |directory = |knowledge = |summary = }}
Code:[edit source]
{{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:[edit source]
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! |