Modèle:Projet : Différence entre versions

De fablabo
Aller à : navigation, rechercher
 
(93 révisions intermédiaires par 7 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
 +
 
<includeonly>
 
<includeonly>
{{#widget:if|a={{{status|Unknown}}}|b=Inconnu|then=<style>.devBox{background-color:#CCCCCC;}</style>}}
+
{{#seo:
{{#widget:if|a={{{status|Unknown}}}|b=Abandonné|then=<style>.devBox{background-color:#000000;}</style>}}
+
|og:site_name=fablabo.net
{{#widget:if|a={{{status|Unknown}}}|b=Obsolete|then=<style>.devBox{background-color:#CCCCCC;}</style>}}
+
|titlemode=append
{{#widget:if|a={{{status|Unknown}}}|b=Concept|then=<style>.devBox{background-color:#FF9933;}</style>}}
+
|keywords=these,are,your,keywords
{{#widget:if|a={{{status|Unknown}}}|b=Experimental|then=<style>.devBox{background-color:#00B;}</style>}}
+
|description={{{description}}}
{{#widget:if|a={{{status|Unknown}}}|b=Fonctionnel|then=<style>.devBox{background-color:#009200;}</style>}}
+
|og:image={{filepath:{{{image}}}}}
{{#widget:if|a={{{status|Unknown}}}|b=Prototype|then=<style>.devBox{background-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="vf-cartouche-infos">
 +
<div class="vf-cartouche-infos-titre">
 +
Inspiration
 +
</div> 
 +
<div class="vf-cartouche-infos-donnee">
 +
{{{inspiration| }}}
 +
</div>
 +
</div>
 +
 +
<div class="vf-cartouche-infos">
 +
<div class="vf-cartouche-infos-titre">
 +
Fichiers source
 +
</div> 
 +
<div class="vf-cartouche-infos-donnee">
 +
{{{source|}}}
 +
</div>
 +
</div>
 +
 +
<div class="vf-cartouche-infos">
 +
<div class="vf-cartouche-infos-titre">
 +
Machines
 +
</div> 
 +
<div class="vf-cartouche-infos-donnee">
 +
{{#arraymap:{{{machines|}}}|,|x|[[machine::x|x]]|\n}}
 +
</div>
 +
</div>
 +
 +
<div class="vf-cartouche-infos">
 +
<div class="vf-cartouche-infos-titre">
 +
Matériaux
 +
</div> 
 +
<div class="vf-cartouche-infos-donnee">
 +
{{#arraymap:{{{ingrédients|}}}|,|x|[[ingrédient::x|x]]|\n}}
 +
</div>
 +
</div>
  
<div class="devBox" style="float: right; width:240px;color: white; padding-top: 3px; padding-bottom: 5px; font-weight: bold;">
+
<div class="vf-cartouche-infos">
[[Image:Crystal Clear action run.png|left|40px]] <span style="font-size: 130%;">{{{name|{{PAGENAME}}}}}</span><br />
+
<div class="vf-cartouche-infos-titre">
Status: [[status::{{{status|Unknown status}}}]]
+
Lien
<div style="background-color: white; margin-left: 5px; margin-right: 5px; padding-top: 5px; color: black; font-weight: normal;">
+
</div>
{{#ifexist: Image:{{{image}}} |[[Image::Fichier:{{{image}}}| ]][[Image:{{{image}}} |center|190px]]|[[Image::Fichier:JoliAfficheur.jpg| ]][[Image:JoliAfficheur.jpg |center|190px]]}}
+
<div class="vf-cartouche-infos-donnee">
{|-
+
{{{url| }}}
| style="vertical-align: top" | '''Description''' || [[description::{{{description|...}}}]]
+
</div>
|-
 
| style="vertical-align: top" | '''License''' || {{{license|GPL 2.0}}}
 
|-
 
|style="vertical-align: top" | '''Contributeur(s)''' || {{#arraymap:{{{contributeurs|}}}|,|x|[[contributeur::User:x|x]]|\n}}
 
|-
 
| style="vertical-align: top" | '''Inspiration''' || [[{{{inspiration|(nothing)}}}]]
 
|-
 
| style="vertical-align: top" | '''Materiaux''' || {{#arraymap:{{{materiaux|}}}|,|x|[[materiau::x|x]]|\n}}
 
|-
 
| style="vertical-align: top" | '''Lien''' || {{{url|none}}}
 
|}
 
 
</div>
 
</div>
  
 +
 +
</div>
 +
</div>
 +
<div id="sommaire">
 +
__TOC__
 +
</div>
 
</div>
 
</div>
{{#arraymap:{{{Categories}}}|,|x|[[Category:x]] |<nowiki> </nowiki>}}
+
<br style="clear:both" />
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
 +
<div class="MachineBox"  style="width:70%;float: left;">
 +
==Taches effectuées dans le cadre de ce projet : ==
 +
 +
{{#ask:[[Category:Travaux]][[Projet::~{{PAGENAME}}]]
 +
|?Description
 +
|?usager
 +
|?ingredient
 +
|format=broadtable
 +
|limit=10
 +
|headers=show
 +
|link=all
 +
|class=sortable wikitable smwtable
 +
|offset=
 +
}}
 +
</div>
  
 
=='''Documentation du modèle'''==
 
=='''Documentation du modèle'''==
Ligne 46 : 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
 
|-
 
|-
|abandoné||style="background-color:#000000"|<span style="color:white"> #000000 </span>
+
|prototype||style="background-color:#284481"|#284481
 +
|-
 +
|abandoné||style="background-color:#463e34"|<span style="color:white"> #463e34</span>
 
|}
 
|}
 
===Image===
 
===Image===
Ligne 71 : Ligne 167 :
 
| valign="top" | <pre>{{Development
 
| valign="top" | <pre>{{Development
 
<!--Header-->
 
<!--Header-->
|name = Rusty
 
 
|status = abandoned
 
|status = abandoned
 
<!--Image-->
 
<!--Image-->
Ligne 87 : Ligne 182 :
 
|{{Development
 
|{{Development
 
<!--Header-->
 
<!--Header-->
|name = Rusty
 
 
|status = abandoned
 
|status = abandoned
 
<!--Image-->
 
<!--Image-->
Ligne 101 : Ligne 195 :
 
}}
 
}}
 
|}
 
|}
 
 
  
 
=Todo=
 
=Todo=
Ligne 108 : 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 140 : Ligne 231 :
 
* [[Development]]
 
* [[Development]]
 
* [[:Category: Development]]
 
* [[:Category: Development]]
 
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>
 
<noinclude>[[category:datafab]]</noinclude>
 
<noinclude>[[category:datafab]]</noinclude>

Version actuelle en date du 22 juillet 2021 à 09:16


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