Utilisateur:CastelRune/Test

Aller à la navigation Aller à la recherche

Page mise entre balises pour éviter la catégorisation et l’appel à des modèles inexistants, il suffit d’enlever <pre> et </pre> pour que tout revienne comme avant. Camélicorne (discussion) 24 août 2022 à 17:18 (CEST).

'''Note''': Essayer ce code en prévisualisation sur la page "Template:Meta portal banner" de en. C'est un test


<center>
{|style="clear: both; margin-top: 12px; border-left: 4px solid {{{couleur tour|#E0E0E0}}}; width: 90%; background: {{{couleur fond|#F0F0F0}}}; border-radius: 2px;"
|style="padding: 3px; text-align: left;"|{{{image|}}}
|width="90%" style="font-size: 15px;"|{{{link|}}} {{{text}}} {{{detail|}}}
|}
</center>
<noinclude>
This meta-template is used as part of [[Vikidia:Portals|portal]] banners templates. It should not be used directly on articles.

Parameters: 
* <code>couleur tour</code> = the colour of the portal banner border (default: #E0E0E0). See [[Help:Colours]].
* <code>couleur fond</code> = the colour of the portal banner background (default: #F0F0F0). See [[Help:Colours]].
* <code>image</code> = the file name of the image that is to appear on the portal banner, e.g. "ImageFileName.svg" (default: no image).
* <code>imageSize</code> = the size of the image that is to appear on the portal banner, e.g. "30px" (default: none)
* <code>text</code> = the text that is to appear on the portal banner, including at least a link to the portal (required parameter, no default value)
* <code>textColour</code> = the colour of the text (default: Black). See [[Help:Colours]].

Example:
 <nowiki>{{Meta portal banner|Couleur tour=#FF7700|Couleur fond=#FFBB66| 
texte=''' [[Portal:Vidéo gaming|Video gaming portal]]''' - Access to the portal concerning video gaming.|image=[[Apple:Apple.jpg|25 px|link=|alt=]]}}
Give:
{{Meta portal banner|couleur tour=#FF7700|couleur fond=#FFBB66| 
text=''' [[Portal:Vidéo gaming|Video gaming portal]]''' - Access to the portal concerning video gaming.|image=[[File:Apple.jpg|25 px|link=|alt=]]}}

[[Category:Portal banner templates|*]]
[[Category:Meta templates|Portal banner]]
[[fr:Modèle:Méta lien portail]]
</noinclude>
</nowiki>