Template:RN GIT REPO WRAPPER: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> <!-- Begin the inclusion section --> | <includeonly> <!-- Begin the inclusion section --> | ||
{{#ifeq: {{{HTTP|}}} | | {{#ifeq: {{{HTTP|}}} | | <!-- Check if the HTTP parameter is an empty string, and provide a case for when it is empty. Keep it on the same line to avoid extra line breaks when it's empty --> | ||
|{{RN_GIT_REPO <!-- If HTTP is provided and not empty, insert the RN_GIT_REPO template --> | |||
|LABEL={{{LABEL}}} <!-- Provide the LABEL parameter --> | |||
|HTTP={{{HTTP}}} <!-- Provide the HTTP parameter --> | |||
|BRANCH={{{BRANCH}}} <!-- Provide the BRANCH parameter --> | |||
|COMMIT={{{COMMIT}}} <!-- Provide the COMMIT parameter --> | |||
}} | |||
}} <!-- End the ifeq function --> | }} <!-- End the ifeq function --> | ||
</includeonly> <!-- End the inclusion section --> | </includeonly> <!-- End the inclusion section --> |