« Utilisateur:LMischler/Admin » : différence entre les versions
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: | File:PB116715.jpg|'''[a]''' | ||
File: | 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: | File:PB116715.jpg|'''[a]''' | ||
File: | 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: | <li style="display: inline-block;"> [[File:PB116715.jpg|frame|none|Caption 1]] </li> | ||
<li style="display: inline-block;"> [[File: | <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: | <li style="display: inline-block;"> [[File:PB116715.jpg|none|Caption 1]] </li> | ||
<li style="display: inline-block;"> [[File: | <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: | | style="padding: 10px; border: 1px solid #ccc; vertical-align:bottom" | [[File:PB116715.jpg]] | ||
| style="padding: 10px; border: 1px solid #ccc; vertical-align:bottom" | [[File: | | 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: | | 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: | | 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 ???
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 ...
and without frame it's not possible to add a caption on each image
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])
[a] | [b] |
[a] TGBT avec une arrivée par canalisation électrique préfabriquée (Prisma P)
- 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 !)
[a] TGBT avec une arrivée par canalisation électrique préfabriquée (Prisma P) | [b] TGBT (Okken) |
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