Template:page/code/class/method: Difference between revisions
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Created page with "<includeonly>{{#set:in project={{ROOTPAGENAME}}}}{{#set:thing type={{ROOTPAGENAME}}/class method}}{{#set:class name={{#titleparts:{{PAGENAME}}|1|3}}}}{{#set:function name={{SU..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#set:in project={{ROOTPAGENAME}}}}{{#set:thing type={{ROOTPAGENAME}}/class method}}{{#set:class name={{#titleparts:{{PAGENAME}}|1| | <includeonly>{{#set:in project={{ROOTPAGENAME}}}}{{#set:thing type={{ROOTPAGENAME}}/class method}}{{#set:class name={{#titleparts:{{PAGENAME}}|1|4}}}}{{#set:function 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 function within a class within that project | * the page is about a function within a class within that project | ||
* the subpage name is the name of the function | * the subpage name is the name of the function | ||
</noinclude> | </noinclude> | ||
Latest revision as of 13:00, 17 April 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 function within a class within that project
- the subpage name is the name of the function
