{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Commit<br>|}}
{{#if:{{{?host|}}}|"{{{?host}}}" is host of it <br>|}}
{{#if:{{{?path|}}}|"{{{?path}}}" is path of it <br>|}}
{{#if:{{{?project|}}}|"{{{?project}}}" is project of it <br>|}}
{{#if:{{{?subject|}}}|"{{{?subject}}}" is subject of it <br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
{{#if:{{{?date|}}}|"{{{?date}}}" is date of it <br>|}}
{{#if:{{{?hash|}}}|"{{{?hash}}}" is hash of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Commit
|Commit host={{{host|}}}
|Commit path={{{path|}}}
|Commit project={{{project|}}}
|Commit subject={{{subject|}}}
|Commit name={{{name|}}}
|Commit date={{{date|}}}
|Commit hash={{{hash|}}}
}}
|#default={{#set:
|isA=Commit
|Commit host={{{host|}}}
|Commit path={{{path|}}}
|Commit project={{{project|}}}
|Commit subject={{{subject|}}}
|Commit name={{{name|}}}
|Commit date={{{date|}}}
|Commit hash={{{hash|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
|tableheader={{{!}} class='wikitable'
!host!!path!!project!!subject!!name!!date!!hash
{{!}}-
|tablerow=
{{!}}{{{host|}}}{{!}}{{!}}{{{path|}}}{{!}}{{!}}{{{project|}}}{{!}}{{!}}{{{subject|}}}{{!}}{{!}}{{{name|}}}{{!}}{{!}}{{{date|}}}{{!}}{{!}}{{{hash|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
host={{#if:{{{host|}}}|{{{host|}}}|}}<br>path={{#if:{{{path|}}}|{{{path|}}}|}}<br>project={{#if:{{{project|}}}|{{{project|}}}|}}<br>subject={{#if:{{{subject|}}}|{{{subject|}}}|}}<br>name={{#if:{{{name|}}}|{{{name|}}}|}}<br>date={{#if:{{{date|}}}|{{{date|}}}|}}<br>hash={{#if:{{{hash|}}}|{{{hash|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Commit
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Commit/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!host
{{!}} {{#if:{{{host|}}}|{{{host|}}}|}}
{{!}}-
!path
{{!}} {{#if:{{{path|}}}|{{{path|}}}|}}
{{!}}-
!project
{{!}} {{#if:{{{project|}}}|{{{project|}}}|}}
{{!}}-
!subject
{{!}} {{#if:{{{subject|}}}|{{{subject|}}}|}}
{{!}}-
!name
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!date
{{!}} {{#if:{{{date|}}}|{{{date|}}}|}}
{{!}}-
!hash
{{!}} {{#if:{{{hash|}}}|{{{hash|}}}|}}
{{!}}-
{{!}}}
}}
}}
Click on "Edit" to edit the noinclude-part Source of this Template.