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

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 8 : Ligne 8 :
This template is used to add a table note reference inside a table (like: [a]), in subscript text + bold and adds the brackets []
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:
Syntax:
<nowiki>{{TabRef | <table-id> | <ref-letter> }}


{{{1}}} should contain the table unique ID
<table-id> =  the table unique ID   (Tab1001)
{{{2}}} should just contain the letter for the note: a b c d ...
<ref-letter> = just the letter for the note: a b c d ...






</noinclude>
</noinclude>

Version du 24 avril 2016 à 16:11

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

Syntax:

<nowiki><sup class="reference tab-ref" id="tab-ref_ <table-id> - <ref-letter> " style="font-weight: bold; " >[ <ref-letter> ]
<table-id> =  the table unique ID   (Tab1001)
<ref-letter> = just the letter for the note: a b c d ...