Template:InfoboxNMSRef: Difference between revisions

From Step Mods | Change The Game
No edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:float|{{{float|left}}}}}{| class="infobox" style="float:{{#var:float}}; margin-{{#ifeq:{{#var:float}}|right|left|right}}:0.65em;"
<includeonly>{{#vardefine:float|{{{float|left}}}}}{| class="infobox" style="float:{{#var:float}}; margin-{{#ifeq:{{#var:float}}|right|left|right}}:1em;"
! colspan="2" class="modnamehd" style="padding-top:1em; text-align:center;" | {{{title|}}}
! colspan="2" class="modnamehd" style="padding-top:1em; text-align:center;" | {{{title|}}}
|-
|-
Line 20: Line 20:
! class="infoattr" style="padding-bottom: 1em;" | Summary:
! class="infoattr" style="padding-bottom: 1em;" | Summary:
| class="infovalue" style="padding-bottom: 1em;" | {{{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:NoMansSky Templates]]


= {{FULLPAGENAME}} =
= {{FULLPAGENAME}} =

Latest revision as of 21:40, February 19, 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!