Modèle:Projet : Différence entre versions

De fablabo
Aller à : navigation, rechercher
(45 révisions intermédiaires par 4 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
 +
 
<includeonly>
 
<includeonly>
{{#widget:if|a={{{status|Unknown}}}|b=Inconnu|then=<style>.devBox{border-color:#CCCCCC;}</style>}}
+
{{#seo:
{{#widget:if|a={{{status|Unknown}}}|b=Abandonné|then=<style>.devBox{border-color:#000000;}</style>}}
+
|og:site_name=fablabo.net
{{#widget:if|a={{{status|Unknown}}}|b=Obsolete|then=<style>.devBox{border-color:#CCCCCC;}</style>}}
+
|titlemode=append
{{#widget:if|a={{{status|Unknown}}}|b=Concept|then=<style>.devBox{border-color:#FF9933;}</style>}}
+
|keywords=these,are,your,keywords
{{#widget:if|a={{{status|Unknown}}}|b=Experimental|then=<style>.devBox{border-color:#00B;}</style>}}
+
|description={{{description}}}
{{#widget:if|a={{{status|Unknown}}}|b=Fonctionnel|then=<style>.devBox{border-color:#009200;}</style>}}
+
|og:image={{filepath:{{{image}}}}}
{{#widget:if|a={{{status|Unknown}}}|b=Prototype|then=<style>.devBox{border-color:#2B60DE;}</style>}}
+
|og:type=article
 +
}}
 +
 
 +
<div class="vf-cartouche-description">
 +
[[description::{{{description|...}}}]]
 +
</div>
  
 
[[category:Projets]]
 
[[category:Projets]]
 +
<div id="vf-cartouche">
 +
<div id="infos">
 +
<div id="vf-cartouche-vignette">
 +
{{#ifexist: Image:{{{image}}} |[[Image::Fichier:{{{image}}}| ]][[Image:{{{image}}}|340px]]|[[Image::Fichier:JoliAfficheur.jpg| ]][[Image:JoliAfficheur.jpg |340px]]}}
 +
</div>
 +
<div id="vf-cartouche-table">
 +
 +
<div class="vf-cartouche-infos">
 +
<div class="vf-cartouche-infos-titre">
 +
Contributeur·ice·s
 +
</div> 
 +
<div class="vf-cartouche-infos-donnee">
 +
{{#arraymap:{{{contributeurs|}}}|,|x|[[contributeur::User:x|x]]|\n}}
 +
</div>
 +
</div>
 +
 +
<div class="vf-cartouche-infos">
 +
<div class="vf-cartouche-infos-titre">
 +
Statut du projet
 +
</div> 
 +
<div class="vf-cartouche-infos-donnee">
 +
{{{status}}}
 +
</div>
 +
</div>
 +
 +
<div class="vf-cartouche-infos">
 +
<div class="vf-cartouche-infos-titre">
 +
Statut de la publication
 +
</div> 
 +
<div class="vf-cartouche-infos-donnee">
 +
{{{status_pub}}}
 +
</div>
 +
</div>
 +
 +
<div class="vf-cartouche-infos">
 +
<div class="vf-cartouche-infos-titre">
 +
License
 +
</div> 
 +
<div class="vf-cartouche-infos-donnee">
 +
{{{license}}}
 +
</div>
 +
</div>
  
<div class="devBox" style="float: right; width:100%;color: Gray; padding-top: 3px; padding-bottom: 5px; font-weight: bold;">
+
<div class="vf-cartouche-infos">
[[Image:Crystal Clear action run.png|left|40px]]
+
<div class="vf-cartouche-infos-titre">
Statut: [[status::{{{status|inconnu}}}]]
+
Inspiration
<div style="background-color: white; width:60%; margin-left: 5px; margin-right: 5px; padding-top: 5px; color: black; font-weight: normal;display: inline-block;">
+
</div> 
{{#ifexist: Image:{{{image}}} |[[Image::Fichier:{{{image}}}| ]][[Image:{{{image}}} |center|290px]]|[[Image::Fichier:JoliAfficheur.jpg| ]][[Image:JoliAfficheur.jpg |center|290px]]}}
+
<div class="vf-cartouche-infos-donnee">
{|-
+
{{{inspiration|}}}
| style="vertical-align: top" | '''Description''' || [[description::{{{description|...}}}]]
+
</div>
|-
+
</div>
| style="vertical-align: top" | '''License''' || {{{license|GPL 2.0}}}
+
 
|-
+
<div class="vf-cartouche-infos">
|style="vertical-align: top" | '''Contributeur(s)''' || {{#arraymap:{{{contributeurs|}}}|,|x|[[contributeur::User:x|x]]|\n}}
+
<div class="vf-cartouche-infos-titre">
|-
+
Fichiers source
| style="vertical-align: top" | '''Inspiration''' || {{{inspiration|}}}
+
</div> 
|-
+
<div class="vf-cartouche-infos-donnee">
| style="vertical-align: top" | '''Fichiers source''' || {{{source|}}}
+
{{{source|}}}
|-
+
</div>
| style="vertical-align: top" | '''Ingrédients''' || {{#arraymap:{{{ingrédients|}}}|,|x|[[ingrédient::x|x]]|\n}}
+
</div>
|-
 
| style="vertical-align: top" | '''Lien''' || {{{url| }}}
 
|}
 
  
 +
<div class="vf-cartouche-infos">
 +
<div class="vf-cartouche-infos-titre">
 +
Outils
 +
</div> 
 +
<div class="vf-cartouche-infos-donnee">
 +
{{#arraymap:{{{machines|}}}|,|x|[[machine::x|x]]|\n}}
 
</div>
 
</div>
<div style="position : absolute;right:60%;display: inline-block;float:right;">
+
</div>
__TOC__
+
 
 +
<div class="vf-cartouche-infos">
 +
<div class="vf-cartouche-infos-titre">
 +
Ingrédients
 +
</div> 
 +
<div class="vf-cartouche-infos-donnee">
 +
{{#arraymap:{{{ingrédients|}}}|,|x|[[ingrédient::x|x]]|\n}}
 
</div>
 
</div>
 
</div>
 
</div>
  
 +
<div class="vf-cartouche-infos">
 +
<div class="vf-cartouche-infos-titre">
 +
Lien
 +
</div> 
 +
<div class="vf-cartouche-infos-donnee">
 +
{{{url| }}}
 +
</div>
 +
</div>
  
  
 +
</div>
 +
</div>
 +
<div id="sommaire">
 +
__TOC__
 +
</div>
 +
</div>
 +
<br style="clear:both" />
 
</includeonly>
 
</includeonly>
 
 
<noinclude>
 
<noinclude>
 
 
<div class="MachineBox"  style="width:70%;float: left;">
 
<div class="MachineBox"  style="width:70%;float: left;">
 
==Taches effectuées dans le cadre de ce projet : ==
 
==Taches effectuées dans le cadre de ce projet : ==
Ligne 57 : Ligne 127 :
 
|offset=
 
|offset=
 
}}
 
}}
 
 
 
</div>
 
</div>
 
 
 
 
 
  
 
=='''Documentation du modèle'''==
 
=='''Documentation du modèle'''==
Ligne 77 : Ligne 140 :
 
|inconnu||style="background-color:#CCCCCC"|#CCCCCC
 
|inconnu||style="background-color:#CCCCCC"|#CCCCCC
 
|-
 
|-
|concept||style="background-color:#FF9933"|#FF9933
+
|concept||style="background-color:#F3C741"|#F3C741
 
|-
 
|-
|experimental||style="background-color:#00B"|<span style="color:white"> #00B </span>
+
|experimental||style="background-color:#FF3D09"|<span style="color:white"> #FF3D09</span>
 
|-
 
|-
|fonctionne||style="background-color:#009200"|#00920
+
|fonctionne||style="background-color:#5F6E3C"|#5F6E3C
 
|-
 
|-
|obsolete||style="background-color:#CCCCCC"|#CCCCCC
+
|obsolete||style="background-color:#d3353c"|#d3353c
 
|-
 
|-
|prototype||style="background-color:#2B60DE"|#2B60DE
+
|prototype||style="background-color:#284481"|#284481
 
|-
 
|-
|abandoné||style="background-color:#000000"|<span style="color:white"> #000000 </span>
+
|abandoné||style="background-color:#463e34"|<span style="color:white"> #463e34</span>
 
|}
 
|}
 
===Image===
 
===Image===
Ligne 132 : Ligne 195 :
 
}}
 
}}
 
|}
 
|}
 
 
  
 
=Todo=
 
=Todo=
Ligne 139 : Ligne 200 :
 
* Change "Based On" to "Related", otherwise sui-generis stuff looks funny
 
* Change "Based On" to "Related", otherwise sui-generis stuff looks funny
 
* Add "required" or "sub assemblies"? (need to think about this)
 
* Add "required" or "sub assemblies"? (need to think about this)
 
  
 
==Influences/Design==
 
==Influences/Design==
Ligne 171 : Ligne 231 :
 
* [[Development]]
 
* [[Development]]
 
* [[:Category: Development]]
 
* [[:Category: Development]]
 
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>
 
<noinclude>[[category:datafab]]</noinclude>
 
<noinclude>[[category:datafab]]</noinclude>

Version du 2 juillet 2019 à 09:24


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 #F3C741
experimental #FF3D09
fonctionne #5F6E3C
obsolete #d3353c
prototype #284481
abandoné #463e34

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