« Modèle:Infobox Grade » : différence entre les versions

De Nefald Wiki
Aller à la navigation Aller à la recherche
Hiob (discussion | contributions)
Aucun résumé des modifications
Eretheon (discussion | contributions)
Aucun résumé des modifications
 
(39 versions intermédiaires par un autre utilisateur non affichées)
Ligne 4 : Ligne 4 :
<includeonly>
<includeonly>
<!---------------------------------- Partie 1 ---------------------------------->
<!---------------------------------- Partie 1 ---------------------------------->
{| class="infobox_v2" cellspacing="7"
{| class="infobox_v2" cellspacing="7" align="right" float="right" clear="right"
<!---------------------------------- Partie 2 ---------------------------------->
<!---------------------------------- Partie 2 ---------------------------------->
! colspan="2" class="entete defaut" style="background-color:#4E8DAF" | {{{nom|{{PAGENAME}}}}}
! colspan="2" class="entete grade" style="background-color:transparent; color:#fff; font-size:1.4em; color:#fff; text-shadow:0.1em 0.1em 0.2em #000"| {{{nom|{{PAGENAME}}}}}
|-
|-
{{#if: {{{image|}}} |
{{#if: {{{image|}}} |
Ligne 12 : Ligne 12 :
}}
}}
|-
|-
! colspan="2" class="infoboxcat" style="text-align=center; background-color:transparent; padding:3px; margin-top: 20px; border-bottom:1px solid #ccc; color:#099DFF;" | Définition
! colspan="2" class="infoboxcat" style="text-align=center; background-color:transparent; padding:3px; margin-top: 20px; border-bottom:1px solid #ccc; color:#099DFF;" | Grade
|-
|-
! scope=row | Status
! scope=row | Statut
| {{{status}}}
| {{{status}}}
|-
|-
Ligne 23 : Ligne 23 :
| {{{recrutement}}}  
| {{{recrutement}}}  
|-
|-
}}
<!---------------------------------- Partie 3 ---------------------------------->
<!---------------------------------- Partie 3 ---------------------------------->
! colspan="2" class="infoboxcat" style="text-align=center; background-color:transparent; padding:3px; margin-top: 20px; border-bottom:1px solid #ccc; color:#099DFF;" | Accès
! colspan="2" class="infoboxcat" style="text-align=center; background-color:transparent; padding:3px; margin-top: 20px; border-bottom:1px solid #ccc; color:#099DFF;" | Article
|-
{{#if:{{{plugins|}}} |
! scope=row {{!}} Plugins accessibles
{{!}} {{{plugins}}}
{{!-}}
}}
|-
|-
{{#if:{{{acces|}}} |
! scope=row | Dernière révision
! scope=row {{!}} Accessibilité
| {{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}}
{{!}} {{{acces}}}
{{!-}}
}}
|}
|}
</includeonly>
</includeonly>
<noinclude>[[Catégorie:infobox]]</noinclude>
<noinclude>[[Catégorie:Infobox]]</noinclude>

Dernière version du 24 juin 2016 à 11:00


Utilisation


La syntaxe est de la forme :

{{Infobox Grade| image = | status =| type = | recrutement= | plugins = | acces = |}}


Exemple
{{Infobox Grade
| image = architecte_grade.png
| status = staff
| type = Protection
| recrutement = candidature
| plugins = worldedit, essentials,...
| acces = Citoyen
}}
  • donne :


Architecte
Infobox Grade
Grade
Statut staff
Type constructeur
Recrutement candidature
Article
Dernière révision 24/06/2016