|
|
Line 23: |
Line 23: |
| {{#if:{{{damagetypes|}}} | {{infobox row|[[Damage Type]]|{{{damagetypes}}}}} }} | | {{#if:{{{damagetypes|}}} | {{infobox row|[[Damage Type]]|{{{damagetypes}}}}} }} |
| }} | | }} |
| {{qud look|text={{{desc|{{{2|}}}}}}|title={{{title|{{{1|}}} }}}|bottomtext=none|bordercolor=y }}</includeonly><noinclude>[[Category:Cargo Store Templates]] | | {{qud look|text={{{desc|{{{2|}}}}}}|title={{{title|{{{1|}}} }}}|bottomtext=none|bordercolor=y }}</includeonly><noinclude>{{doc}} |
| for use in a table. 1st argument is the name of the effect, and the second argument is the description. third is id. fourth is effect type in base 2.
| | |
| You can also used named parameters.
| | [[Category:Cargo Store Templates]]</noinclude> |
| {| class="wikitable"
| |
| ! Parameter name
| |
| ! Description
| |
| |-
| |
| | title
| |
| | title. unlike unnamed parameters, this is not automatically parsed and you must use qud text or qud shader.
| |
| |-
| |
| | desc
| |
| | effect description.
| |
| |-
| |
| | id
| |
| | the cs class name
| |
| |-
| |
| | idoverride
| |
| | an override ID for the wiki that is stored in cargo instead of the real ID. Should be used only rarely (example: Power Skating shares ID with Sprinting, but we want to treat them separately)
| |
| |-
| |
| | type
| |
| | a string of binary numbers that denotes the type of effect. this is from GetEffectType but converted into binary.
| |
| |-
| |
| | damagetypes
| |
| | a list (<nowiki></br></nowiki> delimited) of damage types caused by this effect, if applicable.
| |
| |-
| |
| | dontindex
| |
| | 'yes' if this effect should not be indexed (usually because it is a variant of a similar effect that shares the same effect ID). Non-indexed effects do not appear in the effects navbox.
| |
| |}
| |
| <pre>
| |
| {{Effect
| |
| | title =
| |
| | desc =
| |
| | id =
| |
| | type =
| |
| | damagetypes =
| |
| | gameversion =
| |
| }}
| |
| </pre>
| |
| </noinclude> | |