Difference between revisions of "Template:IplSection"

From GTAMods Wiki
Jump to navigation Jump to search
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><table cellspacing="4" cellpadding="2" style="border: 1px solid #cedff2; background-color: #F9F9F9; clear: right; float: right; width: 35em; 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}}}}}</caption>
+
<includeonly><table cellspacing="4" cellpadding="2" style="width:350px; 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 Placement|(IPL section)]]}}</caption>{{#if:{{{description|}}}|<tr><th width="120">Short description:</th><td><i>{{{description}}}</i></td></tr>}}{{#if:{{{game|}}}|<tr><th width="120">Supported games:</th><td>{{{game}}}</td></tr>}}<tr><td colspan="2" align="center"><span style="font-size: 80%">IPL Sections:
{{#if:{{{game|}}}|<tr><th>Supported games:</th><td>{{{game}}}</td></tr>}}{{#if:{{{description|}}}|<tr><th>Short description:</th><td><i>{{{description}}}</i></td></tr>}}<tr><th>File type:</th><td>[[Item_Placement|Item placement file]]</td></tr></table>[[Category:Map_Formats]]</includeonly><noinclude>The '''IplSection''' template can be used to display information of an section inside an [[IPL|Item placement file]]:
+
{|style="background:#ddeae1"
 +
|[[2DFX (IPL Section)|2DFX]] •
 +
|[[AUZO]] •
 +
|[[BLOK]] •
 +
|[[CARS (IPL Section)|CARS]] •
 +
|[[CULL]] •
 +
|[[ENEX]] •
 +
|[[GRGE]]
 +
|}
 +
{|style="background:#ddeae1"
 +
|[[INST]] •
 +
|[[JUMP]] •
 +
|[[LINK]] •
 +
|[[LODM]] •
 +
|[[MLO+]] •
 +
|[[MULT]] •
 +
|[[OCCL]]
 +
|}
 +
{|style="background:#ddeae1"
 +
|[[PATH]] •
 +
|[[PICK]] •
 +
|[[RTFX]] •
 +
|[[SLOW]] •
 +
|[[TCYC]] •
 +
|[[VNOD]] •
 +
|[[ZONE]]
 +
|}
 +
</span></td></tr></table>[[Category:Map_Formats]]</includeonly><noinclude>The '''IplSection''' template can be used to display information of an section inside an [[IPL|Item placement file]]:
 
<pre>
 
<pre>
 
{{IplSection
 
{{IplSection
| game        =
+
| noheader    = 1 to leave out "IPL Sections" link, otherwise leave blank
| description =
+
| name        = name of section (leave blank to use page's name)
 +
| game        = games the section is used in
 +
| description = brief description of section
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
Example:
 +
{{IplSection
 +
| noheader    = 1
 +
| name        = TEST
 +
| game        = &ndash;
 +
| description = Example
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:49, 11 January 2019

The IplSection template can be used to display information of an section inside an Item placement file:

{{IplSection
| noheader    = 1 to leave out "IPL 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
Short description:Example
Supported games:
IPL Sections:
2DFX AUZO BLOK CARS CULL ENEX GRGE
INST JUMP LINK LODM MLO+ MULT OCCL
PATH PICK RTFX SLOW TCYC VNOD ZONE