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

De Histoire de Chine
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 20 : Ligne 20 :
   }}
   }}
}}
}}
</div><hr style="text-align=center;height:1px;width:80%;border-width:0;color:red;background-color:gray"><!--
</div><hr style="margin: 5px;text-align=center;height:1px;width:80%;border-width:0;color:red;background-color:gray"><!--
--><div class="mw-tpl-colorbox-content">
--><div class="mw-tpl-colorbox-content">
{{{content}}}
{{{content}}}

Version du 9 octobre 2023 à 15:03


Le modèle boîte colorée est conçu pour les pages communautaires. Il s'inspire de la page d'accueil de Wikidata.

Paramètres du modèle[Modifier les données du modèle]

La mise en forme multiligne est préférée pour ce modèle.

ParamètreDescriptionTypeÉtat
background-content-colorbackground-content-color

aucune description

Inconnufacultatif
extra classesclass

Extra CSS classes to apply to the outermost box (space-separated). This is mainly for other templates using TemplateStyles so that they can scope their CSS to the box, but it may be useful in other cases as well.

Lignefacultatif
extra stylesstyle

Extra inline CSS rules to apply to the outermost element. Prefer TemplateStyles and using CSS classes if possible when using this template in another template.

Lignefacultatif
background-title-colorbackground-title-color

aucune description

Inconnufacultatif
iconicon

aucune description

Fichierfacultatif
Title texttitle

aucune description

Chaîneobligatoire
Title linktitle-link

Turn title area into a clickable link

Nom de pagefacultatif
title-colortitle-color

aucune description

Chaînefacultatif
view-linkview-link link

Create a "view" corner link to a given page.

Nom de pagefacultatif
view-extlinkview-extlink link2

Create a "view" corner link to a external URL. This cannot be used together with "view-link".

URLfacultatif
view-textview-text

Replace link text for "view-link" with something other than "view".

Chaînefacultatif
link-colorlink-color

aucune description

Inconnufacultatif
Contentcontent

aucune description

Contenuobligatoire