Ferreteria/v0.5/@cls: Difference between revisions
< Ferreteria | v0.5
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
* [[/menu]] | * [[/menu]] | ||
* [[/page]] | * [[/page]] | ||
==Meta: Paradigm== | |||
This is the class documentation paradigm I'm currently trying. | |||
* Titles for class pages (which includes traits) should not include the [[Conventions/coding#Type Prefixes|prefix]] (c, ca, cs, t, ta, ts). | |||
* The {{<code>l/ver/class</code>|{{arg|class name}}}} template can be used to point to a class name -- either with prefix and no namespace, or with a namespace and no prefix. | |||
* If not namespaced, the target page should redirect to the correct namespace. If there are multiple classes by that name (in different namespaces), it should list them with links. Ideally, the editor using the template would then correct it to point to the right one. |
Revision as of 12:59, 29 June 2022
Ferreteria v0.5 classes «ferret» namespace
|
Classes
- /app classes
Sub-Namespaces
Meta: Paradigm
This is the class documentation paradigm I'm currently trying.
- Titles for class pages (which includes traits) should not include the prefix (c, ca, cs, t, ta, ts).
- The {{
l/ver/class
|<class name>}} template can be used to point to a class name -- either with prefix and no namespace, or with a namespace and no prefix. - If not namespaced, the target page should redirect to the correct namespace. If there are multiple classes by that name (in different namespaces), it should list them with links. Ideally, the editor using the template would then correct it to point to the right one.