« Modèle:Yop-version » : différence entre les versions
Page créée avec « <includeonly> {{#ifeq: {{{1}}} | {{VersionActuelle}} |<table style="width:350px;border:1px solid #000;margin:auto"> <td style="text-align:center;color:green"> <p><span>Ver... » |
Aucun résumé des modifications |
||
Ligne 9 : | Ligne 9 : | ||
{{#switch:{{{2}}} | {{#switch:{{{2}}} | ||
|Incomplet = <table style="width:350px;border:1px solid #000;margin:auto; margin-top:1%"> | |Incomplet = <table style="width:350px;border:1px solid #000;margin:auto; margin-top:1%"> | ||
<td style="text-align:center;color:red"> | <td style="text-align:center;background-color:red"> | ||
<span><span style="font-weight:bold">Attention : </span><span>le contenu de cet article est incomplet !</span></span> | <span><span style="font-weight:bold">Attention : </span><span>le contenu de cet article est incomplet !</span></span> | ||
</td> | |||
</table> | |||
|En cours = <table style="width:350px;border:1px solid #000;margin:auto; margin-top:1%"> | |||
<td style="text-align:center;background-color:turquoise"> | |||
<span><span>Rédaction en cours !</span></span> | |||
</td> | </td> | ||
</table> | </table> | ||
Ligne 25 : | Ligne 30 : | ||
{{#switch:{{{2}}} | {{#switch:{{{2}}} | ||
|Incomplet = <table style="width:350px;border:1px solid #000;margin:auto; margin-top:1%"> | |Incomplet = <table style="width:350px;border:1px solid #000;margin:auto; margin-top:1%"> | ||
<td style="text-align:center;color:red"> | <td style="text-align:center;background-color:red"> | ||
<span><span style="font-weight:bold">Attention : </span><span>le contenu de cet article est incomplet !</span></span> | <span><span style="font-weight:bold">Attention : </span><span>le contenu de cet article est incomplet !</span></span> | ||
</td> | |||
</table> | |||
|En cours = <table style="width:350px;border:1px solid #000;margin:auto; margin-top:1%"> | |||
<td style="text-align:center;background-color:turquoise"> | |||
<span><span>Rédaction en cours !</span></span> | |||
</td> | </td> | ||
</table> | </table> | ||
Ligne 48 : | Ligne 58 : | ||
Exemples : | Exemples : | ||
- <nowiki>{{Yop-version|</nowiki>{{VersionActuelle}}<nowiki>}}</nowiki> | - <nowiki>{{Yop-version | </nowiki>{{VersionActuelle}}<nowiki>}}</nowiki> | ||
{{Yop-version|{{VersionActuelle}}}} | {{Yop-version|{{VersionActuelle}}}} | ||
- <nowiki>{{Yop-version|0.34.11}}</nowiki> | - <nowiki>{{Yop-version | 0.34.11}}</nowiki> | ||
{{Yop-version|0.34.11}} | {{Yop-version|0.34.11}} | ||
Ligne 61 : | Ligne 71 : | ||
Exemples : | Exemples : | ||
- <nowiki>{{Yop-version|</nowiki>{{VersionActuelle}}<nowiki>|Incomplet}}</nowiki> | - <nowiki>{{Yop-version | </nowiki>{{VersionActuelle}}<nowiki> | Incomplet}}</nowiki> | ||
{{Yop-version|{{VersionActuelle}}|Incomplet}} | {{Yop-version|{{VersionActuelle}}|Incomplet}} | ||
- <nowiki>{{Yop-version|0.34.11|Incomplet}}</nowiki> | - <nowiki>{{Yop-version | 0.34.11 | Incomplet}}</nowiki> | ||
{{Yop-version|0.34.11|Incomplet}} | {{Yop-version|0.34.11|Incomplet}} | ||
=== III. Rédaction en cours === | |||
Pour ajouter un cadre au précédent, avec la mention rédaction en cours, il suffit d'ajouter un paramètre : <nowiki>{{Yop-version | numéro de la version | En cours}}</nowiki>. | |||
Exemples : | |||
- <nowiki>{{Yop-version| </nowiki>{{VersionActuelle}}<nowiki> | En cours}}</nowiki> | |||
{{Yop-version|{{VersionActuelle}}|En cours}} | |||
- <nowiki>{{Yop-version | 0.34.11 | En cours}}</nowiki> | |||
{{Yop-version|0.34.11|En cours}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |