Jump to content

Do not begin to migrate content here, it may be wiped without notice. More info.

Template:PageHeader: Difference between revisions

From Debian Wiki
Created page with "<includeonly>{{TranslationList}}</includeonly><noinclude> General information that goes at the top of every page (e.g. translations). </noinclude>"
 
Add PageHeader/Package
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{TranslationList}}</includeonly><noinclude>
<onlyinclude><includeonly>{{TranslationList}}{{#ifeq:{{{RevampReviewNeeded|0}}}|1|[[Category:RevampReviewNeeded]]}}{{#if:{{{Package|}}}|{{PageHeader/Package|{{{Package|}}}|{{{SourcePackage|{{{Package|}}}}}}}}}}</includeonly></onlyinclude>
General information that goes at the top of every page (e.g. translations).
<templatedata>
</noinclude>
{
    "description": "General information that goes at the top of every page (e.g. translations)",
    "params": {
        "RevampReviewNeeded": {
            "type": "boolean",
            "required": false,
            "default": "0",
            "description": "Whether this page still needs to be reviewed after the migration from MoinMoin",
            "example":  "RevampReviewNeeded=1"
        },
        "Package": {
            "type": "line",
            "required": false,
            "default": "",
            "description": "Name of the (binary) package associated with this page",
            "example":  "Package=golang"
        },
        "SourcePackage": {
            "type": "line",
            "required": false,
            "default": "{{Package|}}",
            "description": "Name of the source package associated with this page",
            "example":  "SourcePackage=golang-defaults"
        }
    }
}
</templatedata>

Latest revision as of 11:31, 20 August 2025

General information that goes at the top of every page (e.g. translations)

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
RevampReviewNeededRevampReviewNeeded

Whether this page still needs to be reviewed after the migration from MoinMoin

Default
0
Example
RevampReviewNeeded=1
Booleanoptional
PackagePackage

Name of the (binary) package associated with this page

Default
Example
Package=golang
Lineoptional
SourcePackageSourcePackage

Name of the source package associated with this page

Default
{{Package|}}
Example
SourcePackage=golang-defaults
Lineoptional