« Modèle:Projet » : différence entre les versions

De Wiki du ThiLab
(Page créée avec « <includeonly> {{#widget:if|a={{{status|Unknown}}}|b=Inconnu|then=<style>.Cartouche{border-color:#CCCCCC;}</style>}} {{#widget:if|a={{{status|Unknown}}}|b=Abandonné|then=<... »)
 
Aucun résumé des modifications
 
(32 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>__NOTOC__{{#default_form:Projet}}[[category:Projets]]{{#ifexist: Image:{{{fichier}}} |[[Image::Fichier:{{{fichier}}}| ]][[Image:{{{fichier}}} |right|290px]]|[[Image::Fichier:Thilab.logo.png| ]][[Image:Thilab.logo.png|right|290px]]}}<h2>Description</h2>
{{#widget:if|a={{{status|Unknown}}}|b=Inconnu|then=<style>.Cartouche{border-color:#CCCCCC;}</style>}}
{{{description|}}}
{{#widget:if|a={{{status|Unknown}}}|b=Abandonné|then=<style>.Cartouche{border-color:#000000;}</style>}}
<h2>Contributeur(s)</h2>
{{#widget:if|a={{{status|Unknown}}}|b=Obsolete|then=<style>.Cartouche{border-color:#CCCCCC;}</style>}}
{{#arraymap:{{{contributeurs|}}}|,|x|*[[contributeur::User:x|x]]|\n}}
{{#widget:if|a={{{status|Unknown}}}|b=Concept|then=<style>.Cartouche{border-color:#FF9933;}</style>}}
<h2>Licence</h2>
{{#widget:if|a={{{status|Unknown}}}|b=Experimental|then=<style>.Cartouche{border-color:#00B;}</style>}}
{{{licence|Probablement "libre"}}}
{{#widget:if|a={{{status|Unknown}}}|b=Fonctionnel|then=<style>.Cartouche{border-color:#009200;}</style>}}
<h2>Inspiration</h2>
{{#widget:if|a={{{status|Unknown}}}|b=Prototype|then=<style>.Cartouche{border-color:#2B60DE;}</style>}}
{{{inspiration|Probablement original}}}
 
<h2>Etat</h2>
[[category:Projets]]
{{{etat|}}}
 
<h2>Ingrédients</h2>
<div class="Cartouche" style="float: right; width:100%;color: Gray; padding-top: 3px; padding-bottom: 5px; font-weight: bold; border-style:dotted;">
{{#arraymap:{{{ingrédients|}}}|,|x|*[[ingrédients::x|x]]|\n}}
Statut: [[status::{{{status|inconnu}}}]]
<h2>Savoir-faire nécessaires</h2>
 
{{#arraymap:{{{savoirs|}}}|,|x|*[[savoirs::x|x]]|\n}}
<div class="infos" style="background-color: white; width:60%;  padding-top: 5px; color: black; font-weight: normal;display: inline-block;">
<h2>Logiciels requis</h2>
 
{{#arraymap:{{{logiciels|}}}|,|x|*[[logiciels::x|x]]|\n}}
{|border="0" cellpadding="3" cellspacing="0"
<h2>Lien externe (forum)</h2>
|{{#ifexist: Image:{{{image}}} |[[Image::Fichier:{{{image}}}| ]][[Image:{{{image}}} |center|290px]]|[[Image::Fichier:JoliAfficheur.jpg| ]][[Image:JoliAfficheur.jpg |center|290px]]}}
{{{url|Pas de lien}}}</includeonly><noinclude>
|| 
<h2>Documentation du modèle</h2>
 
[[Category:Modèle]]
{|-
| style="vertical-align: top" | '''Description''' || [[description::{{{description|...}}}]]
|-
| 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|}}}
|-
| style="vertical-align: top" | '''Fichiers source''' || {{{source|}}}
|-
| style="vertical-align: top" | '''Ingrédients''' || {{#arraymap:{{{ingrédients|}}}|,|x|[[ingrédient::x|x]]|\n}}
|-
| style="vertical-align: top" | '''Lien''' || {{{url| }}}
|}
 
|}
 
 
 
 
 
</div>
 
<div style="position : absolute; right:60%;display: inline-block;float:right; width:40%; overflow:hidden; ">
__TOC__
</div>
 
</div>
 
 
 
</includeonly>
 
<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'''==
Un Boite d'infos pour résumer un projet
==Paramètres==
===en-tête===
*'''titre''' (requis)
*'''status''' (requis)
:{| class="wikitable"
!Status Type!!Theme Color
|-
|inconnu||style="background-color:#CCCCCC"|#CCCCCC
|-
|concept||style="background-color:#FF9933"|#FF9933
|-
|experimental||style="background-color:#00B"|<span style="color:white"> #00B </span>
|-
|fonctionne||style="background-color:#009200"|#00920
|-
|obsolete||style="background-color:#CCCCCC"|#CCCCCC
|-
|prototype||style="background-color:#2B60DE"|#2B60DE
|-
|abandoné||style="background-color:#000000"|<span style="color:white"> #000000 </span>
|}
===Image===
*'''image''' (requis)
===General===
*'''description''' (requis)
*'''license''' (requis)
*'''contributeur(s)''' (requis)
*'''reprap''' (requirs)
*'''categories''' (requis)
*'''cadModel''' (required)
*'''url''' (required)
 
==Usage==
{| style="float: right"
| valign="top" | <pre>{{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 =
}}
</pre>
|{{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 =
}}
|}
 
 
 
=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 [http://www.mediawiki.org/wiki/Extension:Add_Metas 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:
 
<pre>{{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    =
}}</pre>
 
==See Also==
* [[Development]]
* [[:Category: Development]]
 
[[Category:Template]]
</noinclude>
</noinclude>
<noinclude>[[category:datafab]]</noinclude>

Dernière version du 18 février 2016 à 20:42

Documentation du modèle