Template:LayoutTemplateArgs/doc: Difference between revisions
Template page
More actions
Fix Linter obsolete tag errors. |
<var> tags *are* needed, because there is no replacement (SyntaxHighlight has no way to guess that I don’t mean that piece of text literally); there are no faux headers, they’re simply not headers, neither syntactically nor semantically |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 22: | Line 22: | ||
|usage-notes={{en|The value of the "args" parameter should be a list of template parameters separated by whitespace (''not'' by "|"), with each parameter URL-encoded.}} | |usage-notes={{en|The value of the "args" parameter should be a list of template parameters separated by whitespace (''not'' by "|"), with each parameter URL-encoded.}} | ||
'''Example:''' | '''Example:''' | ||
{{LayoutTemplateArgs|template=<var><Template name></var>|args= | {{LayoutTemplateArgs|template=<var><Template name></var>|args= | ||
{{urlencode: 1={{{1|}}} }} | {{urlencode: 1={{{1|}}} }} | ||
{{urlencode: 2={{{2|}}} }} | {{urlencode: 2={{{2|}}} }} | ||
{{urlencode: foo={{{foo|}}} }} | {{urlencode: foo={{{foo|}}} }} | ||
{{urlencode: bar={{{bar|}}} }} | {{urlencode: bar={{{bar|}}} }} | ||
}} | }} | ||
|type= | |type= | ||