Template:KdeGamesSvn2GitRow: Difference between revisions

From KDE Community Wiki
(Add 'rulesby' parameter)
(set an explicit width on the repo column instead; the real problem with wrapping is a KHTML bug)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This is a Mediawiki template. It expands to a table cell.
<noinclude>
 
<div style="padding: 1em; border: solid 1px #36648B; background-color: #D6E9FF">
Test usage:
{{ {{PAGENAME}}/doc }}
{| style="background-color:#EEEEEE"
</div>
{{:Games/GitConversionProgress/Repo|foo|longname=Foo project|rulesby=NA}}
</noinclude><includeonly>|-
|}
</noinclude>
|-
! {{{longname}}}
! {{{longname}}}
| {{#if: {{{rulesby|}}} | | [http://quickgit.kde.org/index.php?p=kde-ruleset.git&a=blob&f=kdegames%2F{{{1}}}-rules {{{rulesby}}}] }}
| {{#if: {{{rulesby|}}} |
    {{#if: {{{inprogress|}}} |
      {{{rulesby}}}%
    |
      [http://quickgit.kde.org/index.php?p=kde-ruleset.git&a=blob&f=kdegames%2F{{{1}}}-rules {{{rulesby}}}]
    }}
  }}
| style="width:3em" | {{#if: {{{scratchby|}}} | [http://quickgit.kde.org/index.php?p={{urlencode:{{{scratch}}}}} {{{scratchby}}}] }}
<!-- Keep this in sync with the column headings in the main page! -->
| {{{completenesscheck|}}}
| {{{docscheck|}}}
| {{{headscheck|}}}
| {{{stablecheck|}}}
| {{{tagscheck|}}}
| {{{branchescheck|}}}</includeonly>

Latest revision as of 23:58, 14 March 2012

This template expands to a table row, for use in Games/GitConversionProgress.

{{KdeGamesSvn2GitRow
| bomber
| longname   = Bomber
| rulesby    = JD
| inprogress = 1
| scratchby  = JD 
| scratch    = scratch/johndoe/kdegames-bomber
| docscheck  = JD
}}

Parameters

First unnamed parameter
Repository name. The conversion rules are expected to be in kdegames/name-rules.
longname=
User-friendly name of the repository. May contain spaces, etc. It's used in the first cell of the table, as a row heading.
rulesby=
Initials of the author of the rules.
inprogress=1
Marks the conversion as being a work in progress. If present, the initials of the rule author are shown with a percent sign following it. Otherwise, the initials are a link to the rules in the kde-ruleset repository.
scratchby=
Initials of the uploader of the scratch repository. If present, the scratch= parameter must be specified too.
scratch=
Path to the scratch repository. Must be present if scratchby= is given.
foocheck=
Initials of the person who performed the 'foo' check. There are several parameters, one for each defined check. The defined checks are:
  • completenesscheck
  • docscheck
  • metadatacheck
  • headscheck
  • stablecheck
  • tagscheck
  • branchnamescheck
  • branchescheck