« Modèle:ListCat » : 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))
 
(9 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly><!--
{{#if: {{{1|}}}|'''{{{1}}}'''{{#if: {{{2|}}}| : {{{2}}}|}}<!--
-->{{#if: {{{1|}}}|''{{{1}}}''{{#if: {{{2|}}}|&nbsp;- {{{2}}}|}} |}}<!--
-->{{#if: {{{3|}}}|<br/>'''{{{3}}}'''{{#if: {{{4|}}}| : {{{4}}}|}}<!--
-->{{#if: {{{3|}}}|<br/>
---->{{#if: {{{5|}}}|<br/>'''{{{5}}}'''{{#if: {{{6|}}}| : {{{6}}}|}}<!--
''{{{3}}}''{{#if: {{{4|}}}|&nbsp;- {{{4}}}|}} |}}<!--
------>{{#if: {{{7|}}}|<br/>'''{{{7}}}'''{{#if: {{{8|}}}| : {{{8}}}|}}<!--
-->{{#if: {{{5|}}}|<br/>
-------->{{#if: {{{9|}}}|<br/>'''{{{9}}}'''{{#if: {{{10|}}}| : {{{10}}}|}}<!--
''{{{5}}}''{{#if: {{{6|}}}|&nbsp;- {{{6}}}|}} |}}<!--
---------->{{#if: {{{11|}}}|<br/>'''{{{11}}}'''{{#if: {{{12|}}}| : {{{12}}}|}}<!--
-->{{#if: {{{7|}}}|<br/>
------------>{{#if: {{{13|}}}|<br/>'''{{{13}}}'''{{#if: {{{14|}}}| : {{{14}}}|}}|}} |}} |}} |}} |}} |}} |}}<noinclude>
''{{{7}}}''{{#if: {{{8|}}}|&nbsp;- {{{8}}}|}} |}}<!--
-->{{#if: {{{9|}}}|<br/>
''{{{9}}}''{{#if: {{{10|}}}|&nbsp;- {{{10}}}|}} |}}<!--
-->{{#if: {{{11|}}}|<br/>
''{{{11}}}''{{#if: {{{12|}}}|&nbsp;- {{{12}}}|}} |}}<!--
-->{{#if: {{{13|}}}|<br/>
''{{{13}}}''{{#if: {{{14|}}}|&nbsp;- {{{14}}}|}} |}}<!--
-->{{#if: {{{15|}}}|<br/>
''{{{15}}}''{{#if: {{{16|}}}|&nbsp;- {{{16}}}|}} |}}<!--
-->{{#if: {{{17|}}}|<br/>
''{{{17}}}''{{#if: {{{18|}}}|&nbsp;- {{{18}}}|}} |}}<!--
-->{{#if: {{{19|}}}|<br/>
''{{{19}}}''{{#if: {{{20|}}}|&nbsp;- {{{20}}}|}} |}}</includeonly><noinclude>


[[Category:Utility templates|{{PAGENAME}}]]
[[Category:Legacy-eig-templates|{{PAGENAME}}]]




== Description ==
== Description ==


This template is used to add a footnote reference. The parameter is a number: 1 2 3 4 ... corresponding to the number of this note in the wiki page. <br>
This template is used to add a list of "items". Each item has 2 part, first part is the "value", second part is the "description of the value" (optional)
Don't forget that footnotes in the wiki page may have to be renumbered compared to the book
 


Syntax:
Syntax:
<nowiki>{{fn | <footnote-number> }}
<pre>
 
{{ListCat
<footnote-number>  = 1 2 3 4 ...
|value|description of value
 
|value|description of value
...
|value|description of value}}
</pre>


</noinclude>
</noinclude>

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


Description

This template is used to add a list of "items". Each item has 2 part, first part is the "value", second part is the "description of the value" (optional)


Syntax:

{{ListCat
|value|description of value
|value|description of value
...
|value|description of value}}