Template:InfoboxNMSRef: Difference between revisions
From Step Mods | Change The Game
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{| class="infobox" style="float:{{ | <includeonly>{{#vardefine:float|{{{float|left}}}}}{| class="infobox" style="float:{{#var:float}}; margin-{{#ifeq:{{#var:float}}|right|left|right}}:0.65em;" | ||
! colspan="2" class="modnamehd" style="padding-top:1em; text-align:center;" | {{{title|}}} | ! colspan="2" class="modnamehd" style="padding-top:1em; text-align:center;" | {{{title|}}} | ||
|- | |- |
Revision as of 14:25, January 16, 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! |