Template:Patch: Difference between revisions

From Bonkipedia
[[mw:]]>TheDJ
No edit summary
 
m (1 revision imported: Formatting templates)
 
(No difference)

Latest revision as of 18:01, 12 November 2022

patch
file {{{file}}}
function {{{function}}}
description {{{description}}}
author(s) {{{authors}}}
source {{{source}}}
date {{{date}}}
MediaWiki version {{{mediawiki_version}}}
{{{code}}}
Template documentation

Purpose

This template can be used to format the code an meta-information of provided patches.

Usage

Cut and paste:

{{Patch
| file = 
| function = 
| description = 
| authors = 
| source = 
| date = 
| mediawiki_version = 
| language = 
| code = 
}}

For help with parameter values, see below.

Content parameters

This section describes parameters that govern template content.

parameter optional value default value description
file <translate> Yes</translate> none provided patch has to be applied to this file
function <translate> Yes</translate> none provided patch has to be applied to this function
description <translate> Yes</translate> none what does the provided patch do?
authors <translate> Yes</translate> none who has provided this patch?
source <translate> Yes</translate> none where has this patch been published?
date <translate> Yes</translate> none when has this patch been provided?
mediawiki_version <translate> Yes</translate> none provided patch has to be applied to this MediaWiki version
language <translate> Yes</translate> diff format the code by default as "diff" or chose one of the supported languages for syntax highlighting
code <translate> No</translate> none code of the provided patch