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:30px;"|File Suffix:|| style="border-top:solid 1px;"|{{{suffix|}}}
+
| style="font-weight:bold;text-align:right;border-top:solid 1px;padding-right:30px;width:20%;"|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:30px;"|Template Name:|| style="border-top:solid 1px;"|{{{templateName|}}}}
+
| style="font-weight:bold;text-align:right;border-top:solid 1px;padding-right:30px;width:80%"|Template Name:|| style="border-top:solid 1px;"|{{{templateName|}}}}
 
|-
 
|-
 
| style="font-weight:bold;text-align:right;border-top:solid 1px;padding-right:30px;"|Directory:|| style="border-top:solid 1px;"|{{{directory|}}}
 
| style="font-weight:bold;text-align:right;border-top:solid 1px;padding-right:30px;"|Directory:|| style="border-top:solid 1px;"|{{{directory|}}}

Revision as of 04:34, 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!