Template:Otheruses: Difference between revisions

Apply changes to def=no case also
(Extend to accept optional second link)
(Apply changes to def=no case also)
 
Line 1: Line 1:
{{#invoke:Hatnote|hatnote|{{#ifeq:{{{def}}}|no|{{#if:{{{1|}}}|For {{{1}}}, see [[{{{2}}}]].|For other uses, see [[{{NAMESPACE}}:{{PAGENAME}} (disambiguation)]].}}|This article is about {{{1|{{PAGENAME}}}}}. {{#if:{{{2|}}}|For {{{2}}}, see {{#if:{{{4|}}}|[[{{{3}}}]] or [[{{{4}}}]]|[[{{{3}}}]]}}.|For other uses, see [[{{NAMESPACE}}:{{PAGENAME}} (disambiguation)]].}}}}}}<noinclude>
{{#invoke:Hatnote|hatnote|{{#ifeq:{{{def}}}|no|{{#if:{{{1|}}}|For {{{1}}}, see {{#if:{{{3|}}}|[[{{{2}}}]] or [[{{{3}}}]]|[[{{{2}}}]]}}.|For other uses, see [[{{NAMESPACE}}:{{PAGENAME}} (disambiguation)]].}}|This article is about {{{1|{{PAGENAME}}}}}. {{#if:{{{2|}}}|For {{{2}}}, see {{#if:{{{4|}}}|[[{{{3}}}]] or [[{{{4}}}]]|[[{{{3}}}]]}}.|For other uses, see [[{{NAMESPACE}}:{{PAGENAME}} (disambiguation)]].}}}}}}<noinclude>
{{/doc}}</noinclude>
{{/doc}}</noinclude>