Difference between revisions of "Template:Development"

From SatNOGS Wiki
(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=<styl...")
 
 
Line 1: Line 1:
<includeonly>
+
{| cellpadding="3" style="float:right; border-spacing:0px; background-color:#e27afff; font-size:95%; margin:0 0 0.5em 1em; width:28em; border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;"
{{#widget:if|a={{{status|Unknown}}}|b=Unknown|then=<style>.devBox{background-color:#CCCCCC;}</style>}}
+
! colspan="2" style="color: black; background-color: #f6f6f6; font-weight: bold; text-align:center; font-size: larger; -moz-border-radius-topright: 8px; -moz-border-radius-topleft: 8px; border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;"  | {{{Name}}}
{{#widget:if|a={{{status|Unknown}}}|b=Abandoned|then=<style>.devBox{background-color:#000000;}</style>}}
+
|- class{{{image}}}="hiddenStructure"
{{#widget:if|a={{{status|Unknown}}}|b=Obsolete|then=<style>.devBox{background-color:#CCCCCC;}</style>}}
+
| colspan="2" align="center" bgcolor="#ffffff" style="border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | [[Image:{{{image}}}|thumb|center|{{{Name}}}]]
{{#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>}}
+
!  colspan="2" style="color: black; background-color: #f6f6f6; font-weight: bold; text-align:center; border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | Information
{{#widget:if|a={{{status|Unknown}}}|b=Working|then=<style>.devBox{background-color:#009200;}</style>}}
+
|- class{{{type|}}}="hiddenStructure" bgcolor="#ffffff" valign="top" border-left="0px" border-right="0px" border-bottom="0px" border-top="0px"
{{#widget:if|a={{{status|Unknown}}}|b=Prototype|then=<style>.devBox{background-color:#2B60DE;}</style>}}
+
| style="border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | '''Type:''' || style="border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | {{{type}}}
<div class="devBox" style="float: right; width: 240px; color: white; padding: 5px; margin-left: 15px; border-radius: 15px; font-weight: bold;">
+
|- class{{{type|}}}="hiddenStructure" bgcolor="#ffffff" valign="top" border-left="0px" border-right="0px" border-bottom="0px" border-top="0px"
[[Image:Crystal Clear action run.png|left|40px]] <span style="font-size: 130%;">{{{name|{{PAGENAME}}}}}</span><br />
+
| style="border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | '''Cost:''' || style="border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | {{{cost}}}
Release status: {{{status|unknown}}}[[Category:{{{status|Unknown status}}} developments]]
+
|-  
<div style="background-color: white; padding-top: 5px; border-radius: 0 0 8px 8px; color: black; font-weight: normal;">
+
!  colspan="2" style="color: black; background-color: #f6f6f6; font-weight: bold; text-align:center; border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px; " | Release Information
[[Image:{{{image|No image available.png}}}|center|190px]]
+
|- background-color="#fbfbff" valign="top" border-left="0px" border-right="0px" border-bottom="0px" border-top="0px"
{|-
+
| style="border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | '''Status:''' || style="border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | {{{status}}}
| style="vertical-align: top" | '''Description''' || {{{description|none}}}
+
|- background-color="#fbfbff" valign="top" border-left="0px" border-right="0px" border-bottom="0px" border-top="0px"
|-
+
| style="border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | '''Latest Release:''' || style="border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | [{{{latest-release}}} {{{latest-release-name}}}]
| style="vertical-align: top" | '''License''' || {{{license|GPL 2.0}}}
+
|- background-color="#fbfbff" valign="top" border-left="0px" border-right="0px" border-bottom="0px" border-top="0px"
|-
+
| style="border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | '''Repository:''' || style="border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | [{{{source-repo}}}]
| style="vertical-align: top" | '''Author''' || [[User:{{{author|Driley142}}}|{{{author|Driley142}}}]]
+
|- background-color="#fbfbff" valign="top" border-left="0px" border-right="0px" border-bottom="0px" border-top="0px"
|-
+
| style="border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | '''Documentation:''' || style="border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | [{{{documentation}}}]
| style="vertical-align: top" | '''Contributors''' {{{Contributors|}}}
+
|- background-color="#fbfbff" valign="top" border-left="0px" border-right="0px" border-bottom="0px" border-top="0px"
|-
+
|-
| style="vertical-align: top" | '''Based-on''' || [[{{{reprap|Delta}}}]]
+
! colspan="2" style="color: #3074c2; background-color: #f6f6f6; font-weight: bold; text-align:center; -moz-border-radius-bottomright: 8px; -moz-border-radius-bottomleft: 8px; border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | &nbsp;
|-
 
| style="vertical-align: top" | '''Categories''' || {{{categories|none}}}
 
|-
 
| style="vertical-align: top" | '''CAD Models''' || {{{cadModel|none}}}
 
|-
 
| style="vertical-align: top" | '''External Link''' || {{{url|none}}}
 
 
|}
 
|}
</div>
+
<noinclude>
</div>
+
== [[Syntax]] ==
</includeonly><noinclude>
+
Copy this into your article and leave those sections blank, that you don't need!<br>
 
+
<pre>
==Template Documentation==
+
{{Template:Development
 
+
|Name=
 
+
|image=
==Parameters==
+
|type=
===Header===
+
|status=
*'''title''' (required)
+
|latest-release=
*'''status''' (required)
+
|latest-release-name=
:{| class="wikitable"
+
|source-repo=
!Status Type!!Theme Color
+
|documentation=
|-
 
|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>
 
|-
 
|Prototype||style="background-color:#2B60DE"|#2B60DE
 
|}
 
 
 
===Image===
 
*'''image''' (required)
 
 
 
===General===
 
*'''description''' (required)
 
*'''license''' (required)
 
*'''author''' (required)
 
*'''Contributors'''
 
*'''reprap''' (required)
 
*'''categories''' (required)
 
*'''cadModel''' (required)
 
*'''url''' (required)
 
 
 
==Usage==
 
{| 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
 
|Contributors =
 
|reprap =
 
|categories =
 
|cadModel =  
 
|url =  
 
 
}}
 
}}
 
</pre>
 
</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" {{ok|Contributors added}}
 
* 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>

Latest revision as of 11:22, 22 June 2017

{{{Name}}}
[[Image:{{{image}}}|thumb|center|{{{Name}}}]]
Information
Type: {{{type}}}
Cost: {{{cost}}}
Release Information
Status: {{{status}}}
Latest Release: [{{{latest-release}}} {{{latest-release-name}}}]
Repository: [{{{source-repo}}}]
Documentation: [{{{documentation}}}]
 

Syntax

Copy this into your article and leave those sections blank, that you don't need!

{{Template:Development
|Name=
|image=
|type=
|status=
|latest-release=
|latest-release-name=
|source-repo=
|documentation=
}}