Template:Command: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
{{#if:{{{magic|}}}|{{#switch:{{{magic}}}|y|yes|Y|Yes|t|true|T|True=[[command type is::magic| ]]{{cat|Magic commands}}|}}}}
{{#if:{{{magic|}}}|{{#switch:{{{magic}}}|y|yes|Y|Yes|t|true|T|True=[[command type is::magic| ]]{{cat|Magic commands}}|}}}}
{{#if:{{{settings|}}}|{{#switch:{{{settings}}}|y|yes|Y|Yes|t|true|T|True=[[command type is::settings| ]]{{cat|Settings commands}}|}}}}
{{#if:{{{settings|}}}|{{#switch:{{{settings}}}|y|yes|Y|Yes|t|true|T|True=[[command type is::settings| ]]{{cat|Settings commands}}|}}}}
{{#if:{{{systems|}}}|{{#switch:{{{systems}}}|y|yes|Y|Yes|t|true|T|True=[[command type is::settings| ]]{{cat|Settings commands}}|}}}}
{{#if:{{{systems|}}}|{{#switch:{{{systems}}}|y|yes|Y|Yes|t|true|T|True=[[command type is::settings| ]]{{cat|Systems commands}}|}}}}
{{#if:{{{race|}}}|{{#arraymap:{{{race}}}|,|@@@@|[[race association is::@@@@| ]][[command type is::racial| ]]{{cat|@@@@ commands,Racial commands}}| }}}}
{{#if:{{{race|}}}|{{#arraymap:{{{race}}}|,|@@@@|[[race association is::@@@@| ]][[command type is::racial| ]]{{cat|@@@@ commands,Racial commands}}| }}}}
{{#if:{{{guild|}}}|{{#arraymap:{{{guild}}}|,|@@@@|[[guild association is::@@@@| ]][[command type is::guild| ]]{{cat|@@@@ commands,Guild commands}}| }}}}
{{#if:{{{guild|}}}|{{#arraymap:{{{guild}}}|,|@@@@|[[guild association is::@@@@| ]][[command type is::guild| ]]{{cat|@@@@ commands,Guild commands}}| }}}}

Revision as of 20:15, 2 January 2021


This template is for command and verb pages.

Usage

When making a new verb article, copy the text below into the edit window and fill in the parameter values as appropriate. Editing with form is also possible.

{{command
|rp= y/yes/n/no/t/true/f/false
|combat= y/yes/n/no/t/true/f/false
|magic= y/yes/n/no/t/true/f/false
|settings= y/yes/n/no/t/true/f/false
|systems= y/yes/n/no/t/true/f/false
|race= Human, Elf, Gnome, etc. Leave empty if no racial association.
|guild= Barbarian, Moon Mage, Necromancer, etc. Leave empty if no guild association.
|description= A brief summary of what the command is used for.
|messaging= Include messaging in the following format:
'''COMMAND SYNTAX'''<br />
''You see'': 1st person messaging. <br />
''Target sees'': 2nd person messaging. N/A if not applicable or just leave out. <br />
''Others see'': 3rd person messaging. <br />

'''COMMAND SYNTAX #2'''<br />
''You see'': etc.
}}