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
(properly generalized)
(version SMW)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<hide>
+
<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:
[[thing type::class/{{{1}}}]]
+
* the base page name is the name of the page's project
[[class name::{{SUBPAGENAME}}]]
+
* the page is about a class within that project
</hide>
+
* the subpage name is the name of that class
 +
</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