Modèle:Projet : Différence entre versions

De fablabo
Aller à : navigation, rechercher
Ligne 9 : Ligne 9 :
 
[[category:Projets]]
 
[[category:Projets]]
 
<div id="Cartouche">
 
<div id="Cartouche">
<!-- style="float: right; width:100%;color: Gray; padding-top: 3px; padding-bottom: 5px; font-weight: bold; border-style:dotted;" -->
+
<span id="tampon">Statut: [[status::{{{status|inconnu}}}]]</span>
<!--
 
Statut: [[status::{{{status|inconnu}}}]]
 
{{#if: {{{status|inconnu}}} | <div class="Tampon {{{status|inconnu}}}">&nbsp;</div> |}}
 
-->
 
 
<div id="infos">
 
<div id="infos">
<!--  style="background-color: white; width:60%;  padding-top: 5px; color: black; font-weight: normal;display: inline-block;" -->
 
<!--
 
{|border="0" cellpadding="3" cellspacing="0"
 
|
 
-->
 
 
<div id="vignette">
 
<div id="vignette">
 
{{#ifexist: Image:{{{image}}} |[[Image::Fichier:{{{image}}}| ]][[Image:{{{image}}} |center|290px]]|[[Image::Fichier:JoliAfficheur.jpg| ]][[Image:JoliAfficheur.jpg |center|290px]]}}
 
{{#ifexist: Image:{{{image}}} |[[Image::Fichier:{{{image}}}| ]][[Image:{{{image}}} |center|290px]]|[[Image::Fichier:JoliAfficheur.jpg| ]][[Image:JoliAfficheur.jpg |center|290px]]}}
 
</div>
 
</div>
 
<div id="table">
 
<div id="table">
<!--
 
|| 
 
-->
 
 
{|-
 
{|-
| style="vertical-align: top" | '''Description''' || [[description::{{{description|...}}}]]
+
| '''Description''' || [[description::{{{description|...}}}]]
 
|-
 
|-
| style="vertical-align: top" | '''License''' || {{{license|GPL 2.0}}}
+
| '''License''' || {{{license|GPL 2.0}}}
 
|-
 
|-
|style="vertical-align: top" | '''Contributeur(s)''' || {{#arraymap:{{{contributeurs|}}}|,|x|[[contributeur::User:x|x]]|\n}}
+
| '''Contributeur(s)''' || {{#arraymap:{{{contributeurs|}}}|,|x|[[contributeur::User:x|x]]|\n}}
 
|-
 
|-
| style="vertical-align: top" | '''Inspiration''' || {{{inspiration|}}}
+
| '''Inspiration''' || {{{inspiration|}}}
 
|-
 
|-
| style="vertical-align: top" | '''Fichiers source''' || {{{source|}}}
+
| '''Fichiers source''' || {{{source|}}}
 
|-
 
|-
| style="vertical-align: top" | '''Outils''' || {{#arraymap:{{{machines|}}}|,|x|[[machine::x|x]]|\n}}
+
| '''Outils''' || {{#arraymap:{{{machines|}}}|,|x|[[machine::x|x]]|\n}}
 
|-
 
|-
| style="vertical-align: top" | '''Ingrédients''' || {{#arraymap:{{{ingrédients|}}}|,|x|[[ingrédient::x|x]]|\n}}
+
| '''Ingrédients''' || {{#arraymap:{{{ingrédients|}}}|,|x|[[ingrédient::x|x]]|\n}}
 
|-
 
|-
| style="vertical-align: top" | '''Lien''' || {{{url| }}}
+
| '''Lien''' || {{{url| }}}
 
|}
 
|}
<!--
 
|}
 
-->
 
 
</div>
 
</div>
 
</div>
 
</div>

Version du 12 décembre 2014 à 13:10


Documentation du modèle

Un Boite d'infos pour résumer un projet

Paramètres

en-tête

  • titre (requis)
  • status (requis)
Status Type Theme Color
inconnu #CCCCCC
concept #FF9933
experimental #00B
fonctionne #00920
obsolete #CCCCCC
prototype #2B60DE
abandoné #000000

Image

  • image (requis)

General

  • description (requis)
  • license (requis)
  • contributeur(s) (requis)
  • reprap (requirs)
  • categories (requis)
  • cadModel (required)
  • url (required)

Usage

{{Development
<!--Header-->
|status = abandoned
<!--Image-->
|image = rustygears.jpeg
<!--General-->
|description = This is an example of the Development infobox template.
|license = GPL
|author = Example_User
|reprap = 
|categories = 
|cadModel = 
|url = 
}}
Modèle:Development

Todo

  • Change "Author" to "Contributors"
  • Change "Based On" to "Related", otherwise sui-generis stuff looks funny
  • Add "required" or "sub assemblies"? (need to think about this)

Influences/Design

The Goal of this page is to provide a template to categorize and organize RepRap development in a similar way that MediaWiki categorizes it's extensions (see the extension template in use here). Unfortunately for the time being we do not have a recent enough version of MediaWiki to do some of the cooler auto-categorization things that template does. This is what the extension template looks like:

{{Extension|templatemode =
|name        = Add Metas
|status      = experimental
|type1       = example
|type2       =
|hook1       =
|hook2       =
|username    =
|author      = Luis Diaz
|description =This extension enables you to add meta tags on all the pages like meta keywords.
|image       =
|imagesize   =
|version     =0.1
|update      =
|mediawiki   =Tested on 1.10.0
|license     =
|download    =[http://www.buntulug.com.ar/wiki/Add_Metas buntulug.com.ar]
|readme      =
|changelog   =
|parameters  =
|rights      =
|example     =
}}

See Also