Template:Xpdt1

From Meta, a Wikimedia project coordination wiki
Template documentation

Version of Template:Xpd1 for demonstrating a table row template.

This template supports one unnamed and up to five named parameters for the table row template.

{{xpdt1|Table row Dutch municipality|Goes}} gives:


{| class="wikitable"
{{Table row Dutch municipality|Goes}}}}
|}

gives

Goes 36,763

[1]


Pipes in parameters[edit]

If a parameter value contains "|" it should be written {{!}}. In this case the template works only partly:

  • The quoted wikitext produced by this template shows "|", but can be distinguished from what is typed as "|" because it is not bolded.
  • The link to ExpandTemplates does not work properly.

Example:

{| class="wikitable"
{{1x||- |a||b }}}}
|}

gives

a b

[2]