Template:LayoutTemplateArgs/doc
Template page
More actions
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
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
args | English: List of template parameters, URL-encoded and separated by whitespace (see above) | empty | required | |
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.