Difference between revisions of "Template:Metabox"

From OOModels
Jump to navigationJump to search
Line 1: Line 1:
<includeonly>{| cellpadding="2" cellspacing="1" width="300px" class="metabox"
<includeonly>{| cellpadding="2" cellspacing="1" width="300px" class="metabox"
! Classification
!colspan="2"| Classification
|-  
|-  
|
{| width="100%"
{{#if: {{{Meta_Type|}}}|
{{#if: {{{Meta_Type|}}}|
{{!}} ''Type''
{{!}} ''Type''
Line 87: Line 85:
{{!}} ''Maturity''
{{!}} ''Maturity''
{{!}} {{{Meta_Maturity}}}
{{!}} {{{Meta_Maturity}}}
{{!-}}
|}}
|}}
|}{{#if: {{#ifeq: {{lc:{{{Meta_Download|false}}}}}|true|true|}}{{{Meta_Link|}}}|
{{#if: {{#ifeq: {{lc:{{{Meta_Download|false}}}}}|true|true|}}{{{Meta_Link|}}}|
{{!-}}
!colspan="2"! More
! More
|-
{{#ifeq: {{lc:{{{Meta_Download|false}}}}}|true|
{{#ifeq: {{lc:{{{Meta_Download|false}}}}}|true|
{{!}}colspan="2"{{!}} {{DownloadableArtefact}}
{{!-}}
{{!-}}
{{!}}colspan="2"{{!}} {{DownloadableArtefact}}
|}}
|}}
{{#if: {{{Meta_Link|}}}|
{{#if: {{{Meta_Link|}}}|
{{!}}colspan="2"{{!}} [{{{Meta_Link}}} {{{Meta_Link}}}]
{{!-}}
{{!-}}
{{!}}colspan="2"{{!}} [{{{Meta_Link}}} {{{Meta_Link}}}]
}}
}}
|}}{{#if:{{{Meta_Category|}}}|
|}}
{{#if:{{{Meta_Category|}}}|
{{#ifeq:{{NAMESPACE}}|Namespace||
{{#ifeq:{{NAMESPACE}}|Namespace||
{{!-}}
!colspan="2"! Namespace ([[Namespace:{{NamespaceName|IsPackage={{#switch:{{{Meta_Category||}}}|Type:org/oomodels/wiki/Package=true|Type:org/oomodels/wiki/Domain=true|false}}}}|more]])
! Namespace ([[Namespace:{{NamespaceName|IsPackage={{#switch:{{{Meta_Category||}}}|Type:org/oomodels/wiki/Package=true|Type:org/oomodels/wiki/Domain=true|false}}}}|more]])
{{!-}}
{{!-}}
{{!}}colspan="2"{{!}}
{{!}}colspan="2"{{!}}
{{Namespace:{{NamespaceName|IsPackage={{#switch:{{{Meta_Category||}}}|Type:org/oomodels/wiki/Package=true|Type:org/oomodels/wiki/Domain=true|false}}}}}}
{{Namespace:{{NamespaceName|IsPackage={{#switch:{{{Meta_Category||}}}|Type:org/oomodels/wiki/Package=true|Type:org/oomodels/wiki/Domain=true|false}}}}}}
}}|}}
{{!-}}
}}
|}}
|}
|}
</includeonly><noinclude>
</includeonly><noinclude>

Revision as of 12:25, 3 July 2008


This template is used to add meta data to artefacts