Difference between revisions of "Template:Term/ListingNameTemplate"

From Maths
Jump to: navigation, search
(Replacing space)
m
Line 1: Line 1:
{{{1|}}}{{#if:{{~targ|1={{{s|}}}<!--DEFAULT-->|2={{#if:{{{t|}}}|{{ucfirst:{{{t|}}}}} Theory|}}<!--END DEFAULT-->}}<!--first if term end-->|{{{fuck| }}}({{~targ|1={{{s|}}}<!--start-->|2={{#if:{{{t|}}}|{{ucfirst:{{{t|}}}}} Theory|}}<!--end-->}})|}}<noinclude>
+
{{{1|}}}{{#if:{{~targ|1={{{s|}}}<!--DEFAULT-->|2={{#if:{{{t|}}}|{{ucfirst:{{{t|}}}}} Theory|}}<!--END DEFAULT-->}}<!--first if term end-->|<nowiki/> ({{~targ|1={{{s|}}}<!--start-->|2={{#if:{{{t|}}}|{{ucfirst:{{{t|}}}}} Theory|}}<!--end-->}})|}}<noinclude>
 
==Changelog==
 
==Changelog==
 
* First version [[User:Alec|Alec]] ([[User talk:Alec|talk]]) 12:26, 3 February 2018 (UTC)
 
* First version [[User:Alec|Alec]] ([[User talk:Alec|talk]]) 12:26, 3 February 2018 (UTC)

Revision as of 17:55, 3 February 2018

Changelog

  • First version Alec (talk) 12:26, 3 February 2018 (UTC)
    • Forgot brackets around subject Alec (talk) 12:29, 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)