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

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
(creation)
 
(added id - changed class to tab-ref - and structure of id and link (tableID-noteLetter))
Ligne 1 : Ligne 1 :
<sup class="tablenote-marker" style="font-weight: bold; " >[[#tab-note_{{{1}}}{{{2}}}|[{{{2}}}]]]</sup><noinclude>
<sup class="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 à 13:47

[[#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 ...