Template:OutputsTable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(removed unnecessary table formatting)
Line 1: Line 1:
border=1 cellpadding="2" cellspacing="1"
<includeonly>border=1 cellpadding="2" cellspacing="1"
|- align=left style="background:#DCDCDC; color:black"
|- align=left style="background:#DCDCDC; color:black"
! &nbsp; !! My Output > !! Target Entity !! Target Input !! Parameter !! Delay !! Only Once
! &nbsp; !! My Output > !! Target Entity !! Target Input !! Parameter !! Delay !! Only Once
|- align=left<noinclude>
|- align=left</includeonly><noinclude>{{Toc-right}}
<br>
{| border=1 cellpadding="2" cellspacing="1"
|- style="background:#DFEFFD; color:black"
|


== Template documentation ==
This template is used for creating an entity output table using only basic table syntax.
This template is used for creating an entity output table using only basic table syntax.


Line 33: Line 28:
</nowiki></pre>
</nowiki></pre>


== Example ==
== Examples ==


'''Code:'''
'''Code:'''
Line 69: Line 64:
|}
|}


== List of Io Images ==
== Images used ==


{| border=1 cellpadding="2" cellspacing="1"
{| {{standard-table}}
|- align=left
|- align=left
| Image:Io11.png || [[Image:Io11.png]]
| Image:Io11.png || [[Image:Io11.png]]
Line 83: Line 78:


[[Category:Templates]]
[[Category:Templates]]
|}
</noinclude>
</noinclude>

Revision as of 15:50, 1 July 2009

This template is used for creating an entity output table using only basic table syntax.

Usage

Add {{OutputsTable}} inside the basic table tags, "{|" and "|}", along with content for the 7 columns inside a row.

eg: | cell 1 || cell 2 || cell 3 || cell 4 || cell 5 || cell 6 || cell 7

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
|}

Examples

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

Images used

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