Difference between revisions of "Template data:Term"

From Maths
Jump to: navigation, search
(Saving work)
 
m (Adding capital letter note)
 
Line 18: Line 18:
  
 
==Parameters==
 
==Parameters==
 +
If the ''first'' parameter (the term itself) starts with a capital letter, so shall the first of the substitution - allowing the term to be used at the start of sentences
 +
 +
 
The second parameter ''may'' be used for plural indication
 
The second parameter ''may'' be used for plural indication
  

Latest revision as of 12:21, 3 February 2018

Concept

At the time of writing I am deciding on terminology regarding zero-divisors, one school uses "non-zero divisors of zero" - so that "divisors of zero" may include zero, another school uses "zero-divisors" to be by definition non-zero.

I do not have enough information to choose, this is where the term template comes in to play.

By writing:

  • "Let [ilmath]u\in R[/ilmath] be a {{term|nzdoz|t=number}}"

We will allow "nzdoz" (non-zero divisors of zero) in the theory=number space to be replaced with whatever term we actually end up using.

  • Thus the above sample could render as:
    1. "Let [ilmath]u\in R[/ilmath] be a non-zero divisor of zero" or
    2. "Let [ilmath]u\in R[/ilmath] be a zero-divisor"


Work will be done to make this work similarly to Template:Link, eg:

  • {{term|nzdoz|s|t=number}} will substitute the plural


Parameters

If the first parameter (the term itself) starts with a capital letter, so shall the first of the substitution - allowing the term to be used at the start of sentences


The second parameter may be used for plural indication

  • s=Number Theory - the subject
  • t=number - short for s={{{t}}} Theory - NOTE: make use of {{ucfirst:string}}

Listing format

Suppose we have a term X belonging to A Theory and B Theory, then two pages exist in the list:

  1. /List/X (A Theory) and
  2. /List/X (B Theory)

List

See: