Difference between revisions of "Template:Metabox"

From OOModels
Jump to navigationJump to search
Line 199: Line 199:
|-
|-
| Meta_Vendor
| Meta_Vendor
| Where to the software from.
| Where to get the software from.
| Product pages
| Product pages
| [[Contact:Company/com/sphenon]]
| [[Contact:Company/com/sphenon]]

Revision as of 09:10, 8 July 2008


This template is used to add meta data to artefacts.

Usage[edit]

Add the following code to the start of your wiki page:

{{Metabox
  Meta_NAME1 = VALUE1
  Meta_NAME2 = VALUE2
  ...
}}

Meta Attributes[edit]

Name Description Used on Example
Meta_Type The detailed type of the artefact. It is the name of a wikipage describing the type, the format is Type:.../.../.... This information is used by the DownloadManager and the ArtefactConversion. Artefact pages Type:org/ooem/UMLClass/1.0
Meta_Encoding The detailed encoding of the artefact, which is technically also a type. It is the name of a wikipage describing the encoding, the format is Type:.../.../.... If provided, this information is used in addition to the type by the DownloadManager and the ArtefactConversion. Artefact pages Type:org/xocp/OCP/xml/2.0
Meta_Category The type of the wiki page within oomodels. This information is partially redundant to the name of the page and the type, but not exactly the same. Specifically, the category Type:org/oomodels/wiki/Package is used to automatically include information from the corresponding namespace. Formal wiki pages (Artefacts etc.) Type:org/oomodels/wiki/Model
Meta_Supertype_1 Links to the first supertype page. The format is the same as Meta_Type Type pages Type:org/ooem/UMLModelElement
Meta_Supertype_2 2nd supertype Type pages
Meta_Supertype_3 3rd supertype Type pages
Meta_Supertype_4 4th supertype Type pages
Meta_Supertype_5 5th supertype Type pages
Meta_MIMEType The MIME type for resources of the respective type. It used by the DownloadManager to provide it to the browser when downloading. Type pages text/xml
Meta_FileExtension Extension for files of the respective type. It used by the DownloadManager to provide it to the browser when downloading. Type pages xmi
Meta_Author The author of the artefact. It is the name of a wikipage describing the author, the format is Contact:Person/.../.../... or Contact:Company/.../.../.... Please do not add an email or url directly here, but describe yourself in the context of oomodels a little on a seperate page. Reader's will appreciate this. Arbitrary pages Contact:Person/net/leue/andreas
Meta_Copyright If there's a specific copyright on the code, you may state here so. Please note: by putting an artefact on oomodels.org you agree that anyone can download this code on her machine by means of the DownloadManager, independent of any rights you hold on that artefact. Arbitrary pages 2008 by Hugo Meier
Meta_Owner Within a namespace you are in control of (see Help:Structure), you can declare an ownership of that code. That does not restrict the use of the DownloadManager for anyone to download the respective artefacts. Artefact and Product pages
Meta_Vendor Where to get the software from. Product pages Contact:Company/com/sphenon
Meta_License What license applies to the artefact (if not the default creative commons license) or to the software. Artefact and Product pages. LGPL
Meta_Domain The domain of the artefact. It is the name of a wikipage describing the domain, the format is Domain:.../.../.... Artefact pages Domain:business/industry/insurance
Meta_Maturity The maturity of the page content. Arbitrary pages work in progress
Meta_Download If this is a donwloadable artefact (true or false). Artefact pages true
Meta_Link An additional external link providing more information. Arbitrary pages www.sphenon.de]