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

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
(added id - changed class to tab-ref - and structure of id and link (tableID-noteLetter))
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<sup class="tab-ref" id="tab-ref_{{{1}}}-{{{2}}}" style="font-weight: bold; " >[[#tab-note_{{{1}}}-{{{2}}}|[{{{2}}}]]]</sup><noinclude>
<sup class="reference tab-ref" id="tab-ref_{{{1}}}-{{{2}}}" style="font-weight: bold; " >[[#tab-note_{{{1}}}-{{{2}}}|[{{{2}}}]]]</sup><noinclude>


[[Category:Utility templates|{{PAGENAME}}]]
[[Category:Utility templates|{{PAGENAME}}]]

Version du 24 avril 2016 à 15:10

[[#tab-note_{{{1}}}-{{{2}}}|[{{{2}}}]]]


Description

This template is used to add a table note reference inside a table (like: [a]), in subscript text + bold and adds the brackets []

Test using 2 parameters:

{{{1}}} should contain the table unique ID {{{2}}} should just contain the letter for the note: a b c d ...