User:Brandished/Tables: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(added wiki formatting)
Line 5: Line 5:


=== Sample Class Info Table 1 ===
=== Sample Class Info Table 1 ===
{| border=1 cellpadding="2" cellspacing="1"
|- align=left
! Property Name || Value
|-
|style="background:#C7C9FB; color:black" | Name
|style="background:#C7C9FB; color:black" | math_kaboom
|-
| Start Disabled || No
|-
| Initial Value || 0
|-
| Minimum Legal Value || 0
|- <!--doesn't work in this version of mediawiki:style="background:#C7C9FB"-->
| Maximum Legal Value || 2
|}


<pre><nowiki>
{| border=1 cellpadding="2" cellspacing="1"
{| border=1 cellpadding="2" cellspacing="1"
|- align="left"
|- align=left
! Property Name || Value
! Property Name || Value
|-  
|-
| style="background:#C7C9FB; color:black" | Name || style="background:#C7C9FB; color:black" |math_kaboom
|style="background:#C7C9FB; color:black" | Name
|style="background:#C7C9FB; color:black" | math_kaboom
|-
|-
| Start Disabled || No
| Start Disabled || No
Line 18: Line 35:
| Minimum Legal Value || 0
| Minimum Legal Value || 0
|-
|-
| style="background:#C7C9FB; color:black" | Maximum Legal Value || style="background:#C7C9FB; color:black" | 2
| Maximum Legal Value || 2
|}
|}
</nowiki></pre>


<!--
<!--
Cannot seem to get the row color override working, but align works, hmm...
row color override doesn't work, but align does
http://meta.wikimedia.org/wiki/Table#Color.3B_scope_of_parameters
this has been corrected in the latest version of mediawiki
-->
-->


Line 50: Line 68:


{| cellpadding="2" cellspacing="1"
{| cellpadding="2" cellspacing="1"
|-
|- align=left
!
!
! My Output >
! My Output >
Line 80: Line 98:


{| border=1 cellpadding="2" cellspacing="1"
{| border=1 cellpadding="2" cellspacing="1"
|- align=left
!
! My Output >
! Target Entity
! Target Input
! Parameter
! Delay
! Only Once
|- align=left
| [[Image:Io11.png]]
| OnCapture
| Math_Blue
| Add
| 1
| 0.00
| No
|-
|-
| [[Image:Io11.png]]
| OnCapture
| CapZoneBlue2
| Disable
|  -
| 0.00
| No
|}
<pre><nowiki>
{| border=1 cellpadding="2" cellspacing="1"
|- align=left
!
!
! My Output >
! My Output >
Line 105: Line 151:
| No
| No
|}
|}
</nowiki></pre>
OR
<pre><nowiki>
{| border=1 cellpadding="2" cellspacing="1"
|- align=left
!
! My Output > !! Target Entity !! Target Input !! Parameter !! Delay !! Only Once
|- align=left
| [[Image:Io11.png]] || OnCapture || Math_Blue || Add || 1 || 0.00 || No
|-
| [[Image:Io11.png]] || OnCapture || CapZoneBlue2 || Disable || - || 0.00 || No
|}
</nowiki></pre>




Line 112: Line 173:


{| cellpadding="2" cellspacing="1"
{| cellpadding="2" cellspacing="1"
|- align="left"
|- align=left
! My output named
! My output named
| OnCapture || OnCapture
| OnCapture
|- align="left"
|- align=left
! Target entities named
! Target entities named
| Math_Blue || CapZoneBlue2
| Math_Blue
|- align="left"
|- align=left
! Via this input
! Via this input
| Add || Disable
| Add
|- align="left"
|- align=left
! With a parameter override of
! With a parameter override of
| 1 ||  -
| 1
|- align="left"
|- align=left
! After a delay in seconds of
! After a delay in seconds of
| 0.00 || 0.00
| 0.00
|- align="left"
|- align=left
! Fire once only
! Fire once only
| No || No
| [[Image:Boxunchk.png]]
|}
|}


Line 136: Line 197:


{| border=1 cellpadding="2" cellspacing="1"
{| border=1 cellpadding="2" cellspacing="1"
|- align="left"
|- align=left
! My output named
! My output named
| OnCapture || OnCapture
| OnCapture
|- align="left"
|- align=left
! Target entities named
! Target entities named
| Math_Blue || CapZoneBlue2
| Math_Blue
|- align="left"
|- align=left
! Via this input
! Via this input
| Add || Disable
| Add
|- align="left"
|- align=left
! With a parameter override of
! With a parameter override of
| 1 ||  -
| 1
|- align="left"
|- align=left
! After a delay in seconds of
! After a delay in seconds of
| 0.00 || 0.00
| 0.00
|- align="left"
|- align=left
! Fire once only
! Fire once only
| No || No
| [[Image:Boxunchk.png]]
|}
|}
<pre><nowiki>
{| border=1 cellpadding="2" cellspacing="1"
|- align=left
! My output named
| OnCapture
|- align=left
! Target entities named
| Math_Blue
|- align=left
! Via this input
| Add
|- align=left
! With a parameter override of
| 1
|- align=left
! After a delay in seconds of
| 0.00
|- align=left
! Fire once only
| [[Image:Boxunchk.png]]
|}
</nowiki></pre>




Line 164: Line 248:


{| border=1 cellpadding="2" cellspacing="1"
{| border=1 cellpadding="2" cellspacing="1"
|-
|- align=left
| Boxchk.png || [[Image:Boxchk.png]]  
| Boxchk.png || [[Image:Boxchk.png]]  
|-
|-
Line 171: Line 255:




=== Sample Flags Table 1 ===
=== Sample Flags Table (List Format) ===
{| <!-- border=0 cellpadding="2" cellspacing="1" -->
 
|-
{| border ="1" cellpadding="2"
| [[Image:Boxchk.png]]   || Clients
|
|-
:[[Image:Boxchk.png]] Clients
| [[Image:Boxunchk.png]] || NPCs
:[[Image:Boxunchk.png]] NPCs
|-
:[[Image:Boxunchk.png]] Pushables
| [[Image:Boxunchk.png]] || Pushables
:[[Image:Boxunchk.png]] Physics Objects
|-
:[[Image:Boxunchk.png]] Only player ally NPCs
| [[Image:Boxunchk.png]] || Physics Objects
:[[Image:Boxunchk.png]] Only clients in vehicles
|-
:[[Image:Boxunchk.png]] Everything (not including physics debris)
| [[Image:Boxunchk.png]] || Only player ally NPCs
:[[Image:Boxunchk.png]] Only clients *not* in vehicles
|-
:[[Image:Boxunchk.png]] Physics debris
| [[Image:Boxunchk.png]] || Only clients in vehicles
:[[Image:Boxunchk.png]] Only NPCs in vehicles (respects player ally flag) &nbsp;
|-
| [[Image:Boxunchk.png]] || Everything (not including physics debris)
|-
| [[Image:Boxunchk.png]] || Only clients *not* in vehicles
|-
| [[Image:Boxunchk.png]] || Physics debris
|-
| [[Image:Boxunchk.png]] || Only NPCs in vehicles (respects player ally flag)
|}
|}


 
<pre><nowiki>
=== Sample Flags Table 2 (List Format) ===
 
{| border ="1" cellpadding="2"
{| border ="1" cellpadding="2"
|
|
Line 211: Line 285:
:[[Image:Boxunchk.png]] Only NPCs in vehicles (respects player ally flag) &nbsp;
:[[Image:Boxunchk.png]] Only NPCs in vehicles (respects player ally flag) &nbsp;
|}
|}
</nowiki></pre>

Revision as of 10:55, 30 October 2008

Class Info Tab Table Layout Test

Reference Image

Ref classinfo pic.gif

Sample Class Info Table 1

Property Name Value
Name math_kaboom
Start Disabled No
Initial Value 0
Minimum Legal Value 0
Maximum Legal Value 2
{| border=1 cellpadding="2" cellspacing="1"
|- align=left
! Property Name || Value
|-
|style="background:#C7C9FB; color:black" | Name
|style="background:#C7C9FB; color:black" | math_kaboom
|-
| Start Disabled || No
|-
| Initial Value || 0
|-
| Minimum Legal Value || 0
|-
| Maximum Legal Value || 2
|}


Output Tab Table Layout Test

Reference Image

Ref output pic.gif


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


Sample Outputs Table 1

Without border:

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


With border:

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
{| border=1 cellpadding="2" cellspacing="1"
|- align=left
!
! My Output >
! Target Entity
! Target Input
! Parameter
! Delay
! Only Once
|-
| [[Image:Io11.png]] 
| OnCapture
| Math_Blue
| Add
| 1
| 0.00
| No
|-
| [[Image:Io11.png]] 
| OnCapture
| CapZoneBlue2
| Disable
|  - 
| 0.00
| No
|}

OR

{| border=1 cellpadding="2" cellspacing="1"
|- align=left
!
! My Output > !! Target Entity !! Target Input !! Parameter !! Delay !! Only Once
|- align=left
| [[Image:Io11.png]] || OnCapture || Math_Blue || Add || 1 || 0.00 || No
|-
| [[Image:Io11.png]] || OnCapture || CapZoneBlue2 || Disable || - || 0.00 || No
|}


Sample Outputs Table 2

Without border:

My output named OnCapture
Target entities named Math_Blue
Via this input Add
With a parameter override of 1
After a delay in seconds of 0.00
Fire once only Boxunchk.png


With border:

My output named OnCapture
Target entities named Math_Blue
Via this input Add
With a parameter override of 1
After a delay in seconds of 0.00
Fire once only Boxunchk.png
{| border=1 cellpadding="2" cellspacing="1"
|- align=left
! My output named
| OnCapture
|- align=left
! Target entities named
| Math_Blue
|- align=left
! Via this input
| Add
|- align=left
! With a parameter override of
| 1
|- align=left
! After a delay in seconds of
| 0.00
|- align=left
! Fire once only
| [[Image:Boxunchk.png]]
|}


Flags Tab Table Layout Test

Reference Image

Ref flags pic.gif


Boxchk.png Boxchk.png
Boxunchk.png Boxunchk.png


Sample Flags Table (List Format)

Boxchk.png Clients
Boxunchk.png NPCs
Boxunchk.png Pushables
Boxunchk.png Physics Objects
Boxunchk.png Only player ally NPCs
Boxunchk.png Only clients in vehicles
Boxunchk.png Everything (not including physics debris)
Boxunchk.png Only clients *not* in vehicles
Boxunchk.png Physics debris
Boxunchk.png Only NPCs in vehicles (respects player ally flag)  
{| border ="1" cellpadding="2"
|
:[[Image:Boxchk.png]] Clients
:[[Image:Boxunchk.png]] NPCs
:[[Image:Boxunchk.png]] Pushables
:[[Image:Boxunchk.png]] Physics Objects
:[[Image:Boxunchk.png]] Only player ally NPCs
:[[Image:Boxunchk.png]] Only clients in vehicles
:[[Image:Boxunchk.png]] Everything (not including physics debris)
:[[Image:Boxunchk.png]] Only clients *not* in vehicles
:[[Image:Boxunchk.png]] Physics debris
:[[Image:Boxunchk.png]] Only NPCs in vehicles (respects player ally flag)  
|}