Difference between revisions of "Template:InfoboxNMSRef"

From STEP Modding Wiki
Line 2: Line 2:
 
|colspan="2" align="center" style="background:#42857b;color:#EEE;font-size:1.1em; "|'''{{{title|}}}'''
 
|colspan="2" align="center" style="background:#42857b;color:#EEE;font-size:1.1em; "|'''{{{title|}}}'''
 
|-
 
|-
| style="font-weight:bold;text-align:right;border-top:solid 1px;padding-right:10px;width:20%;"|File Suffix:|| style="border-top:solid 1px;"|{{{suffix|...}}}
+
| style="font-weight:bold;text-align:right;border-top:solid 1px;padding-right:10px;width:15%;"|File Suffix:|| style="border-top:solid 1px;"|{{{suffix|...}}}
 
|- style="background-color:#3c3f46;"
 
|- style="background-color:#3c3f46;"
| style="font-weight:bold;text-align:right;border-top:solid 1px;padding-right:10px;width:20%"|Template Name:|| style="border-top:solid 1px;"|{{{templateName|...}}}
+
| style="font-weight:bold;text-align:right;border-top:solid 1px;padding-right:10px;width:15%"|Template Name:|| style="border-top:solid 1px;"|{{{templateName|...}}}
 
|-
 
|-
| style="font-weight:bold;text-align:right;border-top:solid 1px;padding-right:10px;width:20%"|Directory:|| style="border-top:solid 1px;"|{{{directory|...}}}
+
| style="font-weight:bold;text-align:right;border-top:solid 1px;padding-right:10px;width:15%"|Directory:|| style="border-top:solid 1px;"|{{{directory|...}}}
 
|- style="background-color:#3c3f46;"
 
|- style="background-color:#3c3f46;"
| style="font-weight:bold;text-align:right;border-top:solid 1px;padding-right:10px;width:20%"|Knowledge State:|| style="border-top:solid 1px;"|{{#switch:{{lc:{{{knowledge|}}}}}
+
| style="font-weight:bold;text-align:right;border-top:solid 1px;padding-right:10px;width:15%"|Knowledge State:|| style="border-top:solid 1px;"|{{#switch:{{lc:{{{knowledge|}}}}}
 
|unknown = Unknown
 
|unknown = Unknown
 
|partial = Partially Understood
 
|partial = Partially Understood
Line 14: Line 14:
 
|#default = ...}}
 
|#default = ...}}
 
|-
 
|-
| style="font-weight:bold;text-align:right;border-top:solid 1px;padding-right:10px;width:20%"|Summary|| style="border-top:solid 1px;"|{{{summary|...}}}
+
| style="font-weight:bold;text-align:right;border-top:solid 1px;padding-right:10px;width:15%"|Summary|| style="border-top:solid 1px;"|{{{summary|...}}}
 
|}
 
|}
 
{{clear|left}}</includeonly><noinclude>__NOTITLE____NOTOC__
 
{{clear|left}}</includeonly><noinclude>__NOTITLE____NOTOC__

Revision as of 04:39, August 10, 2020


Template:InfoboxNMSRef

Purpose & Usage

Use this template to create an infobox for No Man's Sky References.

Parameters

  • 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
|title = 
|suffix = 
|templateName = 
|directory = 
|knowledge = 
|summary = 
}}

Code:

{{InfoboxNMSRef
|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!