Template:Verb: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>|-
| 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>}}}}
|-
|-
| rowspan=3" |{{com|{{{1|}}}}} {{#ifeq:{{{3}}}|-||{{#if:{{{3|}}}|''at target''}}}}||{{#ifeq:{{{2}}}|-|''No messaging for first person.''|{{#if:{{{2|}}}|''First Person:'' {{{2}}}|''First Person Messaging Needed''}}}}
|{{#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>}}}}}}
|-
|-
||{{#ifeq:{{{3}}}|-|''No messaging for second person.''|{{#if:{{{3|}}}|''Second Person:'' {{{3}}}|''Second Person Messaging Needed''}}}}
|{{#ifeq:{{{4}}}|-|<tt>''No messaging for third person.''</tt>|{{#ifeq:{{{4}}}|?|<tt>'''Third person messaging needed.'''</tt>|{{#if:{{{4|}}}|<tt>'''Third Person:'''</tt> {{{4}}}|<tt>'''Third person messaging needed.'''</tt>}}}}}}</includeonly><noinclude>
|-
|{{#ifeq:{{{4}}}|-|''No messaging for third person.''|{{#if:{{{4|}}}|''Third Person:'' {{{4}}}|''Third Person Messaging Needed''}}}}
</includeonly>
<noinclude>
==Usage Documentation:==
==Usage Documentation:==
<pre>
<pre>
Don't forget to start your verb table with {{verbs}} and end with |}.
coming soon

{{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).
</pre>
</pre>
</noinclude>
{{cat|Templates}}</noinclude>
{{cat|Templates}}

Latest revision as of 11:55, 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).