Modèle:Projet : Différence entre versions

De fablabo
Aller à : navigation, rechercher
Ligne 1 : Ligne 1 :
 
<includeonly>
 
<includeonly>
{{#widget:if|a={{{status|Unknown}}}|b=Inconnu|then=<style>.devBox{border-color:#CCCCCC;}</style>}}
+
{{#widget:if|a={{{status|Unknown}}}|b=Inconnu|then=<style>.Cartouche{border-color:#CCCCCC;}</style>}}
{{#widget:if|a={{{status|Unknown}}}|b=Abandonné|then=<style>.devBox{border-color:#000000;}</style>}}
+
{{#widget:if|a={{{status|Unknown}}}|b=Abandonné|then=<style>.Cartouche{border-color:#000000;}</style>}}
{{#widget:if|a={{{status|Unknown}}}|b=Obsolete|then=<style>.devBox{border-color:#CCCCCC;}</style>}}
+
{{#widget:if|a={{{status|Unknown}}}|b=Obsolete|then=<style>.Cartouche{border-color:#CCCCCC;}</style>}}
{{#widget:if|a={{{status|Unknown}}}|b=Concept|then=<style>.devBox{border-color:#FF9933;}</style>}}
+
{{#widget:if|a={{{status|Unknown}}}|b=Concept|then=<style>.Cartouche{border-color:#FF9933;}</style>}}
{{#widget:if|a={{{status|Unknown}}}|b=Experimental|then=<style>.devBox{border-color:#00B;}</style>}}
+
{{#widget:if|a={{{status|Unknown}}}|b=Experimental|then=<style>.Cartouche{border-color:#00B;}</style>}}
{{#widget:if|a={{{status|Unknown}}}|b=Fonctionnel|then=<style>.devBox{border-color:#009200;}</style>}}
+
{{#widget:if|a={{{status|Unknown}}}|b=Fonctionnel|then=<style>.Cartouche{border-color:#009200;}</style>}}
{{#widget:if|a={{{status|Unknown}}}|b=Prototype|then=<style>.devBox{border-color:#2B60DE;}</style>}}
+
{{#widget:if|a={{{status|Unknown}}}|b=Prototype|then=<style>.Cartouche{border-color:#2B60DE;}</style>}}
  
 
[[category:Projets]]
 
[[category:Projets]]
  
<div class="devBox" style="float: right; width:100%;color: Gray; padding-top: 3px; padding-bottom: 5px; font-weight: bold; border-style:dotted;">
+
<div class="Cartouche" style="float: right; width:100%;color: Gray; padding-top: 3px; padding-bottom: 5px; font-weight: bold; border-style:dotted;">
 
Statut: [[status::{{{status|inconnu}}}]]
 
Statut: [[status::{{{status|inconnu}}}]]
  
<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 class="infos" style="background-color: white; width:60%; margin-left: 5px; margin-right: 5px; padding-top: 5px; color: black; font-weight: normal;display: inline-block;">
  
 
{|border="1" cellpadding="3" cellspacing="0"
 
{|border="1" cellpadding="3" cellspacing="0"

Version du 23 octobre 2014 à 15:37






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