Template:Verb: Difference between revisions
Jump to navigation
Jump to search
TEVESHSZAT (talk | contribs) No edit summary |
TEVESHSZAT (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>|- |
<includeonly>|- |
||
| rowspan=3" |{{com|{{{1|}}}}} {{#switch:{{{3}}}|-|n=''at target''}} {{#ifeq:{{{5}}}|-||{{#if:{{{5|}}}|''({{{5|}}})''}}}}||{{#ifeq:{{{2}}}|-|<tt>''No messaging for first person.''</tt>|{{#if:{{{2|}}}|<tt>'''First Person:'''</tt> {{{2}}}|<tt>'''First person messaging needed.'''</tt>}}}} |
| rowspan=3" |{{com|{{{1|}}}}} {{#switch:{{{3}}}|-|n=''at target''|{{#if:{{{3|}}}|''at target''}}}} {{#ifeq:{{{5}}}|-||{{#if:{{{5|}}}|''({{{5|}}})''}}}}||{{#ifeq:{{{2}}}|-|<tt>''No messaging for first person.''</tt>|{{#if:{{{2|}}}|<tt>'''First Person:'''</tt> {{{2}}}|<tt>'''First person messaging needed.'''</tt>}}}} |
||
|- |
|- |
||
|{{#switch:{{{3}}}|-|n=<tt>''No messaging for second person.''</tt>|{{#ifeq:{{{3}}}|?|<tt>'''Second person messaging needed.'''</tt>|{{#if:{{{3|}}}|<tt>'''Second Person:'''</tt> {{{3}}}|<tt>'''Second person messaging needed.'''</tt>}}}}}} |
|{{#switch:{{{3}}}|-|n=<tt>''No messaging for second person.''</tt>|{{#ifeq:{{{3}}}|?|<tt>'''Second person messaging needed.'''</tt>|{{#if:{{{3|}}}|<tt>'''Second Person:'''</tt> {{{3}}}|<tt>'''Second person messaging needed.'''</tt>}}}}}} |
Revision as of 11:54, 11 April 2021
Usage Documentation:
Don't forget to start your verb table with {{verbs}} and end with |}. {{verb|<base command>|<first person message>|<second person message>|<third person message>|<modifier>}} Special options for second person message: - = no second person message. This way the template knows information isn't missing. ? = lets template know there is second person messaging, but isn't available yet (template still knows you can do the action AT something this way). n = lets template know you can do something at a target, but this is a non-player target (ie: critter, object, etc), so there is no messaging to add. You do not need to include the final "|<modifier>" if there isn't one. Intent of the modifier is to specify certain item states (open/closed), if the action works different depending on target (player vs critter vs item), if the verb has any adjectives itself (ie: dance fiend).