« Utilisateur:LMischler/Admin » : différence entre les versions

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
(remove some old tests of the syntax)
Balise : Contenu remplacé
 
(17 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
{{NOINDEX}}
== my sub-pages ==
== my sub-pages ==
{{Special:PrefixIndex/User:LMischler/}}
{{Special:PrefixIndex/User:LMischler/}}


 
== useful links ==
== Gallery - test with standard wiki syntax ==
* CSS: [[mediawiki:eig.css]]
* Our version of mediawiki is a bit old and does not have latest look&feel options for galleries
* left sidebar definition: [[mediawiki:eig.js]]
* I also had to modify the CSS (using mediawiki:common.css page) to avoid grey background on images, and to adjust individual image caption text size to 12px
* useful templates list: [[:Category:Utility_templates]]
* I cannot use the standard "caption" syntax for the complete gallery, otherwise it's not possible to adjust the look&feel of this title according to EIG-wiki format
* [[Book migration follow-up]]
<gallery widths=220px heights=250px caption="'''''Fig.Exx:''''' '''This is my gallery title'''">
File:PB116705.jpg|'''[a]'''
File:PB116706.jpg|'''[b]'''
</gallery>
 
 
* so I have to add caption as text below the gallery
* '''question''':  should I add a div to group together gallery and title ???
<gallery widths=220px heights=250px>
File:PB116705.jpg|'''[a]'''
File:PB116706.jpg|'''[b]'''
</gallery>
{{FigTitle|Exx|This is my gallery title adde below}}
 
== Gallery - test using a div to show image at their uploaded size ==
it's just not looking very nice with a frame on each image ...
<div><ul>
<li style="display: inline-block;"> [[File:PB116705.jpg|frame|none|Caption 1]] </li>
<li style="display: inline-block;"> [[File:PB116706.jpg|frame|none|Caption 2]] </li>
</ul></div>
 
 
and without frame it's not possible to add a caption on each image
<div><ul>
<li style="display: inline-block;"> [[File:PB116705.jpg|none|Caption 1]] </li>
<li style="display: inline-block;"> [[File:PB116706.jpg|none|Caption 2]] </li>
</ul></div>
 
 
== Gallery - test using table ==
 
* The advantage here is that it's not needed to specify the width/height for the images
* The limitation is that we cannot add a long caption for each image (has to be limited to [a] or [b])
 
{| class="table_noCSS" style="border-spacing: 10px 0;"
|-
| style="padding: 10px; border: 1px solid #ccc; vertical-align:bottom" | [[File:PB116705.jpg]]
| style="padding: 10px; border: 1px solid #ccc; vertical-align:bottom" | [[File:PB116706.jpg]]
|-
| '''[a]'''
| '''[b]'''
|-
|}
{{FigNotes|
'''[a]''' TGBT avec une arrivée par canalisation électrique préfabriquée (Prisma P)<br>
'''[b]''' TGBT (Okken)}}
{{FigTitle|Exx|Exemples de TGBT (Tableau Général Basse Tension)}}
 
== math formula ==
<math>x^2 - y^2 +z^3 - a^{12} + \sqrt{\beta + 2.\pi.R + \delta + \phi} + V + W</math>
 
 
== external link ==
Let's add an external link: [http://www.schneider-electric.com]
 
 
== reference ==
 
Reference with standard wiki syntax<ref> This is the note text</ref>
 
Reference with DE wiki syntax<ref name="Ref1" />
 
 
== SVG image ==
[[File:Fig_A11.svg|frame|none|'''''Fig. A11''''': ''Application du facteur de simultanéité (ks) à un immeuble de 4 étages + rez-de-chaussée (correspondant à la norme NF C 14-100)]]''
 
 
== References ==
<references>
<ref name="Ref1"> Ecodial ist ein Produkt von Schneider Electric. Deutsche Version verfügbar; englische und französische Sprache
wählbar.</ref>
</ref>
</references>

Dernière version du 22 décembre 2022 à 08:06