Template:OutputsTable/doc

From Valve Developer Community
Jump to navigation Jump to search
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Edit-copy.png
This is a documentation subpage for Template:OutputsTable.
Don't forget to purge the contents of the base page upon creating or editing this subpage.  

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

Usage

Parameters

{{{sortable}}} - Set this to 0 or 1 to get a (non-)sortable table. Default is 1.

Syntax

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

PlacementTip.pngExample:| cell 1 || cell 2 || cell 3 || cell 4 || cell 5 || cell 6 || cell 7

For a single output:

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

For a multiple outputs:

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

You can use one of the following IO-images:

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

Examples

Wikitext Result
{| {{OutputsTable|sortable=0}}
| [[File:Io11.png]] || OnCapture || Math_Blue || Add || 1 || 0.00 || No
|}
  My Output Target Entity Target Input Parameter Delay Only Once
Io11.png OnCapture Math_Blue Add 1 0.00 No
{| {{OutputsTable}}
| [[File:Io11.png]] || OnCapture || Math_Blue || Add || 1 || 0.00 || No
|-
| [[File:Io11.png]] || OnCapture || CapZoneBlue2 || Disable ||   || 0.00 || No
|}
  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