Template:DevTopic: Difference between revisions

From Zandronum Wiki
(Created page with "<noinclude> <templatedata> { "params": { "1": { "label": "Topic name", "type": "string", "required": true }, "repository": { "label": "Heptapod repository", "type": "string", "default": "zandronum/zandronum-stable" }, "Branch": { "label": "Branch", "description": "Branch the topic is based on.", "type": "string", "default": "default" } } } </templatedata> Use this template on new features that are not available yet in the <cod...")
Tag: Source edit
 
No edit summary
Tag: Source edit
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
"default": "default"
"default": "default"
}
}
}
},
"description": "Indicates that a feature is only available in a specific published Mercurial topic.",
"format": "inline"
}
}
</templatedata>
</templatedata>
Use this template on new features that are not available yet in the <code>default</code> (main) branch of the source code.. The template should be removed from all pages when the branch is merged into <code>default</code>. Use [[Special:WhatLinksHere/Template:Devfeature|this page]] to find all the occurences of the template.


'''Examples:'''
'''Examples:'''
Line 32: Line 32:
----
----


</noinclude>'''(development topic <span class='plainlinks'><code>[https://foss.heptapod.net/zandronum/zandronum-stable/-/tree/topic/{{#if: {{{branch|}}} | {{{branch}}} | default}}/{{{1}}} {{{1}}}]</code></span> <font color="red">only</font>)'''<includeonly>[[Category:In-development features]] [[Category:Topic-specific features]]</includeonly>
</noinclude>'''(development topic <span class='plainlinks'><code>[https://foss.heptapod.net/{{#if: {{{repository|}}} | {{{repository}}} | zandronum/zandronum-stable}}/-/tree/topic/{{#if: {{{branch|}}} | {{{branch}}} | default}}/{{{1}}} {{{1}}}]</code></span> <font color="red">only</font>)'''<includeonly>[[Category:In-development features]] [[Category:Topic-specific features]]</includeonly>

Latest revision as of 02:29, 24 January 2024

Indicates that a feature is only available in a specific published Mercurial topic.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Topic name1

no description

Stringrequired
Heptapod repositoryrepository

no description

Default
zandronum/zandronum-stable
Stringoptional
BranchBranch

Branch the topic is based on.

Default
default
Stringoptional

Examples:

{{DevTopic|acs-menufunctions}}
(development topic acs-menufunctions only)


(development topic {{{1}}} only)