Difference between revisions of "Template:Infobox TGI"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Freedo50
m (24 revisions imported)
 
(63 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>This infobox should be used to give basic information for articles about a certain TGI. This template uses parameters to make the page editors' job easier. When defining any of the following parameters, the '''parameter names must be lowercase'''. The following parameters ''should'' be included, but none are necessary:
+
<noinclude>{{pp-template}}</noinclude><noinclude>This infobox should be used to give basic information for articles about a certain TGI. This template uses parameters to make the page editors' job easier. When defining any of the following parameters, the '''parameter names must be lowercase'''. The following parameters ''should'' be included, but none are necessary:
  
*name: the name of the TGI.
+
==Syntax==
*format:
+
<pre>{{Infobox TGI
*type:
+
| name =
*group:
+
| format =
*instance:
+
| type =
*comments: Include any important comments in this section. For example, if editing the TGI in question could cause game crashes, it would be advisable to put a warning here.
+
| group =
 +
| instance =
 +
| comments =
 +
}}</pre>
 +
*'''name''' - the name of the TGI.
 +
*'''format''' -
 +
*'''type''' - The Type ID of the object, defines what file type the file is (?)
 +
*'''group''' - The Group ID of the object
 +
*'''instance''' - The Instance ID of the object
 +
*'''comments''' (optional) - Include any important comments in this section. For example, if editing the TGI in question could cause game crashes, it would be advisable to put a warning here.
  
{{Infobox TGI}}
+
==Example==
</noinclude>
+
</noinclude><!--
<includeonly>
 
{| align="right" border="1" cellspacing="0"
 
! style="color:#FFFFFF;background:#1E90FF;"| TGI Info
 
|-
 
| '''Name:''' {{{name|Unknown}}}
 
  
'''Format:''' {{{format|Unknown}}}
+
TEMPLATE STARTS HERE!
  
'''Type:''' {{{type|Unknown}}}
+
-->{{infobox/table|title= TGI Info|width=170px
 +
|1=
 +
{{row/!|cell= align=right width=10%|Name
 +
{{!}}{{{name|Unknown}}}}}
 +
{{row/!|cell= align=right|Format
 +
{{!}}{{{format|Unknown}}}}}
 +
{{row/!|cell= align=right|Type
  
'''Group:''' {{{group|Unknown}}}
+
Group
  
'''Instance:''' {{{instance|Unknown}}}
+
Instance
|-
+
{{!}}{{{type|Unknown}}}
| align="center" style="color:#FFFFFF;background:#1E90FF;"| '''Comments'''
+
 
|-
+
{{{group|Unknown}}}
| {{{comments |No comments.}}}
+
 
|}
+
{{{instance|Unknown}}}}}
</includeonly>
+
{{row/!|{{{comments|}}}|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;" |Comments}}
 +
{{row|cell= colspan="2"|{{{comments|}}}|{{{comments}}}}}
 +
}}

Latest revision as of 19:55, 8 August 2019

This infobox should be used to give basic information for articles about a certain TGI. This template uses parameters to make the page editors' job easier. When defining any of the following parameters, the parameter names must be lowercase. The following parameters should be included, but none are necessary:

Syntax

{{Infobox TGI
| name = 
| format =
| type =
| group =
| instance =
| comments = 
}}
  • name - the name of the TGI.
  • format -
  • type - The Type ID of the object, defines what file type the file is (?)
  • group - The Group ID of the object
  • instance - The Instance ID of the object
  • comments (optional) - Include any important comments in this section. For example, if editing the TGI in question could cause game crashes, it would be advisable to put a warning here.

Example

TGI Info
Name Unknown
Format Unknown
Type

Group

Instance

Unknown

Unknown

Unknown