Difference between revisions of "Template:NamespaceName"
From OOModels
Jump to navigationJump to search
AndreasLeue (talk | contribs) |
AndreasLeue (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#if: | ||
{{#ifeq:{{NAMESPACE}}|Artefact|true|}} | |||
{{#ifeq:{{NAMESPACE}}|Software|true|}} | |||
{{#ifeq:{{NAMESPACE}}|Product|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> |
Latest revision as of 13:46, 17 July 2008
This template determines the (reverse domain) namespace name from the current page name