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

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
Aucun résumé des modifications
Ligne 8 : Ligne 8 :
* 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
* 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
<gallery widths=220px heights=250px caption="'''''Fig.Exx:''''' '''This is my gallery title'''">
<gallery widths=220px heights=250px caption="'''''Fig.Exx:''''' '''This is my gallery title'''">
File:PB116705.jpg|'''[a]'''
File:PB116715.jpg|'''[a]'''
File:PB116706.jpg|'''[b]'''
File:PB116716.jpg|'''[b]'''
</gallery>
</gallery>


Ligne 16 : Ligne 16 :
* '''question''':  should I add a div to group together gallery and title ???
* '''question''':  should I add a div to group together gallery and title ???
<gallery widths=220px heights=250px>
<gallery widths=220px heights=250px>
File:PB116705.jpg|'''[a]'''
File:PB116715.jpg|'''[a]'''
File:PB116706.jpg|'''[b]'''
File:PB116716.jpg|'''[b]'''
</gallery>
</gallery>
{{FigTitle|Exx|This is my gallery title adde below}}
{{FigTitle|Exx|This is my gallery title adde below}}
Ligne 24 : Ligne 24 :
it's just not looking very nice with a frame on each image ...
it's just not looking very nice with a frame on each image ...
<div><ul>  
<div><ul>  
<li style="display: inline-block;"> [[File:PB116705.jpg|frame|none|Caption 1]] </li>
<li style="display: inline-block;"> [[File:PB116715.jpg|frame|none|Caption 1]] </li>
<li style="display: inline-block;"> [[File:PB116706.jpg|frame|none|Caption 2]] </li>
<li style="display: inline-block;"> [[File:PB116716.jpg|frame|none|Caption 2]] </li>
</ul></div>
</ul></div>


Ligne 31 : Ligne 31 :
and without frame it's not possible to add a caption on each image
and without frame it's not possible to add a caption on each image
<div><ul>  
<div><ul>  
<li style="display: inline-block;"> [[File:PB116705.jpg|none|Caption 1]] </li>
<li style="display: inline-block;"> [[File:PB116715.jpg|none|Caption 1]] </li>
<li style="display: inline-block;"> [[File:PB116706.jpg|none|Caption 2]] </li>
<li style="display: inline-block;"> [[File:PB116716.jpg|none|Caption 2]] </li>
</ul></div>
</ul></div>


Ligne 43 : Ligne 43 :
{| class="table_noCSS" style="border-spacing: 10px 0;"
{| 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:PB116715.jpg]]
| style="padding: 10px; border: 1px solid #ccc; vertical-align:bottom" | [[File:PB116706.jpg]]
| style="padding: 10px; border: 1px solid #ccc; vertical-align:bottom" | [[File:PB116716.jpg]]
|-
|-
| '''[a]'''
| '''[a]'''
Ligne 60 : Ligne 60 :
{| class="table_noCSS" style="border-spacing: 10px 0;"
{| class="table_noCSS" style="border-spacing: 10px 0;"
|-  
|-  
| style="padding: 10px; border: 1px solid #ccc; vertical-align:bottom; text-align:center; width:230px;" | [[File:PB116705.jpg]]
| style="padding: 10px; border: 1px solid #ccc; vertical-align:bottom; text-align:center; width:230px;" | [[File:PB116715.jpg]]
| style="padding: 10px; border: 1px solid #ccc; vertical-align:bottom; text-align:center; width:230px;" | [[File:PB116706.jpg]]
| style="padding: 10px; border: 1px solid #ccc; vertical-align:bottom; text-align:center; width:230px;" | [[File:PB116716.jpg]]
|-
|-
| style="width:230px;" | '''[a]''' TGBT avec une arrivée par canalisation électrique préfabriquée (Prisma P)
| style="width:230px;" | '''[a]''' TGBT avec une arrivée par canalisation électrique préfabriquée (Prisma P)

Version du 14 mai 2016 à 14:47

my sub-pages


Gallery - test with standard wiki syntax

  • Our version of mediawiki is a bit old and does not have latest look&feel options for galleries
  • 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
  • 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


  • so I have to add caption as text below the gallery
  • question: should I add a div to group together gallery and title ???
Fig. 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 ...

  • Caption 1
  • Caption 2


and without frame it's not possible to add a caption on each image

  • Caption 1
  • Caption 2


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])
PB116715.jpg PB116716.jpg
[a] [b]

[a] TGBT avec une arrivée par canalisation électrique préfabriquée (Prisma P)

[b] TGBT (Okken)
Fig. Exx – Exemples de TGBT (Tableau Général Basse Tension)


  • OR we can add a long caption for each image (has to be limited to [a] or [b]) if we fix the width of each column (and if this width is large enough !)
PB116715.jpg PB116716.jpg
[a] TGBT avec une arrivée par canalisation électrique préfabriquée (Prisma P) [b] TGBT (Okken)
Fig. Exx – Exemples de TGBT (Tableau Général Basse Tension)

math formula

[math]\displaystyle{ 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: [1]


reference

Reference with standard wiki syntax[1]

Reference with DE wiki syntax[2]


SVG image

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

  1. ^ This is the note text
  2. ^ Ecodial ist ein Produkt von Schneider Electric. Deutsche Version verfügbar; englische und französische Sprache wählbar.