الگو:Get parameter/doc

    از ویکی‌وحدت
    < الگو:Get parameter
    نسخهٔ تاریخ ‏۲۱ نوامبر ۲۰۲۲، ساعت ۰۷:۵۱ توسط Wikivahdat (بحث | مشارکت‌ها) (۱ نسخه واردشده)
    (تفاوت) → نسخهٔ قدیمی‌تر | نمایش نسخهٔ فعلی (تفاوت) | نسخهٔ جدیدتر ← (تفاوت)

    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|inventors|Infobox instrument|Template:Infobox Saxophone}} → 
    1. REDIRECT Template:Infobox saxophone