Difference between revisions of "Template:Repo link/doc commit"
Jump to navigation
Jump to search
(Creation of the {{repo link/doc commit}} template. This is adapted from the FlightGear page http://wiki.flightgear.org/index.php?title=Template:Repo_link/doc_commit&oldid=94927.) |
m (Fixes for the template {{repo}} parameter usage.) |
||
Line 5: | Line 5: | ||
{{repo link/doc usage | {{repo link/doc usage | ||
− | | template = {{{ | + | | template = {{{label|MISSING}}} commit |
| commit = 1 | | commit = 1 | ||
| type_commit = num | | type_commit = num | ||
Line 24: | Line 24: | ||
{{repo link/doc design sourceforge commit | {{repo link/doc design sourceforge commit | ||
| label{{#if:{{{label|}}}||NULL}} = {{{label}}} | | label{{#if:{{{label|}}}||NULL}} = {{{label}}} | ||
− | | proj | + | | proj{{#if:{{{proj|}}}||NULL}} = {{{proj}}} |
| repo{{#if:{{{repo|}}}||NULL}} = {{{repo}}} | | repo{{#if:{{{repo|}}}||NULL}} = {{{repo}}} | ||
| user = 0 | | user = 0 | ||
Line 34: | Line 34: | ||
== Examples == | == Examples == | ||
=== Auto-generated text === | === Auto-generated text === | ||
− | {{obr}}{{{ | + | {{obr}}{{{label|MISSING}}} commit {{!}} {{{eg1commit|MISSING}}}{{cbr}} |
− | {{{{{ | + | {{{{{label|MISSING}}} commit | {{{eg1commit|MISSING}}} }} |
=== User supplied text === | === User supplied text === | ||
− | {{{eg2intro|MISSING}}} {{obr}}{{{ | + | {{{eg2intro|MISSING}}} {{obr}}{{{label|MISSING}}} commit {{!}} {{{eg2commit|MISSING}}} {{!}} text = {{{eg2text|MISSING}}}{{cbr}}{{#if: {{{eg2post|}}} | {{{eg2post}}} }}. |
{{{eg2intro|MISSING}}} | {{{eg2intro|MISSING}}} | ||
− | {{{{{ | + | {{{{{label|MISSING}}} commit |
| {{{eg2commit|MISSING}}} | | {{{eg2commit|MISSING}}} | ||
| text = {{{eg2text|MISSING}}} | | text = {{{eg2text|MISSING}}} | ||
Line 49: | Line 49: | ||
=== Parameter alias === | === Parameter alias === | ||
− | {{{eg2intro|MISSING}}} {{obr}}{{{ | + | {{{eg2intro|MISSING}}} {{obr}}{{{label|MISSING}}} commit {{!}} {{{eg2commit|MISSING}}} {{!}} t = {{{eg2text|MISSING}}}{{cbr}}{{#if: {{{eg2post|}}} | {{{eg2post}}} }}. |
{{{eg2intro|MISSING}}} | {{{eg2intro|MISSING}}} | ||
− | {{{{{ | + | {{{{{label|MISSING}}} commit |
| {{{eg2commit|MISSING}}} | | {{{eg2commit|MISSING}}} | ||
| t = {{{eg2text|MISSING}}} | | t = {{{eg2text|MISSING}}} | ||
Line 59: | Line 59: | ||
=== Numbered parameters === | === Numbered parameters === | ||
− | {{{eg2intro|MISSING}}} {{obr}}{{{ | + | {{{eg2intro|MISSING}}} {{obr}}{{{label|MISSING}}} commit {{!}} {{{eg2commit|MISSING}}} {{!}} {{{eg2text|MISSING}}}{{cbr}}{{#if: {{{eg2post|}}} | {{{eg2post}}} }}. |
{{{eg2intro|MISSING}}} | {{{eg2intro|MISSING}}} | ||
− | {{{{{ | + | {{{{{label|MISSING}}} commit |
| {{{eg2commit|MISSING}}} | | {{{eg2commit|MISSING}}} | ||
| {{{eg2text|MISSING}}} | | {{{eg2text|MISSING}}} |