• Home
  • Random
  • Log in
  • Settings
  • About English Wikipedia @ Freddythechick
English Wikipedia @ Freddythechick

Template:Get parameter/sandbox

  • Language
  • Watch
  • View source
< Template:Get parameter
__EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Get parameter (diff).
Template documentation[view] [edit] [history] [purge]

This template fetches a parameter value from a template call on a specified page: {{Get parameter | x | y | z}} gets parameter x from the call of template y on page z. It's an alternate implementation of {{Template parameter value}}, which while it doesn't work (and will likely produce garbage) if the page the parameter value is being fetched from contains more than a call to the template specified and some <noinclude>d values, it can, on the other hand, handle piped links and other more complicated wikitext that {{template parameter value}} can't handle.

E.g.: {{get parameter/sandbox|inventors|'Infobox Instrument'|Template:Infobox Saxophone}} →

The above documentation is transcluded from Template:Get parameter/sandbox/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Subpages of this template.
Retrieved from "https://enwiki.freddythechick.net/index.php?title=Template:Get_parameter/sandbox&oldid=11327042"
Last edited on 22 May 2021, at 12:46

Languages

      This page is not available in other languages.

      English Wikipedia @ Freddythechick
      • This page was last edited on 22 May 2021, at 12:46.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 unless otherwise noted.
      • About English Wikipedia @ Freddythechick
      • Desktop