Gswiki talk:Style guide: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(Category/section style?)
(Proposal for math formatting style.)
Line 4: Line 4:


It would be good to have a guideline for whether category and article section headings should use the same style as article titles. Personally I feel it would be more consistent that way going forward as it matches native wiki style better (though it's not necessary to retroactively change existing categories, which are split half and half at the moment). [[User:ZHOUY1|ZHOUY1]] ([[User talk:ZHOUY1|talk]]) 16:14, 19 August 2015 (CDT)
It would be good to have a guideline for whether category and article section headings should use the same style as article titles. Personally I feel it would be more consistent that way going forward as it matches native wiki style better (though it's not necessary to retroactively change existing categories, which are split half and half at the moment). [[User:ZHOUY1|ZHOUY1]] ([[User talk:ZHOUY1|talk]]) 16:14, 19 August 2015 (CDT)

== Math section ==

Proposed text for a section on math formatting before we introduce too many different styles— [[User:ZHOUY1|ZHOUY1]] ([[User talk:ZHOUY1|talk]]) 14:36, 19 September 2016 (CDT)

Non-inline formulas should be indented or wrapped in a box:

<code><nowiki>:<math> ... </math></nowiki></code> or <code><nowiki>{{Equation box|<math> ... </math>}}</nowiki></code>

Multi-letter variables should be wrapped in a <code>mathrm</code> or <code>mathit</code> tag:

*<code>\mathrm{SkillRanks}</code> — <math>\mathrm{SkillRanks}</math>
*<code>\mathit{SkillRanks}</code> — <math>\mathit{SkillRanks}</math>

For truncation/ceiling operators, use <code>\lfloor ... \rfloor</code> and <code>\lceil ... \rceil</code>. To wrap a multi-line expression (such as a fraction), use <code><nowiki>\left \lfloor{...} \right \rfloor</nowiki></code>.

For multiplication, use a dot <code>\cdot</code> (<math>a \cdot b</math>) where necessary to avoid ambiguity. For purely arithmetic expressions, <code>\times</code> is also acceptable (<math>2 \times 3</math>), but prefer using a dot in algebraic expressions to avoid confusion with the letter x.

For division, use a slash <code>/</code> or fraction notation: <code>\frac{...}{...}</code>

Revision as of 14:36, 19 September 2016

Has anything been decided on this? I think most current editors prefer writing things that are current in current tense. VANKRASN39 (talk) 11:26, 8 January 2015 (CST)

I have removed the H from IUHPOV so that articles are officially acceptable in present tense if something still exists, like Wehnimer's Landing. Thanks to Scribes for his input. VANKRASN39 (talk) 13:45, 15 June 2015 (CDT)

It would be good to have a guideline for whether category and article section headings should use the same style as article titles. Personally I feel it would be more consistent that way going forward as it matches native wiki style better (though it's not necessary to retroactively change existing categories, which are split half and half at the moment). ZHOUY1 (talk) 16:14, 19 August 2015 (CDT)

Math section

Proposed text for a section on math formatting before we introduce too many different styles— ZHOUY1 (talk) 14:36, 19 September 2016 (CDT)

Non-inline formulas should be indented or wrapped in a box:

:<math> ... </math> or {{Equation box|<math> ... </math>}}

Multi-letter variables should be wrapped in a mathrm or mathit tag:

  • \mathrm{SkillRanks}
  • \mathit{SkillRanks}

For truncation/ceiling operators, use \lfloor ... \rfloor and \lceil ... \rceil. To wrap a multi-line expression (such as a fraction), use \left \lfloor{...} \right \rfloor.

For multiplication, use a dot \cdot () where necessary to avoid ambiguity. For purely arithmetic expressions, \times is also acceptable (), but prefer using a dot in algebraic expressions to avoid confusion with the letter x.

For division, use a slash / or fraction notation: \frac{...}{...}