Шаблон:Development — различия между версиями
Bulatovor (обсуждение | вклад) (Новая страница: «<includeonly> {{#widget:if|a={{{status|Unknown}}}|b=Unknown|then=<style>.devBox{background-color:#CCCCCC;}</style>}} {{#widget:if|a={{{status|Unknown}}}|b=Abandon…») |
(нет различий)
|
Текущая версия на 19:09, 9 июля 2015
Содержание
Template Documentation
An infobox template for describing developments.
Parameters
Header
- title (required)
- status (required)
Status Type Theme Color Unknown #CCCCCC Concept #FF9933 Experimental #00B Working #00920 Obsolete #CCCCCC Abandoned #000000 Prototype #2B60DE
Image
- image (required)
General
- description (required)
- license (required)
- author (required)
- Contributors
- reprap (required)
- categories (required)
- cadModel (required)
- url (required)
Usage
{{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 =
}}
|
{{#widget:if|a=Abandoned|b=Unknown|then=<style>.devBox{background-color:#CCCCCC;}</style>}} {{#widget:if|a=Abandoned|b=Abandoned|then=<style>.devBox{background-color:#000000;}</style>}} {{#widget:if|a=Abandoned|b=Obsolete|then=<style>.devBox{background-color:#CCCCCC;}</style>}} {{#widget:if|a=Abandoned|b=Concept|then=<style>.devBox{background-color:#FF9933;}</style>}} {{#widget:if|a=Abandoned|b=Experimental|then=<style>.devBox{background-color:#00B;}</style>}} {{#widget:if|a=Abandoned|b=Working|then=<style>.devBox{background-color:#009200;}</style>}} {{#widget:if|a=Abandoned|b=Prototype|then=<style>.devBox{background-color:#2B60DE;}</style>}}
Rusty
Release status: Abandoned
|
Todo
- Change "Author" to "Contributors" Шаблон:Ok
- 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 =
}}