elanthipedia:Manual of Style/Commands

From Elanthipedia
< elanthipedia:Manual of Style
Revision as of 20:09, 25 June 2009 by CARAAMON (talk | contribs) (Created page with '==Syntax== The following is an illustrative example taken from the Stance command page: {| border="1" |<nowiki>*</nowiki><sup><font color="ff0000">1</font></sup><nowiki> {{tt...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax

The following is an illustrative example taken from the Stance command page:

*1 {{tt|STANCE}}2

* {{tt|STANCE MANEUVER}}3
* {{tt|STANCE}} ''<{{tt|ATTACK/EVASION/PARRY/SHIELD}}>''4 ''<#>''5
* {{tt|STANCE}} ''<{{tt|ATTACK/EVASION/PARRY/SHIELD/CUSTOM}}>''4 {{tt|VIEW}}3
* {{tt|STANCE}} ''<evasion #>5 <parry #> <shield #>'' (''<attack #>'')6

  1. Each separate use of the command should have it's own line beginning with a bullet, using the *.
  2. The root command should be formatted using either Template:Com or Template:tt depending on whether or not it is the command's entry page. Template:Com should only be used for the first occurance of the command on a page that is not the command's entry page, and Template:tt should be used for all others.
  3. If a specific unchanging word is used to invoke the function, it should also be formatted using the root word's formatting.
  4. In the case of an option that has only a few specific words, those words should be formatting using Template:tt, encased in greater than and less than symbols, italicized, and each possible word sepeated by backslashes.
  5. If there is completely variable option, it should be encased in great than and less than symbols, italicised, and lower case formated.
  6. If a variable is completely optional, in addition to it's normal formatting, it should be encased in parenthesis.