Jump to content

Template:Asbox: Difference between revisions

edit placement of {{{doc}}}
(add {{{doc}}} parameter, so that it can be changed if needed)
(edit placement of {{{doc}}})
Line 25: Line 25:
   |<!--Demonstration version-->
   |<!--Demonstration version-->
   |{{#switch:{{FULLPAGENAME:{{{name|}}}}}
   |{{#switch:{{FULLPAGENAME:{{{name|}}}}}
     |{{FULLPAGENAME}}=<!--Template page-->{{{doc|{{Asbox/templatepage
     |{{FULLPAGENAME}}=<!--Template page-->{{Asbox/templatepage
       |image    = {{{image|}}}
       |image    = {{{image|}}}
       |pix      = {{{pix|}}}
       |pix      = {{{pix|}}}
Line 41: Line 41:
       |note      = {{{note|}}}
       |note      = {{{note|}}}
       |name      = {{{name|}}}
       |name      = {{{name|}}}
    }} }}}
      |doc      = {{{doc|}}}
    }}  
     |{{#titleparts:{{FULLPAGENAME}}|1}}=<!--Is a subtemplate, e.g. a sandbox version. Don't display documentation.-->
     |{{#titleparts:{{FULLPAGENAME}}|1}}=<!--Is a subtemplate, e.g. a sandbox version. Don't display documentation.-->
     |#default={{#ifeq:{{NAMESPACE}}|Template
     |#default={{#ifeq:{{NAMESPACE}}|Template
90,866

edits