Difference between revisions of "Template:IdeSection"

From GTAMods Wiki
Jump to navigation Jump to search
(remove width as no space for links and bullets on first line)
 
Line 1: Line 1:
 
<includeonly><table cellspacing="4" cellpadding="2" style="border: 1px solid #424242; background-color: #ddeae1; clear: right; float: right; text-align: left; font-size: 88%; line-height: 1.5em; margin: .5em 0 .5em 1em"><caption style="font-size: 125%; font-weight: bold;">{{{name|{{PAGENAME}}}}}{{#ifexpr: {{{noheader|0}}}=1||&nbsp;[[Item Definition|(IDE section)]]}}</caption>{{#if:{{{game|}}}|<tr><th width="120">Supported games:</th><td>{{{game}}}</td></tr>}}{{#if:{{{description|}}}|<tr><th width="120">Brief description:</th><td><i>{{{description}}}</i></td></tr>}}<tr><td colspan="2" align="center"><span style="font-size: 80%">IDE Sections:
 
<includeonly><table cellspacing="4" cellpadding="2" style="border: 1px solid #424242; background-color: #ddeae1; clear: right; float: right; text-align: left; font-size: 88%; line-height: 1.5em; margin: .5em 0 .5em 1em"><caption style="font-size: 125%; font-weight: bold;">{{{name|{{PAGENAME}}}}}{{#ifexpr: {{{noheader|0}}}=1||&nbsp;[[Item Definition|(IDE section)]]}}</caption>{{#if:{{{game|}}}|<tr><th width="120">Supported games:</th><td>{{{game}}}</td></tr>}}{{#if:{{{description|}}}|<tr><th width="120">Brief description:</th><td><i>{{{description}}}</i></td></tr>}}<tr><td colspan="2" align="center"><span style="font-size: 80%">IDE Sections:
 
{|style="background:#ddeae1"
 
{|style="background:#ddeae1"
|[[2DFX]]
+
|[[2DFX]]
|[[AMAT]]
+
|[[AMAT]]
|[[ANIM]]
+
|[[ANIM]]
|[[CARS (IDE Section)|CARS]]
+
|[[CARS (IDE Section)|CARS]]
|[[HIER]]
+
|[[HIER]]
|[[HAND]]
+
|[[HAND]]
|[[MLO]]
+
|[[MLO]]
 
|[[OBJS]]
 
|[[OBJS]]
 
|}
 
|}
 
{|style="background:#ddeae1"  
 
{|style="background:#ddeae1"  
|[[PATH_(IDE_Section)|PATH]]
+
|[[PATH_(IDE_Section)|PATH]]
|[[PEDS]]
+
|[[PEDS]]
|[[TANM]]
+
|[[TANM]]
|[[TOBJ]]
+
|[[TOBJ]]
|[[TREE]]
+
|[[TREE]]
|[[TXDP]]
+
|[[TXDP]]
 
|[[WEAP]]
 
|[[WEAP]]
 
|}
 
|}

Latest revision as of 16:10, 11 January 2019

The IdeSection template can be used to display information of an section inside an Item definition file:

{{IdeSection
| noheader    = 1 to leave out "IDE Sections" link, otherwise leave blank
| name        = name of section (leave blank to use page's name)
| game        = games the section is used in
| description = brief description of section
}}

Example:

TEST
Supported games:
Brief description:Example
IDE Sections:
2DFX AMAT ANIM CARS HIER HAND MLO OBJS
PATH PEDS TANM TOBJ TREE TXDP WEAP