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>{{#ifeq: {{{HTTP|}}} <!-- Check if the HTTP parameter is provided... -->
{{#ifeq: {{{HTTP|}}}                                 <!-- Check if the HTTP parameter is provided... -->
|<!-- ...and compare it to this value (an empty string, in this case) -->
  |                                                   <!-- ...and compare it to this value (an empty string, in this case) -->
|<!-- Case for HTTP not provided or empty -->
  |                                                   <!-- Case for HTTP not provided or empty -->
|{{RN_GIT_REPO <!-- If HTTP is provided and not empty, insert the RN_GIT_REPO template -->
  | {{RN_GIT_REPO                                     <!-- If HTTP is provided and not empty, insert the RN_GIT_REPO template -->
  |LABEL={{{LABEL}}} <!-- Provide the LABEL parameter -->
      |LABEL={{{LABEL}}}                             <!-- Provide the LABEL parameter -->
  |HTTP={{{HTTP}}} <!-- Provide the HTTP parameter -->
      |HTTP={{{HTTP}}}                               <!-- Provide the HTTP parameter -->
  |BRANCH={{{BRANCH}}} <!-- Provide the BRANCH parameter -->
      |BRANCH={{{BRANCH}}}                           <!-- Provide the BRANCH parameter -->
  |COMMIT={{{COMMIT}}} <!-- Provide the COMMIT parameter -->
      |COMMIT={{{COMMIT}}}                           <!-- Provide the COMMIT parameter -->
}}<!-- End of ifeq function -->
    }}
</includeonly> <!-- End the inclusion section -->
}}                                                    <!-- End the ifeq function -->
</includeonly>                                       <!-- End the inclusion section -->

Revision as of 20:27, 26 August 2023