Template:OutputsTable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (hmmm)
m (revised)
Line 14: Line 14:


== Usage ==
== Usage ==
'''<nowiki>{{OutputsTable}}</nowiki>''' adds a predefined table with the output layout in the header sectionYou will have to add the row tag with content for the 7 columns as well as closing syntax manually.
'''<nowiki>{{OutputsTable}}</nowiki>''' adds a predefined set up for creating an entity output table inside the appropriate syntaxAdd it inside the basic table tags, "<nowiki>{|</nowiki>" and "<nowiki>|}</nowiki>", along with content for the 7 columns inside a row.


== Syntax ==
== Syntax ==
Line 20: Line 20:
For a single output:
For a single output:
<pre><nowiki>
<pre><nowiki>
{{OutputsTable}}
{| {{OutputsTable}}
| [[IoImage]] || Output Name || Target Entitiy || Target Input || Parameter || Delay || Only Once
| [[IoImage]] || Output Name || Target Entitiy || Target Input || Parameter || Delay || Only Once
|}
|}
Line 27: Line 27:
For a multiple outputs:
For a multiple outputs:
<pre><nowiki>
<pre><nowiki>
{{OutputsTable}}
{| {{OutputsTable}}
| [[IoImage]] || 1st Output Name || Target Entitiy || Target Input || Parameter || Delay || Only Once
| [[IoImage]] || 1st Output Name || Target Entitiy || Target Input || Parameter || Delay || Only Once
|-
|-
Line 38: Line 38:
'''Code:'''
'''Code:'''
<pre><nowiki>
<pre><nowiki>
{{OutputsTable}}
{| {{OutputsTable}}
| [[Image:Io11.png]] || OnCapture || Math_Blue || Add || 1 || 0.00 || No
| [[Image:Io11.png]] || OnCapture || Math_Blue || Add || 1 || 0.00 || No
|}
|}
Line 53: Line 53:
'''Code'''
'''Code'''
<pre><nowiki>
<pre><nowiki>
{{OutputsTable}}
{| {{OutputsTable}}
| [[Image:Io11.png]] || OnCapture || Math_Blue || Add || 1 || 0.00 || No
| [[Image:Io11.png]] || OnCapture || Math_Blue || Add || 1 || 0.00 || No
|-
|-

Revision as of 16:23, 16 February 2009

border=1 cellpadding="2" cellspacing="1" |- align=left style="background:#DCDCDC; color:black" !   !! My Output > !! Target Entity !! Target Input !! Parameter !! Delay !! Only Once |- align=left |   ||   ||   ||   ||   ||   ||   |}

Template documentation

This template is used for creating an entity output table.

Usage

{{OutputsTable}} adds a predefined set up for creating an entity output table inside the appropriate syntax. Add it inside the basic table tags, "{|" and "|}", along with content for the 7 columns inside a row.

Syntax

For a single output:

{| {{OutputsTable}}
| [[IoImage]] || Output Name || Target Entitiy || Target Input || Parameter || Delay || Only Once
|}

For a multiple outputs:

{| {{OutputsTable}}
| [[IoImage]] || 1st Output Name || Target Entitiy || Target Input || Parameter || Delay || Only Once
|-
| [[IoImage]] || 2nd Output Name || Target Entitiy || Target Input || Parameter || Delay || Only Once
|}

Example

Code:

{| {{OutputsTable}}
| [[Image:Io11.png]] || OnCapture || Math_Blue || Add || 1 || 0.00 || No
|}

Result:

  My Output > Target Entity Target Input Parameter Delay Only Once
Io11.png OnCapture Math_Blue Add 1 0.00 No


Code

{| {{OutputsTable}}
| [[Image:Io11.png]] || OnCapture || Math_Blue || Add || 1 || 0.00 || No
|-
| [[Image:Io11.png]] || OnCapture || CapZoneBlue2 || Disable || &nbsp; || 0.00 || No
|}

Result:

  My Output > Target Entity Target Input Parameter Delay Only Once
Io11.png OnCapture Math_Blue Add 1 0.00 No
Io11.png OnCapture CapZoneBlue2 Disable   0.00 No

List of Io Images

Image:Io11.png Io11.png
Image:Io12.png Io12.png
Image:Io21.png Io21.png
Image:Io22.png Io22.png