« Modèle:ButtonLink/doc » : différence entre les versions
De Nefald
Autres actions
Creation Balises : Modification par mobile Modification par le web mobile |
mAucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
== Utilisation == | == Utilisation == | ||
| Ligne 5 : | Ligne 6 : | ||
=== Syntaxe === | === Syntaxe === | ||
< | <syntaxhighlight lang="mediawiki"> | ||
{{ButtonLink | {{ButtonLink | ||
|link = URL du lien | |link = URL du lien | ||
| Ligne 16 : | Ligne 17 : | ||
|alt = Texte alternatif (défaut : valeur de text) | |alt = Texte alternatif (défaut : valeur de text) | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
=== Paramètres === | === Paramètres === | ||
| Ligne 23 : | Ligne 24 : | ||
! Paramètre !! Description !! Requis !! Défaut | ! Paramètre !! Description !! Requis !! Défaut | ||
|- | |- | ||
| '''link''' || URL complète ou relative || | | '''link''' || URL complète ou relative || Oui || - | ||
|- | |- | ||
| '''image''' || Nom du fichier image (ex : "Discord-Logo-White.svg") || | | '''image''' || Nom du fichier image (ex : "Discord-Logo-White.svg") || Oui || - | ||
|- | |- | ||
| '''text''' || Texte affiché sous le logo || | | '''text''' || Texte affiché sous le logo || Non || (vide) | ||
|- | |- | ||
| '''color''' || Nom de couleur prédéfinie (voir liste ci-dessous) || | | '''color''' || Nom de couleur prédéfinie (voir liste ci-dessous) || Non || gray | ||
|- | |- | ||
| '''bg''' || Couleur d'arrière-plan personnalisée (hex, rgb, nom) || | | '''bg''' || Couleur d'arrière-plan personnalisée (hex, rgb, nom) || Non || (utilise color ou défaut) | ||
|- | |- | ||
| '''size''' || Taille de l'image (format MediaWiki) || | | '''size''' || Taille de l'image (format MediaWiki) || Non || x40px | ||
|- | |- | ||
| '''title''' || Texte du titre HTML (infobulle au survol) || | | '''title''' || Texte du titre HTML (infobulle au survol) || Non || valeur de '''text''' | ||
|- | |- | ||
| '''alt''' || Texte alternatif pour l'accessibilité || | | '''alt''' || Texte alternatif pour l'accessibilité || Non || valeur de '''text''' | ||
|} | |} | ||
| Ligne 49 : | Ligne 50 : | ||
! Code !! Plateforme !! Couleur !! Exemple | ! Code !! Plateforme !! Couleur !! Exemple | ||
|- | |- | ||
| <code>discord</code> || Discord || Blurple (#5865f2) || <code>{{ | | <code>discord</code> || Discord || Blurple (#5865f2) || <code>{{ButtonLink|link=https://wiki.nefald.fr/|color=discord}} | ||
|- | |- | ||
| <code>patreon</code> || Patreon || Rouge (#ff424d) || | | <code>patreon</code> || Patreon || Rouge (#ff424d) || {{ButtonLink|link=https://wiki.nefald.fr/|color=patreon}} | ||
|- | |- | ||
| <code>gitlab</code> || GitLab || Orange (#fc6f23) || | | <code>gitlab</code> || GitLab || Orange (#fc6f23) || {{ButtonLink|link=https://wiki.nefald.fr/|color=gitlab}} | ||
|- | |- | ||
| <code>github</code> || GitHub || Sombre (#24292e) || | | <code>github</code> || GitHub || Sombre (#24292e) || {{ButtonLink|link=https://wiki.nefald.fr/|color=github}} | ||
|- | |- | ||
| <code>twitter</code> || Twitter/X || Bleu (#1da1f2) || | | <code>twitter</code> || Twitter/X || Bleu (#1da1f2) || {{ButtonLink|link=https://wiki.nefald.fr/|color=twitter}} | ||
|- | |- | ||
| <code>youtube</code> || YouTube || Rouge (#ff0000) || | | <code>youtube</code> || YouTube || Rouge (#ff0000) || {{ButtonLink|link=https://wiki.nefald.fr/|color=youtube}} | ||
|- | |- | ||
| <code>twitch</code> || Twitch || Violet (#9146ff) || | | <code>twitch</code> || Twitch || Violet (#9146ff) || {{ButtonLink|link=https://wiki.nefald.fr/|color=twitch}} | ||
|- | |- | ||
| <code>reddit</code> || Reddit || Orange (#ff4500) || | | <code>reddit</code> || Reddit || Orange (#ff4500) || {{ButtonLink|link=https://wiki.nefald.fr/|color=reddit}} | ||
|- | |- | ||
| <code>mastodon</code> || Mastodon || Violet (#6364ff) || | | <code>mastodon</code> || Mastodon || Violet (#6364ff) || {{ButtonLink|link=https://wiki.nefald.fr/|color=mastodon}} | ||
|- | |- | ||
| <code>bluesky</code> || Bluesky || Bleu (#0085ff) || | | <code>bluesky</code> || Bluesky || Bleu (#0085ff) || {{ButtonLink|link=https://wiki.nefald.fr/|color=bluesky}} | ||
|- | |- | ||
| <code>linkedin</code> || LinkedIn || Bleu (#0077b5) || | | <code>linkedin</code> || LinkedIn || Bleu (#0077b5) || {{ButtonLink|link=https://wiki.nefald.fr/|color=linkedin}} | ||
|- | |- | ||
| <code>facebook</code> || Facebook || Bleu (#1877f2) || | | <code>facebook</code> || Facebook || Bleu (#1877f2) || {{ButtonLink|link=https://wiki.nefald.fr/|color=facebook}} | ||
|- | |- | ||
| <code>instagram</code> || Instagram || Dégradé || | | <code>instagram</code> || Instagram || Dégradé || {{ButtonLink|link=https://wiki.nefald.fr/|color=instagram}} | ||
|- | |- | ||
| <code>tiktok</code> || TikTok || Noir (#000000) || | | <code>tiktok</code> || TikTok || Noir (#000000) || {{ButtonLink|link=https://wiki.nefald.fr/|color=tiktok}} | ||
|- | |- | ||
| <code>snapchat</code> || Snapchat || Jaune (#fffc00) || | | <code>snapchat</code> || Snapchat || Jaune (#fffc00) || {{ButtonLink|link=https://wiki.nefald.fr/|color=snapchat}} | ||
|- | |- | ||
| <code>threads</code> || Threads || Noir (#000000) || | | <code>threads</code> || Threads || Noir (#000000) || {{ButtonLink|link=https://wiki.nefald.fr/|color=threads}} | ||
|} | |} | ||
| Ligne 87 : | Ligne 88 : | ||
! Code !! Plateforme !! Couleur !! Exemple | ! Code !! Plateforme !! Couleur !! Exemple | ||
|- | |- | ||
| <code>stackoverflow</code> || Stack Overflow || Orange (#f48024) || | | <code>stackoverflow</code> || Stack Overflow || Orange (#f48024) || {{ButtonLink|link=https://wiki.nefald.fr/|color=stackoverflow}} | ||
|- | |- | ||
| <code>npm</code> || npm || Rouge (#cb3837) || | | <code>npm</code> || npm || Rouge (#cb3837) || {{ButtonLink|link=https://wiki.nefald.fr/|color=npm}} | ||
|- | |- | ||
| <code>pypi</code> || PyPI || Bleu (#3775a9) || | | <code>pypi</code> || PyPI || Bleu (#3775a9) || {{ButtonLink|link=https://wiki.nefald.fr/|color=pypi}} | ||
|- | |- | ||
| <code>docker</code> || Docker || Bleu (#2496ed) || | | <code>docker</code> || Docker || Bleu (#2496ed) || {{ButtonLink|link=https://wiki.nefald.fr/|color=docker}} | ||
|- | |- | ||
| <code>kubernetes</code> || Kubernetes || Bleu (#326ce5) || | | <code>kubernetes</code> || Kubernetes || Bleu (#326ce5) || {{ButtonLink|link=https://wiki.nefald.fr/|color=kubernetes}} | ||
|- | |- | ||
| <code>codepen</code> || CodePen || Noir (#000000) || | | <code>codepen</code> || CodePen || Noir (#000000) || {{ButtonLink|link=https://wiki.nefald.fr/|color=codepen}} | ||
|- | |- | ||
| <code>gitlab-ci</code> || GitLab CI || Orange (#fc6d26) || | | <code>gitlab-ci</code> || GitLab CI || Orange (#fc6d26) || {{ButtonLink|link=https://wiki.nefald.fr/|color=gitlab-ci}} | ||
|} | |} | ||
| Ligne 107 : | Ligne 108 : | ||
! Code !! Plateforme !! Couleur !! Exemple | ! Code !! Plateforme !! Couleur !! Exemple | ||
|- | |- | ||
| <code>kofi</code> || Ko-fi || Rouge (#ff5e5b) || | | <code>kofi</code> || Ko-fi || Rouge (#ff5e5b) || {{ButtonLink|link=https://wiki.nefald.fr/|color=kofi}} | ||
|- | |- | ||
| <code>liberapay</code> || Liberapay || Jaune (#f6c915) || | | <code>liberapay</code> || Liberapay || Jaune (#f6c915) || {{ButtonLink|link=https://wiki.nefald.fr/|color=liberapay}} | ||
|- | |- | ||
| <code>buymeacoffee</code> || Buy Me a Coffee || Jaune (#ffdd00) || | | <code>buymeacoffee</code> || Buy Me a Coffee || Jaune (#ffdd00) || {{ButtonLink|link=https://wiki.nefald.fr/|color=buymeacoffee}} | ||
|- | |- | ||
| <code>opencollective</code> || Open Collective || Bleu (#7fadf2) || | | <code>opencollective</code> || Open Collective || Bleu (#7fadf2) || {{ButtonLink|link=https://wiki.nefald.fr/|color=opencollective}} | ||
|} | |} | ||
| Ligne 121 : | Ligne 122 : | ||
! Code !! Plateforme !! Couleur !! Exemple | ! Code !! Plateforme !! Couleur !! Exemple | ||
|- | |- | ||
| <code>modrinth</code> || Modrinth || Vert (#1bd96a) || | | <code>modrinth</code> || Modrinth || Vert (#1bd96a) || {{ButtonLink|link=https://wiki.nefald.fr/|color=modrinth}} | ||
|- | |- | ||
| <code>curseforge</code> || CurseForge || Orange (#f16436) || | | <code>curseforge</code> || CurseForge || Orange (#f16436) || {{ButtonLink|link=https://wiki.nefald.fr/|color=curseforge}} | ||
|- | |- | ||
| <code>hangar</code> || Hangar || Bleu (#0d6efd) || | | <code>hangar</code> || Hangar || Bleu (#0d6efd) || {{ButtonLink|link=https://wiki.nefald.fr/|color=hangar}} | ||
|- | |- | ||
| <code>spigotmc</code> / <code>spigot</code> || SpigotMC || Jaune (#f7c03e) || | | <code>spigotmc</code> / <code>spigot</code> || SpigotMC || Jaune (#f7c03e) || {{ButtonLink|link=https://wiki.nefald.fr/|color=spigot}} | ||
|- | |- | ||
| <code>bukkit</code> || Bukkit || Orange (#f89a1e) || | | <code>bukkit</code> || Bukkit || Orange (#f89a1e) || {{ButtonLink|link=https://wiki.nefald.fr/|color=bukkit}} | ||
|- | |- | ||
| <code>papermc</code> / <code>paper</code> || PaperMC || Bleu (#1a8cff) || | | <code>papermc</code> / <code>paper</code> || PaperMC || Bleu (#1a8cff) || {{ButtonLink|link=https://wiki.nefald.fr/|color=paper}} | ||
|- | |- | ||
| <code>purpur</code> || Purpur || Violet (#a855f7) || | | <code>purpur</code> || Purpur || Violet (#a855f7) || {{ButtonLink|link=https://wiki.nefald.fr/|color=purpur}} | ||
|- | |- | ||
| <code>polymart</code> || Polymart || Rose (#ec4899) || | | <code>polymart</code> || Polymart || Rose (#ec4899) || {{ButtonLink|link=https://wiki.nefald.fr/|color=polymart}} | ||
|- | |- | ||
| <code>github-releases</code> || GitHub Releases || Vert (#238636) || | | <code>github-releases</code> || GitHub Releases || Vert (#238636) || {{ButtonLink|link=https://wiki.nefald.fr/|color=github-releases}} | ||
|- | |- | ||
| <code>jenkins</code> || Jenkins || Rouge (#d24939) || | | <code>jenkins</code> || Jenkins || Rouge (#d24939) || {{ButtonLink|link=https://wiki.nefald.fr/|color=jenkins}} | ||
|- | |- | ||
| <code>maven</code> || Maven || Rouge (#c71a36) || | | <code>maven</code> || Maven || Rouge (#c71a36) || {{ButtonLink|link=https://wiki.nefald.fr/|color=maven}} | ||
|} | |} | ||
| Ligne 149 : | Ligne 150 : | ||
! Code !! Plateforme !! Couleur !! Exemple | ! Code !! Plateforme !! Couleur !! Exemple | ||
|- | |- | ||
| <code>minecraft</code> || Minecraft || Vert (#62b47a) || | | <code>minecraft</code> || Minecraft || Vert (#62b47a) || {{ButtonLink|link=https://wiki.nefald.fr/|color=minecraft}} | ||
|- | |- | ||
| <code>forge</code> || Forge || Bleu foncé (#1e2c42) || | | <code>forge</code> || Forge || Bleu foncé (#1e2c42) || {{ButtonLink|link=https://wiki.nefald.fr/|color=forge}} | ||
|- | |- | ||
| <code>fabric</code> || Fabric || Beige (#dbd3c8) || | | <code>fabric</code> || Fabric || Beige (#dbd3c8) || {{ButtonLink|link=https://wiki.nefald.fr/|color=fabric}} | ||
|- | |- | ||
| <code>quilt</code> || Quilt || Violet (#8b5cf6) || | | <code>quilt</code> || Quilt || Violet (#8b5cf6) || {{ButtonLink|link=https://wiki.nefald.fr/|color=quilt}} | ||
|- | |- | ||
| <code>neoforge</code> || NeoForge || Orange (#ff6b35) || | | <code>neoforge</code> || NeoForge || Orange (#ff6b35) || {{ButtonLink|link=https://wiki.nefald.fr/|color=neoforge}} | ||
|} | |} | ||
| Ligne 165 : | Ligne 166 : | ||
! Code !! Plateforme !! Couleur !! Exemple | ! Code !! Plateforme !! Couleur !! Exemple | ||
|- | |- | ||
| <code>velocity</code> || Velocity || Bleu (#3fa9f5) || | | <code>velocity</code> || Velocity || Bleu (#3fa9f5) || {{ButtonLink|link=https://wiki.nefald.fr/|color=velocity}} | ||
|- | |- | ||
| <code>waterfall</code> || Waterfall || Bleu (#0088ff) || | | <code>waterfall</code> || Waterfall || Bleu (#0088ff) || {{ButtonLink|link=https://wiki.nefald.fr/|color=waterfall}} | ||
|- | |- | ||
| <code>bungeecord</code> || BungeeCord || Jaune (#ffcc00) || | | <code>bungeecord</code> || BungeeCord || Jaune (#ffcc00) || {{ButtonLink|link=https://wiki.nefald.fr/|color=bungeecord}} | ||
|- | |- | ||
| <code>sponge</code> || Sponge || Jaune (#f7cf0d) || | | <code>sponge</code> || Sponge || Jaune (#f7cf0d) || {{ButtonLink|link=https://wiki.nefald.fr/|color=sponge}} | ||
|} | |} | ||
| Ligne 179 : | Ligne 180 : | ||
! Code !! Plateforme !! Couleur !! Exemple | ! Code !! Plateforme !! Couleur !! Exemple | ||
|- | |- | ||
| <code>ftb</code> / <code>feed-the-beast</code> || Feed The Beast || Violet (#8e44ad) || | | <code>ftb</code> / <code>feed-the-beast</code> || Feed The Beast || Violet (#8e44ad) || {{ButtonLink|link=https://wiki.nefald.fr/|color=ftb}} | ||
|- | |- | ||
| <code>technic</code> || Technic Pack || Rouge (#e74c3c) || | | <code>technic</code> || Technic Pack || Rouge (#e74c3c) || {{ButtonLink|link=https://wiki.nefald.fr/|color=technic}} | ||
|- | |- | ||
| <code>atlauncher</code> || ATLauncher || Bleu (#3498db) || | | <code>atlauncher</code> || ATLauncher || Bleu (#3498db) || {{ButtonLink|link=https://wiki.nefald.fr/|color=atlauncher}} | ||
|} | |} | ||
Version du 5 novembre 2025 à 21:49
Utilisation
Ce modèle crée un bouton cliquable stylisé avec icône/logo pointant vers n'importe quelle destination (réseaux sociaux, services externes, pages internes, plateformes de téléchargement, etc.).
Syntaxe
{{ButtonLink
|link = URL du lien
|image = Nom du fichier image (avec extension)
|text = Texte affiché (optionnel)
|color = Nom de couleur prédéfinie (optionnel)
|bg = Couleur d'arrière-plan personnalisée (optionnel, remplace color)
|size = Taille de l'image (défaut : x40px)
|title = Texte du titre au survol (défaut : valeur de text)
|alt = Texte alternatif (défaut : valeur de text)
}}
Paramètres
| Paramètre | Description | Requis | Défaut |
|---|---|---|---|
| link | URL complète ou relative | Oui | - |
| image | Nom du fichier image (ex : "Discord-Logo-White.svg") | Oui | - |
| text | Texte affiché sous le logo | Non | (vide) |
| color | Nom de couleur prédéfinie (voir liste ci-dessous) | Non | gray |
| bg | Couleur d'arrière-plan personnalisée (hex, rgb, nom) | Non | (utilise color ou défaut) |
| size | Taille de l'image (format MediaWiki) | Non | x40px |
| title | Texte du titre HTML (infobulle au survol) | Non | valeur de text |
| alt | Texte alternatif pour l'accessibilité | Non | valeur de text |
Note : Si color et bg sont tous deux spécifiés, bg est prioritaire.
Couleurs prédéfinies
Réseaux sociaux
| Code | Plateforme | Couleur | Exemple |
|---|---|---|---|
discord |
Discord | Blurple (#5865f2) |
|
patreon |
Patreon | Rouge (#ff424d) | |
gitlab |
GitLab | Orange (#fc6f23) | |
github |
GitHub | Sombre (#24292e) | |
twitter |
Twitter/X | Bleu (#1da1f2) | |
youtube |
YouTube | Rouge (#ff0000) | |
twitch |
Twitch | Violet (#9146ff) | |
reddit |
Orange (#ff4500) | ||
mastodon |
Mastodon | Violet (#6364ff) | |
bluesky |
Bluesky | Bleu (#0085ff) | |
linkedin |
Bleu (#0077b5) | ||
facebook |
Bleu (#1877f2) | ||
instagram |
Dégradé | ||
tiktok |
TikTok | Noir (#000000) | |
snapchat |
Snapchat | Jaune (#fffc00) | |
threads |
Threads | Noir (#000000) |
Développement & Tech
| Code | Plateforme | Couleur | Exemple |
|---|---|---|---|
stackoverflow |
Stack Overflow | Orange (#f48024) | |
npm |
npm | Rouge (#cb3837) | |
pypi |
PyPI | Bleu (#3775a9) | |
docker |
Docker | Bleu (#2496ed) | |
kubernetes |
Kubernetes | Bleu (#326ce5) | |
codepen |
CodePen | Noir (#000000) | |
gitlab-ci |
GitLab CI | Orange (#fc6d26) |
Plateformes de financement
| Code | Plateforme | Couleur | Exemple |
|---|---|---|---|
kofi |
Ko-fi | Rouge (#ff5e5b) | |
liberapay |
Liberapay | Jaune (#f6c915) | |
buymeacoffee |
Buy Me a Coffee | Jaune (#ffdd00) | |
opencollective |
Open Collective | Bleu (#7fadf2) |
Plateformes de plugins Minecraft
| Code | Plateforme | Couleur | Exemple |
|---|---|---|---|
modrinth |
Modrinth | Vert (#1bd96a) | |
curseforge |
CurseForge | Orange (#f16436) | |
hangar |
Hangar | Bleu (#0d6efd) | |
spigotmc / spigot |
SpigotMC | Jaune (#f7c03e) | |
bukkit |
Bukkit | Orange (#f89a1e) | |
papermc / paper |
PaperMC | Bleu (#1a8cff) | |
purpur |
Purpur | Violet (#a855f7) | |
polymart |
Polymart | Rose (#ec4899) | |
github-releases |
GitHub Releases | Vert (#238636) | |
jenkins |
Jenkins | Rouge (#d24939) | |
maven |
Maven | Rouge (#c71a36) |
Mod loaders Minecraft
| Code | Plateforme | Couleur | Exemple |
|---|---|---|---|
minecraft |
Minecraft | Vert (#62b47a) | |
forge |
Forge | Bleu foncé (#1e2c42) | |
fabric |
Fabric | Beige (#dbd3c8) | |
quilt |
Quilt | Violet (#8b5cf6) | |
neoforge |
NeoForge | Orange (#ff6b35) |
Logiciels serveur
| Code | Plateforme | Couleur | Exemple |
|---|---|---|---|
velocity |
Velocity | Bleu (#3fa9f5) | |
waterfall |
Waterfall | Bleu (#0088ff) | |
bungeecord |
BungeeCord | Jaune (#ffcc00) | |
sponge |
Sponge | Jaune (#f7cf0d) |
Modpacks
| Code | Plateforme | Couleur | Exemple |
|---|---|---|---|
ftb / feed-the-beast |
Feed The Beast | Violet (#8e44ad) | |
technic |
Technic Pack | Rouge (#e74c3c) | |
atlauncher |
ATLauncher | Bleu (#3498db) |
Couleurs sémantiques
| Code | Alternative | Couleur | Usage |
|---|---|---|---|
primary |
blue |
Bleu (#3366cc) | Actions principales |
secondary |
gray, grey |
Gris (#72777d) | Actions secondaires |
success |
green |
Vert (#14866d) | Messages de succès |
danger |
red |
Rouge (#d73333) | Avertissements, erreurs |
warning |
yellow |
Jaune (#fc3) | Alertes |
info |
cyan |
Cyan (#00b8d4) | Informations |
purple |
violet |
Violet (#6f42c1) | - |
pink |
- | Rose (#d63384) | - |
orange |
- | Orange (#fd7e14) | - |
teal |
- | Turquoise (#20c997) | - |
indigo |
- | Indigo (#6610f2) | - |
black |
- | Noir (#000) | - |
white |
- | Blanc (#fff) | - |
light |
- | Gris clair (#f8f9fa) | - |
dark |
- | Gris foncé (#343a40) | - |
Exemples
Usage basique
{{ButtonLink
|link = https://nfald.fr/discord
|image = Discord-Logo-White.svg
|text = Rejoignez notre Discord
|color = discord
}}
Sans texte (icône seule)
{{ButtonLink
|link = https://github.com/nefald
|image = GitHub-Logo-White.svg
|color = github
}}
Lien interne
{{ButtonLink
|link = /wiki/Aide:Sommaire
|image = Help-Icon.svg
|text = Centre d'aide
|color = primary
}}
Couleur personnalisée
{{ButtonLink
|link = https://exemple.fr
|image = Custom-Logo.svg
|text = Bouton personnalisé
|bg = linear-gradient(135deg, #667eea 0%, #764ba2 100%)
}}
Grille de téléchargements multi-plateformes
<div class="button-link-grid">
{{ButtonLink
|link = https://modrinth.com/plugin/mon-plugin
|image = Modrinth-Logo.svg
|text = Modrinth
|color = modrinth
}}
{{ButtonLink
|link = https://www.curseforge.com/minecraft/bukkit-plugins/mon-plugin
|image = CurseForge-Logo.svg
|text = CurseForge
|color = curseforge
}}
{{ButtonLink
|link = https://hangar.papermc.io/nefald/MonPlugin
|image = Hangar-Logo.svg
|text = Hangar
|color = hangar
}}
{{ButtonLink
|link = https://www.spigotmc.org/resources/mon-plugin.12345/
|image = Spigot-Logo.svg
|text = SpigotMC
|color = spigot
}}
{{ButtonLink
|link = https://polymart.org/resource/mon-plugin.1234
|image = Polymart-Logo.svg
|text = Polymart
|color = polymart
}}
{{ButtonLink
|link = https://github.com/nefald/MonPlugin/releases
|image = GitHub-Logo-White.svg
|text = GitHub
|color = github-releases
}}
</div>
Rangée de réseaux sociaux
<div class="button-link-grid">
{{ButtonLink|link=https://discord.gg/xxx|image=Discord-Logo-White.svg|color=discord}}
{{ButtonLink|link=https://twitter.com/xxx|image=Twitter-Logo-White.svg|color=twitter}}
{{ButtonLink|link=https://github.com/xxx|image=GitHub-Logo-White.svg|color=github}}
{{ButtonLink|link=https://www.patreon.com/xxx|image=Patreon-Logo-White.svg|color=patreon}}
</div>
Boutons d'actions
<div class="button-link-grid">
{{ButtonLink
|link = /wiki/Spécial:Téléverser
|image = Upload-Icon.svg
|text = Téléverser un fichier
|color = primary
}}
{{ButtonLink
|link = /wiki/Spécial:Modifications_récentes
|image = Recent-Changes-Icon.svg
|text = Modifications récentes
|color = info
}}
{{ButtonLink
|link = /wiki/Spécial:Pages_demandées
|image = Wanted-Pages-Icon.svg
|text = Pages demandées
|color = warning
}}
</div>
Détails techniques
- Utilise TemplateStyles pour un CSS isolé
- Entièrement responsive (adapté mobile)
- Accessible (supporte les attributs alt et title)
- Supporte les liens externes et internes
- Aucun JavaScript requis
- Compatible tous navigateurs modernes
- Les icônes de lien externe sont automatiquement masquées
Accessibilité
Le modèle est conçu pour être accessible :
- Utilisation d'attributs
altpour les images - Attributs
titlepour les infobulles - Contraste de couleur respectant les normes WCAG
- Navigation au clavier possible
- Compatible avec les lecteurs d'écran
Voir aussi