Template:Term/ListingNameTemplate
From Maths
Changelog
- First version Alec (talk) 12:26, 3 February 2018 (UTC)
- Using the new Template:~targ we replace the {{{a|f({{{b|}}})}}}-type logic, as if we have |a=|b=...| in the caller a, although empty, is still defined, thus {{{a|...}}} will always become the empty string in this case. Alec (talk) 17:38, 3 February 2018 (UTC)
- use of the "nowiki" tags messes up the space I need to be shown, so I need to find another way to do it. Alec (talk) 18:32, 3 February 2018 (UTC)
Final initial version
The version after what follows was a complete re-write:
- {{{1|}}}{{#if:{{~targ|1={{{s|}}}<!--DEFAULT-->|2={{#if:{{{t|}}}|{{ucfirst:{{{t|}}}}} Theory|}}<!--END DEFAULT-->}}<!--first if term end-->|{{space}}({{~targ|1={{{s|}}}<!--start-->|2={{#if:{{{t|}}}|{{ucfirst:{{{t|}}}}} Theory|}}<!--end-->}})|}}