Templates

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Added all currently possible templates with examples)
Line 1: Line 1:
The following templates are used for Documentation:
+
Templates are little snippets what you can insert while editing the Wiki. They will be automatically replaced to the tempate's content, for example a large blue box with predefined text, when viewing the page.
  
* [[Sample Native-Finger Application]]
+
The following templates are used for documentation. Click on template names to link to their page for more information. You can copy-paste the examples directly from this page into your article
* [[Sample Native-Stylus Application]]
+
* [[Sample Panel Application]]
+
* [[Sample Widget]]
+
  
 +
== Templates for editor notes on pages ==
  
* [[Template:Hardware_Wishlist]]
+
=== [[:Template:Citation needed]]===
* [[Template:Improve]]
+
* [[Template:Main]]
+
* [[Template:Note]]
+
* [[Template:Todo]]
+
* [[Template:Unimplemented]]
+
* [[Template:Warning]]
+
* [[Template:Wishlist]]
+
  
<span id="bottom"></span>  
+
When a {{citation needed}} to confirm a statement:
 +
 
 +
<pre>
 +
{{Citation needed}}
 +
</pre>
 +
 
 +
===[[:Template:Editing]]===
 +
 
 +
When you do a large cleanup on a page for some days:
 +
 
 +
{{Editing|Kempelen|08/05/2008|your notes...}}
 +
 
 +
<pre>
 +
{{Editing|your_username_here|date_here|editing_summary_here}}
 +
</pre>
 +
 
 +
===[[:Template:Hardware_Wishlist]]===
 +
 
 +
An idea or request for a hardware change:
 +
 
 +
{{Hardware_Wishlist}}
 +
 
 +
<pre>
 +
{{Hardware_Wishlist}}
 +
</pre>
 +
 
 +
===[[:Template:Improve]]===
 +
 
 +
When you want to mark an incomplete Wiki section:
 +
 
 +
{{Improve}}
 +
 
 +
<pre>
 +
{{Improve}}
 +
</pre>
 +
 
 +
===[[:Template:InProgress]]===
 +
 
 +
When a feature is not yet ready, but is in progress:
 +
 
 +
{{InProgress}}
 +
 
 +
<pre>
 +
{{InProgress}}
 +
</pre>
 +
 
 +
===[[:Template:Main]]===
 +
 
 +
When a section in an article is basically a reference to another complete Wiki page, you can supress longer explanation by linking to the main page.
 +
 
 +
{{Main|Qtopia}}
 +
 
 +
<pre>
 +
{{Main|Another article}}
 +
</pre>
 +
 
 +
===[[:Template:Note]]===
 +
 
 +
To add an important note to a paragraph or article:
 +
 
 +
{{Note|This is an important note here.}}
 +
 
 +
<pre>
 +
{{Note|your text}}
 +
</pre>
 +
 
 +
===[[:Template:Outdated]]===
 +
 
 +
Mark outdated information:
 +
 
 +
{{Outdated}}
 +
 
 +
<pre>
 +
{{Outdated}}
 +
</pre>
 +
 
 +
===[[:Template:ProgressUnknown]]===
 +
 
 +
Progress unknown:
 +
 
 +
{{ProgressUnknown}}
 +
 
 +
<pre>
 +
{{ProgressUnknown}}
 +
</pre>
 +
 
 +
===[[:Template:Signature]]===
 +
 
 +
Telling people to add their signature:
 +
 
 +
{{Signature}}
 +
 
 +
<pre>
 +
{{Signature}}
 +
</pre>
 +
 
 +
===[[:Template:Special_Hardware]]===
 +
 
 +
Notification about unusual hardware stuff:
 +
 
 +
{{Special_Hardware}}
 +
 
 +
<pre>
 +
{{Special_Hardware}}
 +
</pre>
 +
 
 +
=== [[:Template:Stub]] ===
 +
 
 +
Mark an article or section which needs to be written.
 +
 
 +
{{Stub}}
 +
 
 +
<pre>
 +
{{Stub}}
 +
</pre>
 +
 
 +
===[[:Template:Todo]]===
 +
 
 +
Section or article which needs to be written, development or other task which has to be done.
 +
 
 +
{{todo|The todo text comes here}}
 +
 
 +
<pre>
 +
{{todo|The todo text comes here}}
 +
</pre>
 +
 
 +
===[[:Template:Unimplemented]]===
 +
 
 +
Unimplemented things:
 +
 
 +
{{Unimplemented}}
 +
 
 +
<pre>
 +
{{Unimplemented}}
 +
</pre>
 +
 
 +
===[[:Template:Warning]]===
 +
 
 +
Things where extra caution should be taken:
 +
 
 +
{{Warning|your text here}}
 +
 
 +
<pre>
 +
{{Warning|your text here}}
 +
</pre>
 +
 
 +
===[[:Template:Wishlist]]===
 +
 
 +
Openmoko wishlist item, not hardware (see Hardware_Wishlist above).
 +
 
 +
{{Wishlist}}
 +
 
 +
<pre>
 +
{{Wishlist}}
 +
</pre>
 +
 
 +
== Content templates ==
 +
 
 +
===[[:Template:Languages]]===
 +
 
 +
The links to all other languages:
 +
 
 +
{{Languages}}
 +
 
 +
<pre>
 +
{{Languages}}
 +
</pre>
 +
 
 +
===[[:Template:Yes]], [[:Template:No]], [[:Template:Maybe]], [[:Template:Unknown]]===
 +
 
 +
For tables with various featrure lists and others, where these values are possible.
 +
 
 +
{| border=1 cellspacing=0 cellpadding=4
 +
!
 +
!Neo 1973
 +
!FreeRunner
 +
|-
 +
|Feautre 1
 +
|{{Yes}}
 +
|{{No}}
 +
|-
 +
|Feature 2
 +
|{{Maybe}}
 +
|{{Unknown}}
 +
|}
 +
 
 +
<pre>
 +
{{Yes}}
 +
{{No}}
 +
{{Maybe}}
 +
{{Unknown}}
 +
</pre>
 +
 
 +
=== Status table rows ===
 +
 
 +
Software planning tables:
 +
 
 +
{| class="wikitable sortable" border="1" cellpadding="5" cellspacing="0" style="border: gray solid 1px; border-collapse: collapse; text-align: left; width: 100%;"
 +
|-style="background: #ececec; white-space:nowrap;"
 +
!Status
 +
!Project name
 +
!Description
 +
!Contact
 +
{{FeatureDone|Project|Description|email|Name}}
 +
{{FeatureTodo|Project|Description|email|Name}}
 +
|}
 +
 
 +
<pre>
 +
{{feature|white|white|Status|Project|Description|email|Name}}
 +
{{FeatureDone|Project|Description|email|Name}}
 +
{{FeatureInProgress|Project|Description|email|Name}}
 +
{{FeatureRedo|Project|Description|email|Name}}
 +
{{FeatureTodo|Project|Description|email|Name}}
 +
</pre>
 +
 
 +
Available status table rows:
 +
 
 +
* [[:Template:Feature]]
 +
* [[:Template:FeatureDone]]
 +
* [[:Template:FeatureInProgress]]
 +
* [[:Template:FeatureRedo]]
 +
* [[:Template:FeatureTesting]]
 +
* [[:Template:FeatureTodo]]
 +
 
 +
== Page templates ==
 +
 
 +
 
 +
* [[Sample Native-Finger Application]]
 +
* [[Sample Native-Stylus Application]]
 +
* [[Sample Panel Application]]
  
 
{{Languages|Templates}}
 
{{Languages|Templates}}
  
 
[[Category:Templates| ]]
 
[[Category:Templates| ]]

Revision as of 22:47, 6 August 2008

Templates are little snippets what you can insert while editing the Wiki. They will be automatically replaced to the tempate's content, for example a large blue box with predefined text, when viewing the page.

The following templates are used for documentation. Click on template names to link to their page for more information. You can copy-paste the examples directly from this page into your article

Contents

Templates for editor notes on pages

Template:Citation needed

When a Citation needed

to confirm a statement:
{{Citation needed}}

Template:Editing

When you do a large cleanup on a page for some days:

Editing: (08/05/2008) This page is being edited by Kempelen: your notes...

If this note persists without edits in the history, feel free to remove the Editing template from the page.


{{Editing|your_username_here|date_here|editing_summary_here}}

Template:Hardware_Wishlist

An idea or request for a hardware change:

Hardware wishes warning! This article or section documents a Hardware Wish List item, the features described here may or may not be implemented in future devices.
{{Hardware_Wishlist}}

Template:Improve

When you want to mark an incomplete Wiki section:

Need improvement: This article or section needs improving. Feel free to add content.
{{Improve}}

Template:InProgress

When a feature is not yet ready, but is in progress:

In progress: This article or section documents one or more features whose implementation are in progress.
{{InProgress}}

Template:Main

When a section in an article is basically a reference to another complete Wiki page, you can supress longer explanation by linking to the main page.

Main article: Qtopia


{{Main|Another article}}

Template:Note

To add an important note to a paragraph or article:

NOTE: This is an important note here.


{{Note|your text}}

Template:Outdated

Mark outdated information:

Outdated warning ! This article or section is significantly outdated, either by significant hardware or software changes. Procedures mentioned in this page may well not work for current hardware/software.


{{Outdated}}

Template:ProgressUnknown

Progress unknown:

Progress unknown: This article or section documents one or more features whose implementation has progress unknown.


{{ProgressUnknown}}

Template:Signature

Telling people to add their signature:

Add your signature! In order to help others follow the discussion, please add your signature.

You can automatically add your signature by typing the signature tag --~~~~ or using the 2nd button from the right above your input box.


{{Signature}}

Template:Special_Hardware

Notification about unusual hardware stuff:

Template:Special Hardware

{{Special_Hardware}}

Template:Stub

Mark an article or section which needs to be written.

Stub: This is a stub. You can help OpenMokoWiki by expanding it.


{{Stub}}

Template:Todo

Section or article which needs to be written, development or other task which has to be done.

TODO: The todo text comes here (See: To-Do List)
{{todo|The todo text comes here}}

Template:Unimplemented

Unimplemented things:

Template:Unimplemented

{{Unimplemented}}

Template:Warning

Things where extra caution should be taken:

WARNING: your text here


{{Warning|your text here}}

Template:Wishlist

Openmoko wishlist item, not hardware (see Hardware_Wishlist above).

Wishes warning! This article or section documents one or more OpenMoko Wish List items, the features described here may or may not be implemented in the future.
{{Wishlist}}

Content templates

Template:Languages

The links to all other languages:


{{Languages}}

Template:Yes, Template:No, Template:Maybe, Template:Unknown

For tables with various featrure lists and others, where these values are possible.

Neo 1973 FreeRunner
Feautre 1 yes no
Feature 2 maybe


?


{{Yes}}
{{No}}
{{Maybe}}
{{Unknown}}

Status table rows

Software planning tables:

Status Project name Description Contact
DONE Project Description Name <email>



TODO Project Description Name <email>



{{feature|white|white|Status|Project|Description|email|Name}}
{{FeatureDone|Project|Description|email|Name}}
{{FeatureInProgress|Project|Description|email|Name}}
{{FeatureRedo|Project|Description|email|Name}}
{{FeatureTodo|Project|Description|email|Name}}

Available status table rows:

Page templates

Personal tools