Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:LayoutTemplateArgs/doc

Template page
Revision as of 12:53, 3 January 2010 by commons>Ilmari Karonen (basic documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

English: Helper template for passing parameters to templates using the Ajax in-line template translation feature

Usage

{{LayoutTemplateArgs |args= }}

English: The value of the "args" parameter should be a list of template parameters separated by whitespace (not by "|"), with each parameter URL-encoded.

Example:
{{LayoutTemplateArgs|args=
{{urlencode: 1={{{1|}}} }}
{{urlencode: 2={{{2|}}} }}
{{urlencode: foo={{{foo|}}} }}
{{urlencode: bar={{{bar|}}} }}
}}

Template parameters

ParameterDescriptionDefaultStatus
args
English: List of template parameters, URL-encoded and separated by whitespace (see above)
emptyrequired

Additional information

The template is intended to be used in the following namespaces: the Template namespace

The template is intended to be used by the following user groups: all users

Placement:

English: This template should be used on the "/layout" subpage of an autotranslated template, within the element with the "layouttemplate" class, preferably before any actual content.

Relies on:

See also

Localization

This template is not intended to be localized.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.