User:Brandished/Tables: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (hmm)
Line 24: Line 24:
=== Sample Class Info Table 1 ===
=== Sample Class Info Table 1 ===
{| border=1 cellpadding="2" cellspacing="1"
{| border=1 cellpadding="2" cellspacing="1"
|- align=left
|- align=left style="background:#DCDCDC; color:black"
! Property Name || Value
! Property Name || Value
|-  
|- style="background:#C7C9FB; color:black"
|style="background:#C7C9FB; color:black" | Name
| Name
|style="background:#C7C9FB; color:black" | math_kaboom
| math_kaboom
|-  
|-  
| Start Disabled || No
| Start Disabled || No
Line 35: Line 35:
|-  
|-  
| Minimum Legal Value || 0
| Minimum Legal Value || 0
|- <!--doesn't work in this version of mediawiki:style="background:#C7C9FB"-->
|- style="background:#C7C9FB; color:black"<!--doesn't work in this version of mediawiki:style="background:#C7C9FB"-->
| Maximum Legal Value || 2
| Maximum Legal Value || 2
|}
|}
Line 41: Line 41:
<pre><nowiki>
<pre><nowiki>
{| border=1 cellpadding="2" cellspacing="1"
{| border=1 cellpadding="2" cellspacing="1"
|- align=left
|- align=left style="background:#DCDCDC; color:black"
! Property Name || Value
! Property Name || Value
|-
|- style="background:#C7C9FB; color:black"
|style="background:#C7C9FB; color:black" | Name
| Name
|style="background:#C7C9FB; color:black" | math_kaboom
| math_kaboom
|-
|-
| Start Disabled || No
| Start Disabled || No
Line 52: Line 52:
|-
|-
| Minimum Legal Value || 0
| Minimum Legal Value || 0
|-
|- style="background:#C7C9FB; color:black"
| Maximum Legal Value || 2
| Maximum Legal Value || 2
|}
|}
Line 73: Line 73:


{| border=1 cellpadding="2" cellspacing="1"
{| border=1 cellpadding="2" cellspacing="1"
|- align=left
|- align=left style="background:#DCDCDC; color:black"
! &nbsp;
! &nbsp;
! My Output >
! My Output >
Line 101: Line 101:
<pre><nowiki>
<pre><nowiki>
{| border=1 cellpadding="2" cellspacing="1"
{| border=1 cellpadding="2" cellspacing="1"
|- align=left
|- align=left style="background:#DCDCDC; color:black"
! &amp;nbsp;
! &amp;nbsp;
! My Output >
! My Output >
Line 132: Line 132:
<pre><nowiki>
<pre><nowiki>
{| border=1 cellpadding="2" cellspacing="1"
{| border=1 cellpadding="2" cellspacing="1"
|- align=left
|- align=left style="background:#DCDCDC; color:black"
! &amp;nbsp;
! &amp;nbsp;
! My Output > !! Target Entity !! Target Input !! Parameter !! Delay !! Only Once
! My Output > !! Target Entity !! Target Input !! Parameter !! Delay !! Only Once
Line 259: Line 259:
|}
|}
</nowiki></pre>
</nowiki></pre>
== Standard-table test ==
{| {{standard-table}}
|-
! <!--horizontal alignment doesn't seem to be changeable: align=left |--> Property Name || Value
|-
| Name || right side table
|-
| Start Disabled || Maybe
|-
| Initial Value || 0
|-
| Minimum Legal Value || 1
|-
| Maximum Legal Value || -1
|}


== See Also ==
== See Also ==
* http://meta.wikimedia.org/wiki/Help:Table
* http://meta.wikimedia.org/wiki/Help:Table

Revision as of 21:58, 16 January 2009

Icon image list

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


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 style="background:#DCDCDC; color:black"
! Property Name || Value
|- style="background:#C7C9FB; color:black"
| Name
| math_kaboom
|-
| Start Disabled || No
|-
| Initial Value || 0
|-
| Minimum Legal Value || 0
|- style="background:#C7C9FB; color:black"
| Maximum Legal Value || 2
|}


Output Tab Table Layout Test

Reference Image

Ref output pic.gif


Sample Outputs Table 1

  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 style="background:#DCDCDC; color:black"
! &nbsp;
! 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
| &nbsp;
| 0.00
| No
|}

OR

{| border=1 cellpadding="2" cellspacing="1"
|- align=left style="background:#DCDCDC; color:black"
! &nbsp;
! 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 || &nbsp; || 0.00 || No
|}


Sample Outputs Table 2

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

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) &nbsp;
|}

Right align table test

Property Name Value
Name right side table
Start Disabled Maybe
Initial Value 0
Minimum Legal Value 1
Maximum Legal Value -1

This table would usually be located above the text, but will be located on the right side of the page through the use of the style="float:right" attribute.

{| border=1 cellpadding="2" cellspacing="1" style="float:right"
|- align=left
! Property Name || Value
|-
| Name || right side table
|-
| Start Disabled || Maybe
|-
| Initial Value || 0
|-
| Minimum Legal Value || 1
|-
| Maximum Legal Value || -1
|}


Standard-table test

Property Name Value
Name right side table
Start Disabled Maybe
Initial Value 0
Minimum Legal Value 1
Maximum Legal Value -1

See Also