VbzCart/Template:page/code/class: Difference between revisions
< VbzCart
Jump to navigation
Jump to search
imported>Woozle ("in project" property was not specified) |
imported>Woozle (version SMW) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{set:in project={{ROOTPAGENAME}}}}{{#set:thing type={{ROOTPAGENAME}}/class}}{{#set:class name={{SUBPAGENAME}}}}</includeonly><noinclude>Makes the following assumptions, and assigns properties accordingly: | <includeonly>{{#set:in project={{ROOTPAGENAME}}}}{{#set:thing type={{ROOTPAGENAME}}/class}}{{#set:class name={{SUBPAGENAME}}}}{{#set:version={{#titleparts:{{PAGENAME}}|1|2}}}}</includeonly><noinclude>Makes the following assumptions, and assigns properties accordingly: | ||
* the base page name is the name of the page's project | * the base page name is the name of the page's project | ||
* the page is about a class within that project | * the page is about a class within that project | ||
* the subpage name is the name of that class | * the subpage name is the name of that class | ||
</noinclude> | </noinclude> |
Latest revision as of 16:00, 19 January 2019
Makes the following assumptions, and assigns properties accordingly:
- the base page name is the name of the page's project
- the page is about a class within that project
- the subpage name is the name of that class