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

De Nefald Wiki
Aller à la navigation Aller à la recherche
Hiob (discussion | contributions)
Page créée avec « <!---------------------------------- Partie 1 ----------------------------------> {| class="infobox_v2" cellspacing="7" <!---------------------------------- Partie 2 -----... »
 
Hiob (discussion | contributions)
m New Bukkit's URL
 
(50 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<noinclude>{{Purger le cache}}</noinclude>
<!---------------------------------- Documentation ----------------------------->
<noinclude>{{{{FULLPAGENAME}}/Documentation}}
</noinclude>
<includeonly>
<!---------------------------------- Partie 1 ---------------------------------->
<!---------------------------------- Partie 1 ---------------------------------->
{| class="infobox_v2" cellspacing="7"
{| class="infobox_v2" cellspacing="7"
<!---------------------------------- Partie 2 ---------------------------------->
<!---------------------------------- Partie 2 ---------------------------------->
! colspan="2" class="entete defaut" style="background-color:orange" | {{{nom|{{PAGENAME}}}}}
! colspan="2" class="entete plugin" style="color:#fff; font-size:1.4em; color:#fff; text-shadow:0.1em 0.1em 0.2em #000" | {{{nom|{{PAGENAME}}}}}
|-
|-
! scope=row | Pays
{{#if: {{{image|}}} |
| {{{pays}}}
{{!}} colspan="5" style="font-size: smaller; text-align: center;" {{!}} [[Fichier:{{{image}}}|{{#if:{{{tailleimage|}}}|{{{tailleimage}}}|280x200px}}|{{{légende|{{PAGENAME}}}}}]]|
}}
|-
! colspan="2" class="infoboxcat" style="text-align=center; background-color:transparent; padding:3px; margin-top: 20px; border-bottom:1px solid #ccc; color:#099DFF;" | Plugin
|-
! scope=row | Catégorie
| [[Catégorie:{{{catégorie}}}]] [[:Catégorie:{{{catégorie}}}|{{{catégorie}}}]] <small class="plainlinks">[[{{fullurl:{{PAGENAME}}|action=edit}} edit]]</small>
|-
{{#if:{{{dev|}}} |
! scope=row {{!}} Développeur(s)
{{!}} {{{dev}}}
{{!-}}
}}
|-
{{#if:{{{bukkit|}}} |
! scope=row {{!}} Bukkit
{{!}} [https://dev.bukkit.org/projects/{{{bukkit}}}/ {{{bukkit}}}]
{{!-}}
}}
|-
|-
{{#if:{{{taille|}}} |  
{{#if:{{{spigot|}}} |  
! scope=row {{!}} Taille du jardin
! scope=row {{!}} Spigot
{{!}} {{{taille}}}
{{!}} [http://www.spigotmc.org/resources/{{{spigot}}}/ {{{spigot}}}]
{{!-}}
}}
|-
{{#if:{{{dépendance|}}} |
! scope=row {{!}} Dépendance
{{!}} {{{dépendance}}}
{{!-}}
}}
|-
{{#if:{{{compatibilité|}}} |
! scope=row {{!}} Compatibilité
{{!}} {{{compatibilité}}}
{{!-}}
}}
|-
{{#if:{{{sources|}}} |
! scope=row {{!}} Sources
{{!}} {{{sources}}}
{{!-}}
{{!-}}
}}
}}
<!---------------------------------- 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;" | Nefald
|-
! scope=row | Status
| [[Catégorie:Plugin {{{status}}}]] [[:Catégorie:Plugin {{{status}}}|{{{status}}}]] <small class="plainlinks">[[{{fullurl:{{PAGENAME}}|action=edit}} edit]]</small>
|-
! scope=row | Grade requis
| [[{{{grade}}}]]
|-
<!---------------------------------- 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;" | Article
|-
! scope=row | Dernière révision
| {{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}}
|}
|}
</includeonly>
<noinclude>[[Catégorie:Infobox]]</noinclude>

Dernière version du 5 décembre 2018 à 07:25

Purger le cache?


Utilisation


La syntaxe est de la forme suivante, selon que le plugin soit hébergé sur Bukkit ou Spigot ou les deux. Chaque champs est optionnel :

Bukkit

{{Infobox Plugin| image = | catégorie = | dev = | bukkit = | dépendance = | compatibilité = | sources = | grade = | status = |}}

Spigot

{{Infobox Plugin| image = | catégorie = | dev = | spigot = | dépendance = | compatibilité = | sources = | grade = | status = |}}

Exemple
{{Infobox Plugin
| image = ChestShop Logo.png
| catégorie = Économie 
| dev = Acrobot
| bukkit = chestshop 
| dépendance = [[Vault]]
| compatibilité = [[ChestShopLogger]], [[ChestShop Notifier]], [[LWC]], [[ WorldGuard]], [[Fé]], Lockette, Deadbolt, OddItem, Heroes, SimpleChestLock, Residence
| sources = [https://github.com/Acrobot/ChestShop-3 Github]
| grade = Pérégrin
| status = installé
|}}
  • donne :


ChestShop
Infobox Plugin
Plugin
Catégorie Économie [edit]
Développeur(s) Acrobot
Bukkit chestshop
Dépendance Vault
Compatibilité ChestShopLogger, ChestShop Notifier, LWC, WorldGuard, , Lockette, Deadbolt, OddItem, Heroes, SimpleChestLock, Residence
Sources Github
Nefald
Status installé [edit]
Grade requis Pérégrin
Article
Dernière révision 5/12/2018