Difference between revisions of "Template:Term"

From Maths
Jump to: navigation, search
(Saving work)
 
m
Line 20: Line 20:
 
Handle flags, as the 2nd argument, eg {{C|ls}} or {{M|sl}}, possibly with ''some'' letters capitalised, represents  
 
Handle flags, as the 2nd argument, eg {{C|ls}} or {{M|sl}}, possibly with ''some'' letters capitalised, represents  
 
==Test==
 
==Test==
 +
* {{/TestPage}}
 +
==Tests==
 
* [[/ListingNameTemplate]]
 
* [[/ListingNameTemplate]]
 
** {{C|<nowiki>{{/ListingNameTemplate|nzdoz|t=number}}</nowiki>}} -> {{/ListingNameTemplate|nzdoz|t=number}}
 
** {{C|<nowiki>{{/ListingNameTemplate|nzdoz|t=number}}</nowiki>}} -> {{/ListingNameTemplate|nzdoz|t=number}}

Revision as of 13:52, 3 February 2018

non-zero divisor of zero

Purpose

see: Template data:Term

To do

Handle flags, as the 2nd argument, eg ls or [ilmath]sl[/ilmath], possibly with some letters capitalised, represents

Test

  • {{term|nzdoz|t=number}} -> non-zero divisor of zero
  • {{term|nzdoz|s=Number Theory}} -> non-zero divisor of zero
  • {{term|nzdoz|s|t=number}} -> non-zero divisors of zero
  • {{term|nzdoz|sl|t=number}} -> non-zero divisors of zero
  • {{term|Nzdoz|sl|t=number}} -> Non-zero divisors of zero

Tests

  • /ListingNameTemplate
    • {{/ListingNameTemplate|nzdoz|t=number}} -> nzdoz (Number Theory)
    • {{/ListingNameTemplate|nzdoz|s=Number Theory}} -> nzdoz (Number Theory)
  • Flag stuff
    1. Link flag
      • {{/DoLinkFormTemplate|sl|a|b|c}} -> a
      • {{/DoLinkFormTemplate|LS|a|b|c}} -> a
      • {{/DoLinkFormTemplate|l|a|b|c}} -> a
      • {{/DoLinkFormTemplate||a|b|c}} -> c
      • {{/DoLinkFormTemplate|s|a|b|c}} -> b