Difference between revisions of "Template:NamespaceName"

From OOModels
Jump to navigationJump to search
Line 1: Line 1:
<includeonly>Hallo</includeonly><noinclude>
<includeonly>
{{#if:
  {{#ifeq:{{NAMESPACE}}|Artefact|true|}}
  {{#ifeq:{{NAMESPACE}}|Software|true|}}
    |{{#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:48, 9 July 2008

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