Template:DevTopicWarning: 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" }, "type": { "label": "Type", "description": "A word or phrase to describe what the arti...")
Tag: Source edit
 
mNo edit summary
Tag: Source edit
Line 56: Line 56:
| mr = 13
| mr = 13
| mrtitle = ACS function: "GetPlayerStatus"
| mrtitle = ACS function: "GetPlayerStatus"
|}
}}
</noinclude>{{WarningBox
</noinclude>{{WarningBox
| content = This article documents {{#if: {{{type|}}} | {{{type}}} | a feature}} which is '''only available in the <span class='plainlinks'><code>[https://foss.heptapod.net/{{#if: {{{repository|}}} | {{{repository}}} | zandronum/zandronum-stable}}/-/tree/topic/{{#if: {{{branch|}}} | {{{branch}}} | default}}/{{{1}}} {{{1}}}]</code></span> Mercurial topic'''.
| content = This article documents {{#if: {{{type|}}} | {{{type}}} | a feature}} which is '''only available in the <span class='plainlinks'><code>[https://foss.heptapod.net/{{#if: {{{repository|}}} | {{{repository}}} | zandronum/zandronum-stable}}/-/tree/topic/{{#if: {{{branch|}}} | {{{branch}}} | default}}/{{{1}}} {{{1}}}]</code></span> Mercurial topic'''.

Revision as of 22:19, 24 January 2024

Warning box indicating the article described in-development features

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
Typetype

A word or phrase to describe what the article is about

Default
a feature
Example
feature, ACS function, special lump
Contentsuggested
Merge requestmr

ID of the merge request

Numberoptional
Merge request titlemrtitle

Title of the merge request

Stringoptional

Examples

This article documents a feature which is only available in the [https://foss.heptapod.net/zandronum/zandronum-stable/-/tree/topic/default/ acs-getplayerstatus
 acs-getplayerstatus

] Mercurial topic. Also see the following merge request: [https://foss.heptapod.net/zandronum/zandronum-stable/-/merge_requests/13 !13{

ACS function: "GetPlayerStatus"]
This article documents a feature which is only available in the {{{1}}} Mercurial topic.