Difference between revisions of "Template:NamespaceName"

From OOModels
Jump to navigationJump to search
Line 1: Line 1:
<includeonly>{{#if:
<includeonly>
{{#if:
   {{#ifeq:{{NAMESPACE}}|Artefact|true|}}
   {{#ifeq:{{NAMESPACE}}|Artefact|true|}}
   {{#ifeq:{{NAMESPACE}}|Software|true|}}
   {{#ifeq:{{NAMESPACE}}|Software|true|}}
     |Hallo|Test}}</includeonly><noinclude>
     |{{#titleparts:
        {{#ifeq:{{{IsPackage}}}|true
            |{{PAGENAME}}
            |{{#ifeq:{{{IsVersion}}}|true
              |{{#titleparts:{{BASEPAGENAME}}|-1|}}
              |{{BASEPAGENAME}}
            }}
        }}
        |0|2
      }}
    |{{#ifeq:{{{IsPackage}}}|true
        |{{PAGENAME}}
        |{{#ifeq:{{{IsVersion}}}|true
            |{{#titleparts:{{BASEPAGENAME}}|-1|}}
            |{{BASEPAGENAME}}
        }}
      }}
}}
</includeonly><noinclude>
This template determines the (reverse domain) namespace name from the current page name
This template determines the (reverse domain) namespace name from the current page name
</noinclude>
</noinclude>

Revision as of 07:54, 9 July 2008

This template determines the (reverse domain) namespace name from the current page name