Template:Product Version: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Created page with "<includeonly> {{#widget:if|a={{{status|Unknown}}}|b=Unknown|then=<style>.devBox{background-color:#CCCCCC;}</style>}} {{#widget:if|a={{{status|Unknown}}}|b=Abandoned|then=<style>....")
 
(Blanked the page)
Line 1: Line 1:
<includeonly>
{{#widget:if|a={{{status|Unknown}}}|b=Unknown|then=<style>.devBox{background-color:#CCCCCC;}</style>}}
{{#widget:if|a={{{status|Unknown}}}|b=Abandoned|then=<style>.devBox{background-color:#000000;}</style>}}
{{#widget:if|a={{{status|Unknown}}}|b=Obsolete|then=<style>.devBox{background-color:#CCCCCC;}</style>}}
{{#widget:if|a={{{status|Unknown}}}|b=Concept|then=<style>.devBox{background-color:#FF9933;}</style>}}
{{#widget:if|a={{{status|Unknown}}}|b=Experimental|then=<style>.devBox{background-color:#00B;}</style>}}
{{#widget:if|a={{{status|Unknown}}}|b=Working|then=<style>.devBox{background-color:#009200;}</style>}}
{{#widget:if|a={{{status|Unknown}}}|b=Prototype|then=<style>.devBox{background-color:#2B60DE;}</style>}}


<div class="devBox" style="float: right; width:240px;color: white; padding-top: 3px; padding-bottom: 5px; font-weight: bold;">
[[Image:Crystal Clear action run.png|left|40px]] <span style="font-size: 130%;">{{{name|{{PAGENAME}}}}}</span><br />
Release status: {{{status|unknown}}}[[Category:{{{status|Unknown status}}} developments]]
<div style="background-color: white; margin-left: 5px; margin-right: 5px; padding-top: 5px; color: black; font-weight: normal;">
[[Image:{{{image|No image available.png}}}|center|190px]]
{|-
| style="vertical-align: top" | '''Description''' || {{{description|none}}}
|-
| style="vertical-align: top" | '''License''' || {{{license|GPL 2.0}}}
|-
| style="vertical-align: top" | '''Author''' || [[User:{{{author|Yourusernamehere}}}|{{{author|YourusernameHere}}}]]
|-
| style="vertical-align: top" | '''Based-on''' || [[{{{reprap|(nothing)}}}]] [[Category:{{{reprap|}}} Development]]
|-
| style="vertical-align: top" | '''Categories''' || {{{categories|none}}}
|-
| style="vertical-align: top" | '''CAD Model(s)''' || {{{cadModel|none}}}
|-
| style="vertical-align: top" | '''External Link''' || {{{url|none}}}
|}
</div>
</div>
[[Category:Development]]
</includeonly><noinclude>
=='''Template Documentation'''==
An infobox template for describing developments.
==Parameters==
===Header===
*'''title''' (required)
*'''status''' (required)
:{| class="wikitable"
!Status Type!!Theme Color
|-
|unknown||style="background-color:#CCCCCC"|#CCCCCC
|-
|concept||style="background-color:#FF9933"|#FF9933
|-
|experimental||style="background-color:#00B"|<span style="color:white"> #00B </span>
|-
|working||style="background-color:#009200"|#00920
|-
|obsolete||style="background-color:#CCCCCC"|#CCCCCC
|-
|abandoned||style="background-color:#000000"|<span style="color:white"> #000000 </span>
|}
===Image===
*'''image''' (required)
===General===
*'''description''' (required)
*'''license''' (required)
*'''author''' (required)
*'''reprap''' (required)
*'''categories''' (required)
*'''cadModel''' (required)
*'''url''' (required)
==Usage==
{| style="float: right"
| valign="top" | <pre>{{Development
<!--Header-->
|name = Rusty
|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-->
|name = Rusty
|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>

Revision as of 04:51, 6 October 2011