Template:Verb: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Created page with "<includeonly> |-{{com|{{{1|}}}}}|{{{2|}}}|{{{3|}}}|{{{4|}}} </includeonly> <noinclude> ==Usage Documentation:== <pre> coming soon </pre> </noinclude> {{cat|Templates}}")
 
No edit summary
 
(36 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>}}}}
|-{{com|{{{1|}}}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}
|-
</includeonly>
|{{#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>}}}}}}
<noinclude>
|-
|{{#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>
==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).