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
m Typo
Add PageHeader/Package
 
Line 1: Line 1:
<onlyinclude><includeonly>{{TranslationList}}{{#ifeq:{{{RevampReviewNeeded|0}}}|1|[[Category:RevampReviewNeeded]]}}</includeonly></onlyinclude>
<onlyinclude><includeonly>{{TranslationList}}{{#ifeq:{{{RevampReviewNeeded|0}}}|1|[[Category:RevampReviewNeeded]]}}{{#if:{{{Package|}}}|{{PageHeader/Package|{{{Package|}}}|{{{SourcePackage|{{{Package|}}}}}}}}}}</includeonly></onlyinclude>
<templatedata>
<templatedata>
{
{
Line 10: Line 10:
             "description": "Whether this page still needs to be reviewed after the migration from MoinMoin",
             "description": "Whether this page still needs to be reviewed after the migration from MoinMoin",
             "example":  "RevampReviewNeeded=1"
             "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>
</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