Jump to content

User:Hexmode/sandbox-demo: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Hexmode (talk | contribs)
No edit summary
Hexmode (talk | contribs)
No edit summary
Line 3: Line 3:
=== template1 no arg ===
=== template1 no arg ===
* {{User:Hexmode/sandbox-template1}}
* {{User:Hexmode/sandbox-template1}}
=== template with arg ===
=== template with arg ===
* {{User:Hexmode/sandbox-template|one}}
* {{User:Hexmode/sandbox-template|}}
=== template1 with two args ===
=== with ===
* {{User:Hexmode/sandbox-template|User:Hexmode}}
=== template1 with two mismatched args ===
* {{User:Hexmode/sandbox-template1|one|two}}
* {{User:Hexmode/sandbox-template1|one|two}}
=== template1 with two matched args ===
* {{User:Hexmode/sandbox-template1|two|two}}

Revision as of 16:59, 3 April 2022

template no arg

template1 no arg

  • 1: none ({{#if:{{{1|}}}|{{{1}}}|''none''}})
  • 2: none ({{#if:{{{2|}}}|{{{2}}}|''none''}})
  • ifeq: yes ({{#ifeq:{{{1|}}}|{{{2|}}}|yes|no}})

 ({{#ifeq:{{{1|}}}|{{{2|}}}|{{{1|}}}}})

template with Main ns page as arg

template with User ns page as arg

  • User:Hexmode

template1 with two mismatched args

  • 1: one ({{#if:{{{1|}}}|{{{1}}}|''none''}})
  • 2: two ({{#if:{{{2|}}}|{{{2}}}|''none''}})
  • ifeq: no ({{#ifeq:{{{1|}}}|{{{2|}}}|yes|no}})

 ({{#ifeq:{{{1|}}}|{{{2|}}}|{{{1|}}}}})

template1 with two matched args

  • 1: two ({{#if:{{{1|}}}|{{{1}}}|''none''}})
  • 2: two ({{#if:{{{2|}}}|{{{2}}}|''none''}})
  • ifeq: yes ({{#ifeq:{{{1|}}}|{{{2|}}}|yes|no}})

two ({{#ifeq:{{{1|}}}|{{{2|}}}|{{{1|}}}}})