Différences entre les versions de « Modèle:Vnavigation »
De Battlestar Wiki
(Page créée avec « <center><div align="center" style="background-color:black; width: {{{width|80}}}px; border:1px gray solid;"> <div style="position: relative; height: {{#expr: {{{width|80}}... ») |
|||
Ligne 1 : | Ligne 1 : | ||
<center><div align="center" style="background-color:black; width: {{{width|80}}}px; border:1px | <center><div align="center" style="background-color:black; width: {{{width|80}}}px; border:1px grey solid;"> | ||
<div style="position: relative; height: {{#expr: {{{width|80}}} / 1.33 round 0}}px; overflow: hidden;"> | <div style="position: relative; height: {{#expr: {{{width|80}}} / 1.33 round 0}}px; overflow: hidden;"> | ||
<div style="position: absolute; top: 0px; left: 0px; font-size: {{{width|80}}}px; width: {{{width|80}}}px; overflow: hidden; line-height: {{#expr: {{{width|80}}} / 1.33 round 0}}px; z-index: 3; link-hover: none">[[{{{link}}}| ]]</div> | <div style="position: absolute; top: 0px; left: 0px; font-size: {{{width|80}}}px; width: {{{width|80}}}px; overflow: hidden; line-height: {{#expr: {{{width|80}}} / 1.33 round 0}}px; z-index: 3; link-hover: none">[[{{{link}}}| ]]</div> |
Version actuelle datée du 17 juillet 2018 à 00:49
[[{{{link}}}|{{{text}}}]]
Utilisation
Affiche une cellule dans les modèles portails généraux
{{Vnavigation |image=<!-- Filename of image --> |link=<!-- Article title of episode --> |text=<!-- Link text --> |type=<!-- Episode for episodes --> |width=<!--OPTIONAL Cell width. Default is 80--> }}
Inline (for copy and paste):
{{Vnavigation|image=|link=|text=}}