Template:Xpdt1/doc
Appearance
This is a documentation subpage for Template:Xpdt1. It contains usage information, categories, and other content that is not part of the original template page. |
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 |
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 |