Difference between revisions of "Template:page/code/class"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
("in project" property was not specified)
m (syntax goof)
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}}}}</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>

Revision as of 15:39, 10 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