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

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
Aucun résumé des modifications
m (1 révision importée : importer pages, templates etc de PPR-FR (X1))
 
(3 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<sup class="reference 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:Legacy-eig-templates|{{PAGENAME}}]]




Ligne 8 : Ligne 9 :
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> }}</nowiki>


{{{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>

Dernière version du 20 mai 2020 à 12:53

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

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