Modèle:Cadre Mechanicus

De Omnis Bibliotheca
Aller à :navigation, rechercher



Aquila.png
+++ Travaux en cours... +++
{{{taille_image}}}
Tout est sous contrôle, nos équipes de Technoprêtres se chargent de la mise en place de cet article.
- Technoprêtre Moulinex.


Fonctionnalité[modifier]

Permet d'afficher une image dans un cadre stylisé Mechanicus.

Paramètres[modifier]

  • image=fichier image
  • link_image=lien lors du clic que l'image
  • taille=taille de l'image (optionnel)
  • titre=titre de l'image (optionnel)
  • sous_titre=sous-titre de l'image (optionnel)
  • deco=décoration particulière; valeurs possibles :
    • angles : décoration aux quatres coins du cadre
    • bas : décoration aux deux coins en bas du cadre
    • haut : décoration aux deux coins en haut du cadre
  • position = permet de gérer le positionnement en fonction de la valeur :
    • left ou gauche : positionnement flottant à gauche
    • right ou droite: positionnement flottant à droite
    • center ou centre: positionnement aligné au centre (il faut que taille soit défini pour cela)
  • style=customisation CSS (optionnel)

Exemples[modifier]

Exemple simple[modifier]

Code :

{{Cadre Mechanicus
|image=AdeptusMechanicus.jpg
}}

Rendu :

AdeptusMechanicus.jpg
Deco mechanicus 3.png
Deco mechanicus 3.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 1.png
Deco mechanicus 1.png
{{{titre}}}
{{{sous_titre}}}



Exemple : Mode[modifier]

Code :

{{Cadre Mechanicus
|image=AdeptusMechanicus.jpg
|mode=heavy
}}

Rendu :

AdeptusMechanicus.jpg
Deco mechanicus 3.png
Deco mechanicus 3.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 1.png
Deco mechanicus 1.png
{{{titre}}}
{{{sous_titre}}}



Exemple : titre et taille[modifier]

Code :

{{Cadre Mechanicus
|image=AdeptusMechanicus.jpg
|taille=300px
|titre=Deus
|sous_titre=''Ex Machimna''
}}

Rendu :

AdeptusMechanicus.jpg
Deco mechanicus 3.png
Deco mechanicus 3.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 1.png
Deco mechanicus 1.png
Deus
Ex Machimna



Exemple avec deco[modifier]

Code :

{{Cadre Mechanicus
|image=AdeptusMechanicus.jpg
|taille=300px
|deco=angle
|sous_titre=''Hello World''
}}

Rendu :

AdeptusMechanicus.jpg
Deco mechanicus 3.png
Deco mechanicus 3.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 1.png
Deco mechanicus 1.png
{{{titre}}}
Hello World



Exemple avec deco[modifier]

Code :

{{Cadre Mechanicus
|image=AdeptusMechanicus.jpg
|taille=300px
|deco=angle
|sous_titre=''Hello World''
|mode=heavy
}}

Rendu :

AdeptusMechanicus.jpg
Deco mechanicus 3.png
Deco mechanicus 3.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 1.png
Deco mechanicus 1.png
{{{titre}}}
Hello World



Exemple alignement à droite avec deco en bas[modifier]

Code :

{{Cadre Mechanicus
|deco=bas
|image=AdeptusMechanicus.jpg
|taille=200px
|position=right
|titre=Hello
|taille_titre=50%
}}

Rendu :

AdeptusMechanicus.jpg
Deco mechanicus 3.png
Deco mechanicus 3.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Deco mechanicus 4.png
Hello
{{{sous_titre}}}