Template:Definition table: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly>{| |
||
{{#if:{{{1|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{1}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{2}}} |
|||
{| |
|||
{{#if:{{{1|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{1}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{2}}} |
|||
{{!}}-}} |
{{!}}-}} |
||
{{#if:{{{3|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{3}}} {{!}}{{!}} |
{{#if:{{{3|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{3}}} {{!}}{{!}} |
||
{{!}} style="vertical-align:top;" {{!}} {{{4}}} |
{{!}} style="vertical-align:top;" {{!}} {{{4}}} |
||
{{!}}-}} |
{{!}}-}} |
||
{{#if:{{{5|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{5}}} {{!}}{{!}} |
{{#if:{{{5|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{5}}} {{!}}{{!}} |
||
{{!}} style="vertical-align:top;" {{!}} {{{6}}} |
{{!}} style="vertical-align:top;" {{!}} {{{6}}} |
||
{{!}}-}} |
{{!}}-}} |
||
{{#if:{{{7|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{7}}} {{!}}{{!}} |
{{#if:{{{7|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{7}}} {{!}}{{!}} |
||
Line 18: | Line 15: | ||
{{!}} style="vertical-align:top;" {{!}} {{{10}}} |
{{!}} style="vertical-align:top;" {{!}} {{{10}}} |
||
{{!}}-}} |
{{!}}-}} |
||
{{#if:{{{11|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{11}}} {{!}}{{!}} |
|||
|}</includeonly> |
|||
{{!}} style="vertical-align:top;" {{!}} {{{12}}} |
|||
{{!}}-}} |
|||
{{#if:{{{13|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{13}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{14}}} |
|||
{{!}}-}} |
|||
{{#if:{{{15|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{15}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{16}}} |
|||
{{!}}-}} |
|||
{{#if:{{{17|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{17}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{18}}} |
|||
{{!}}-}} |
|||
{{#if:{{{19|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{19}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{20}}} |
|||
{{!}}-}} |
|||
{{#if:{{{21|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{21}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{22}}} |
|||
{{!}}-}} |
|||
{{#if:{{{23|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{23}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{24}}} |
|||
{{!}}-}} |
|||
{{#if:{{{25|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{25}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{26}}} |
|||
{{!}}-}} |
|||
{{#if:{{{27|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{27}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{28}}} |
|||
{{!}}-}} |
|||
{{#if:{{{29|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{29}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{30}}} |
|||
{{!}}-}} |
|||
{{#if:{{{31|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{31}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{32}}} |
|||
{{!}}-}} |
|||
{{#if:{{{33|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{33}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{34}}} |
|||
{{!}}-}} |
|||
{{#if:{{{35|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{35}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{36}}} |
|||
{{!}}-}} |
|||
{{#if:{{{37|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{37}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{38}}} |
|||
{{!}}-}} |
|||
{{#if:{{{39|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{39}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{40}}} |
|||
{{!}}-}} |
|||
{{#if:{{{41|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{41}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{42}}} |
|||
{{!}}-}} |
|||
{{#if:{{{43|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{43}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{44}}} |
|||
{{!}}-}} |
|||
{{#if:{{{45|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{45}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{46}}} |
|||
{{!}}-}} |
|||
{{#if:{{{47|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{47}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{48}}} |
|||
{{!}}-}} |
|||
{{#if:{{{49|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{49}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{50}}} |
|||
{{!}}-}} |
|||
{{#if:{{{51|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{51}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{52}}} |
|||
{{!}}-}} |
|||
{{#if:{{{53|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{53}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{54}}} |
|||
{{!}}-}} |
|||
{{#if:{{{55|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{55}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{56}}} |
|||
{{!}}-}} |
|||
{{#if:{{{57|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{57}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{58}}} |
|||
{{!}}-}} |
|||
{{#if:{{{59|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{59}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{60}}} |
|||
{{!}}-}} |
|||
{{#if:{{{61|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{61}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{62}}} |
|||
{{!}}-}} |
|||
{{#if:{{{63|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{63}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{64}}} |
|||
{{!}}-}} |
|||
{{#if:{{{65|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{65}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{66}}} |
|||
{{!}}-}} |
|||
{{#if:{{{67|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{67}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{68}}} |
|||
{{!}}-}} |
|||
{{#if:{{{69|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{69}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{70}}} |
|||
{{!}}-}} |
|||
{{#if:{{{71|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{71}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{72}}} |
|||
{{!}}-}} |
|||
{{#if:{{{73|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{73}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{74}}} |
|||
{{!}}-}} |
|||
{{#if:{{{75|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{75}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{76}}} |
|||
{{!}}-}} |
|||
{{#if:{{{77|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{77}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{78}}} |
|||
{{!}}-}} |
|||
{{#if:{{{79|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{79}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{80}}} |
|||
{{!}}-}} |
|||
{{#if:{{{81|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{81}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{82}}} |
|||
{{!}}-}} |
|||
{{#if:{{{83|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{83}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{84}}} |
|||
{{!}}-}} |
|||
{{#if:{{{85|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{85}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{86}}} |
|||
{{!}}-}} |
|||
{{#if:{{{87|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{87}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{88}}} |
|||
{{!}}-}} |
|||
{{#if:{{{89|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{89}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{90}}} |
|||
{{!}}-}} |
|||
{{#if:{{{91|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{91}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{92}}} |
|||
{{!}}-}} |
|||
{{#if:{{{93|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{93}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{94}}} |
|||
{{!}}-}} |
|||
{{#if:{{{95|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{95}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{96}}} |
|||
{{!}}-}} |
|||
{{#if:{{{97|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{97}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{98}}} |
|||
{{!}}-}} |
|||
{{#if:{{{99|}}}| {{!}} style="font-weight:bold; text-align:right; vertical-align:top;" {{!}} {{{99}}} {{!}}{{!}} |
|||
{{!}} style="vertical-align:top;" {{!}} {{{100}}} |
|||
{{!}}-}} |
|||
|}{{#if:{{{101|}}}|''Definition tables only support 50 rows; additional definitions have been omitted''}}</includeonly><noinclude> |
|||
==Usage== |
|||
<pre> |
|||
{{Definition_table |
|||
|Word_1 | Definition one |
|||
|Word_2 | Definition two |
|||
... |
|||
|Word_n | Definition n |
|||
}} |
|||
</pre> |
|||
==Sample== |
|||
{{Definition_table |
|||
|Definition list | A [[Help:Editing#Sections.2C_paragraphs.2C_lists_and_lines| definition list]] is used for creating lists of definitions. The term is rendered in bold, left-aligned, on its own line, and the definition appears, indented, on the following line(s). Definitions in definition lists are limited to single line formatting, though newlines can be inserted with <nowiki><br></nowiki> tags. |
|||
|Definition table | A definition table is used anywhere one wishes to organize blocks of content according to specific key terms, without creating separate section headers for each. The term is rendered in bold, right-aligned, in the first column of the table, and the second column contains the definition or other content. The content may contain any wiki formatting desired, excluding tables, and may contain multi-line formatting such as lists. |
|||
}} |
|||
==Limitations== |
|||
* Definition tables support a maximum of 50 rows. If more rows are supplied, a warning will appear on the page, indicating that additional rows have been omitted. |
|||
* Since definition tables use wiki table formatting, tables in the content blocks must begin on a new line. |
|||
* When using a list (beginning with * or #) on the first line of a content block, one must insert a newline between the pipe (|) following the term and the list character, or the first list item won't be properly formatted. |
|||
* Content blocks within a definition table cannot be individually edited (though this is by design). |
|||
</noinclude> |
Latest revision as of 18:07, 24 October 2008
Usage
{{Definition_table |Word_1 | Definition one |Word_2 | Definition two ... |Word_n | Definition n }}
Sample
Definition list | A definition list is used for creating lists of definitions. The term is rendered in bold, left-aligned, on its own line, and the definition appears, indented, on the following line(s). Definitions in definition lists are limited to single line formatting, though newlines can be inserted with <br> tags. | |
Definition table | A definition table is used anywhere one wishes to organize blocks of content according to specific key terms, without creating separate section headers for each. The term is rendered in bold, right-aligned, in the first column of the table, and the second column contains the definition or other content. The content may contain any wiki formatting desired, excluding tables, and may contain multi-line formatting such as lists. |
Limitations
- Definition tables support a maximum of 50 rows. If more rows are supplied, a warning will appear on the page, indicating that additional rows have been omitted.
- Since definition tables use wiki table formatting, tables in the content blocks must begin on a new line.
- When using a list (beginning with * or #) on the first line of a content block, one must insert a newline between the pipe (|) following the term and the list character, or the first list item won't be properly formatted.
- Content blocks within a definition table cannot be individually edited (though this is by design).