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
 
No edit summary
Tag: Source edit
 
(5 intermediate revisions by the same user not shown)
Line 52: Line 52:


==== Examples ====
==== Examples ====
{{DevTopicWarning
{{DevTopicWarning|acs-getplayerstatus}}
| acs-getplayerstatus
 
| mr = 13
{{DevTopicWarning|acs-getplayerstatus|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'''.
{{#if: {{{mr|}}} | Also see the following merge request: '''[https://foss.heptapod.net/{{#if: {{{repository|}}} | {{{repository}}} | zandronum/zandronum-stable}}/-/merge_requests/{{{mr}}} !{{{mr}}}{{{#if: {{{mrtitle|}}} | : {{{mrtitle}}} }}]'''}}
{{#if: {{{mr|}}} | Also see the following merge request: '''[https://foss.heptapod.net/{{#if: {{{repository|}}} | {{{repository}}} | zandronum/zandronum-stable}}/-/merge_requests/{{{mr}}} !{{{mr}}}{{#if: {{{mrtitle|}}} | &#58; {{{mrtitle}}} }}]'''}}
| image = Logo-heptapod.png
| image = Logo-heptapod.png
| color = 000000
| color = 000000

Latest revision as of 21:22, 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 acs-getplayerstatus Mercurial topic.


This article documents a feature which is only available in the acs-getplayerstatus Mercurial topic.

Also see the following merge request: !13: ACS function: "GetPlayerStatus"

This article documents a feature which is only available in the {{{1}}} Mercurial topic.