Predefinição:Example Table/Doc
Summary
This template is used to create a clean-looking table for displaying examples on pages.
Parameters
Example Table | ||
---|---|---|
Parâmetero | Escopo | Descrição |
1 or message |
required | The content of the table. If you are using a template within Example Table, you must use message= . |
width |
optional | The width of the box. Specify width in pixels (e.g., 400 ) or in percent (50% ). (Defaults to minimum width of content entered.) |
align |
optional | Alignment of the table contents. Defaults to left . |
header |
optional | The table header. No header displays by default. |
style |
optional | Any additional CSS style elements to be applied to the table. |
Examples
With Header
<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{Example Table|header=Example|Lorem ipsum dolor sit amet}}
Example |
---|
Lorem ipsum dolor sit amet |
Without Header
<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{Example Table|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |
Without Header, Centered, 50% Width
<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{Example Table|align=center|width=50%|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |