Template:L/ver/clade: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
(wasn't including arg 2 in path (not sure I have it right yet, either))
(shortened optional param names)
Line 1: Line 1:
<noinclude>Basically the same as {{lt|l/ver}}, but with a prefix ("clade"), not lowercased, and argument 2 is both shown and added to the path. Adapted from [[Template:L/ver/class]].
[[{{{p|{{#titleparts:{{PAGENAME}}|1|1}}}}}/{{{v|{{#titleparts:{{PAGENAME}}|1|2}}}}}/clade/{{{1}}}/{{{2}}}|{{{2|{{{1}}}}}}]]
</noinclude>[[{{{project|{{#titleparts:{{PAGENAME}}|1|1}}}}}/{{{version|{{#titleparts:{{PAGENAME}}|1|2}}}}}/clade/{{{1}}}/{{{2}}}|{{{2|{{{1}}}}}}]]
<templatedata>
{
"params": {
"1": {
"description": "namespace for clade",
"type": "string",
"required": true
},
"2": {
"description": "clade endname (i.e. name within namespace)",
"type": "string",
"required": true
},
"p": {
"aliases": [
"project"
],
"description": "name of project",
"example": "Ferreteria",
"type": "string"
},
"v": {
"aliases": [
"version"
],
"description": "version number within project",
"example": "v0.6",
"type": "string"
}
},
"description": "Basically the same as {{lt|l/ver}}, but with a prefix (\"clade\"), not lowercased, and argument 2 is both shown and added to the path. Adapted from [[Template:L/ver/class]]."
}
</templatedata>

Revision as of 15:57, 11 March 2025

[[L/ver/clade/{{{1}}}/{{{2}}}|{{{1}}}]]

Basically the same as {{lt|l/ver}}, but with a prefix ("clade"), not lowercased, and argument 2 is both shown and added to the path. Adapted from [[Template:L/ver/class]].

Template parameters

ParameterDescriptionTypeStatus
11

namespace for clade

Stringrequired
22

clade endname (i.e. name within namespace)

Stringrequired
pp project

name of project

Example
Ferreteria
Stringoptional
vv version

version number within project

Example
v0.6
Stringoptional