« Modèle:TableEnd » : différence entre les versions

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
(modified to avoid adding an empty line if no title is provided)
(test adding table notes in a paragraph with class "tablenote-details")
Ligne 1 : Ligne 1 :
<includeonly>|}</includeonly>{{TabNote|{{{1}}}|{{{4|}}}|{{{5|}}}}}{{TabNote|{{{1}}}|{{{6|}}}|{{{7|}}}}}{{TabNote|{{{1}}}|{{{8|}}}|{{{9|}}}}}{{TabNote|{{{1}}}|{{{10|}}}|{{{11|}}}}}{{TabNote|{{{1}}}|{{{12|}}}|{{{13|}}}}}{{TabNote|{{{1}}}|{{{14|}}}|{{{15|}}}}}{{TabNote|{{{1}}}|{{{16|}}}|{{{17|}}}}}{{TabNote|{{{1}}}|{{{18|}}}|{{{19|}}}}}{{TabNote|{{{1}}}|{{{20|}}}|{{{21|}}}}}{{TabNote|{{{1}}}|{{{22|}}}|{{{23|}}}}}{{#if: {{{3|}}}|
<includeonly>|}</includeonly>{{#if: {{{5|}}} |<p class="tablenote-details" style="font-size:12px">{{TabNote|{{{1}}}|{{{4|}}}|{{{5|}}}}}{{TabNote|{{{1}}}|{{{6|}}}|{{{7|}}}}}{{TabNote|{{{1}}}|{{{8|}}}|{{{9|}}}}}{{TabNote|{{{1}}}|{{{10|}}}|{{{11|}}}}}{{TabNote|{{{1}}}|{{{12|}}}|{{{13|}}}}}{{TabNote|{{{1}}}|{{{14|}}}|{{{15|}}}}}{{TabNote|{{{1}}}|{{{16|}}}|{{{17|}}}}}{{TabNote|{{{1}}}|{{{18|}}}|{{{19|}}}}}{{TabNote|{{{1}}}|{{{20|}}}|{{{21|}}}}}{{TabNote|{{{1}}}|{{{22|}}}|{{{23|}}}}}</p>|}}{{#if: {{{3|}}}|
{{FigTitle|{{{2|}}}|{{{3|}}}}}|}}<noinclude>
{{FigTitle|{{{2|}}}|{{{3|}}}}}|}}<noinclude>


Ligne 11 : Ligne 11 :
Syntax:
Syntax:


  <nowiki>{{ TableStart | <1=table-ID> | <2-fignum> | <3=table-title></nowiki>
  <nowiki>{{ TableEnd | <1=table-ID> | <2-fignum> | <3=table-title></nowiki>
  <nowiki><note-letter>|<note-text></nowiki>
  <nowiki><note-letter>|<note-text></nowiki>
  <nowiki><note-letter>|<note-text></nowiki>
  <nowiki><note-letter>|<note-text></nowiki>

Version du 15 mai 2016 à 16:28


Description

This template has to be added just AT THE END of a wiki EIG table (it "replaces" the usual syntax for end of teble: |}

Syntax:

{{ TableEnd | <1=table-ID> | <2-fignum> | <3=table-title>
<note-letter>|<note-text>
<note-letter>|<note-text>
....
}}

Where:

<1=table-ID>       is like:   Tab1001   (= cf refence file for table IDs)
<2=fig-num>        is like:   A7
<3=table-title>    is like:   Application of the diversity factor (ks)
<note-letter>      is the note marker letter like a b c d ...
<note-text>        is the text of that note


Example:

{{ TableStart|Tab1001|A5|This is the table title
||this is a note without a reference, just text
|a|This is note [a]
....
}}