Personal tools


Category:Templates

From OrganicDesign

Jump to: navigation, search
This article may require cleaning up to meet OD's quality standards.
Please discuss this issue on the talk page or replace this tag with a more specific message.
Organic Design 2 | OD/Wikia | Wikia.php | Templates | Backup | Extensions



Templates have not been used too extensively on Organic Design for article content, we have mainly been using categories to keep the content organised. When we have used templates, they were mostly either example articles that could be used as a guideline and copied to create similar articles or they were actual Mediawiki templates but were used to indicate that an article requires further work or to display a global message, etc.

We now want to move away from relying on categories to structure content and begin using more templates because the templates way of working is much closer to the class:instance way of working (see below). It will also give us a more consistent look for articles with similar content. We can now categorise articles by making them "members" of certain templates, and by specifying variables in the templates we can generate dynamic reports using the DPL extension. One example for this is the way news articles are displayed, which are all based on the news template:

<dpl>
uses=Template:News
count=20
include=*
mode=none
ordermethod=firstedit
order=descending
</dpl>

Something we were using when Organic Design was still running on XmlWiki was a function called "list-cat" which we used to create lists or tables of articles that belong to a given category. One application was for rendering contact list tables from contact articles, another was for specifying articles to be synchronised between XmlWikis. After upgrading from XmlWiki to Mediawiki 1.9.3, a replacement for list-cat was needed and we saw that DPL in combination with templates would give us a much more powerful and flexible solution.

Let us now collaborate on templates to help organise content, discussions can happen on the talk page of the various templates, additional templates which are required can be added to the list.--Milan 20:20, 20 April 2007 (NZST)

1 Template Best Practices

  • Use templates instead of category links if you ever expect to need semantic annotations or any other kind of change to the member articles.
  • Always wrap semantic annotations within templates to shorten usage syntax and to centralise adjustment of the annotations.
  • Always wrap parser-functions within a template so that articles using the parser-function can be queried (the DPL uses parameter only works on templates, not on parser-function or other magic words).

2 Templates we now need to include

Anything useful within Wikipedia:Template_messages

Reports based on these would include:

  • Contact lists
  • News/blog pages
  • Project lists
  • Task lists
  • Product catalogues/searches
  • Service directories
  • Job boards
  • Transactions (GST, Profit/Loss, Cashflow etc)

3 Messages

We should also start a list of messages for proper internationalisation of our system later on:

  • Component(Warning): Don't modify this article as it is a system component and may be upgraded
  • Action not permitted(Error)
  • Security info

4 Wiki Templates

All together our organisational wiki's (in our OD/Wikia farms) will all share a foundation of content which is common to all. So as this is developed, the new-wiki-template and all the current wiki's in the field must be kept up-to-date (ie peer wikiSync).

5 Document Templates

6 Extensions

see Extensions

7 Skins

8 Forms

  • IRD
  • Invoices
  • Statements

9 Tables

  • financial
  • list
  • portlet
  • expandable
  • tabset
  • wiklet/popup

10 Reports

  • Accounts Payable & Receivable
  • Sales & Income
  • Purchases & Expenses
  • Profit & Loss
  • Budgets, Cashflow & Targets

11 Applicational

  • Browser (explore/search/select/navigate etc)
  • Communications & Contact Management
  • Content Management
  • Development

12 Organisation Templates (incl. business plan aspect)

  • Secretarial/Administration
  • Functions & Seminars
  • Shop front
  • Manufacturing (assembly-line)
  • Storage & Distribution
  • Service Oriented

13 Marketing

14 Project Management

15 Service Offerings/Price Sheet

16 See also

17 Articles in the Template Namespace

17.1 !

17.2 $

17.3 A

17.4 B

17.5 C

17.6 D

17.7 E

17.8 F

17.9 G

17.10 G cont.

17.11 H

17.12 I

17.13 J

17.14 K

17.15 L

17.16 M

17.17 N

17.18 O

17.19 P

17.20 Q

17.21 R

17.22 R cont.

17.23 S

17.24 T

17.25 U

17.26 V

17.27 W

17.28 X

17.29 Y

The GNU Project Debian Linux Ubuntu Linux Wikipedia online encycopedia MediaWiki