Template:RN GIT REPO WRAPPER: Difference between revisions

From Variscite Wiki
No edit summary
(Undo revision 24261 by Nate (talk))
Tag: Undo
Line 1: Line 1:
<includeonly>{{#ifeq: {{{HTTP|}}} <!-- Check if the HTTP parameter is provided... -->
<includeonly>                                         <!-- Begin the inclusion section -->
|<!-- ...and compare it to this value (an empty string, in this case) -->
{{#ifeq: {{{HTTP|}}}                                 <!-- Check if the HTTP parameter is provided... -->
|<!-- Case for HTTP not provided or empty -->
  |                                                   <!-- ...and compare it to this value (an empty string, in this case) -->
|{{RN_GIT_REPO <!-- If HTTP is provided and not empty, insert the RN_GIT_REPO template -->
  |                                                   <!-- Case for HTTP not provided or empty -->
  |LABEL={{{LABEL}}} <!-- Provide the LABEL parameter -->
  | {{RN_GIT_REPO                                     <!-- If HTTP is provided and not empty, insert the RN_GIT_REPO template -->
  |HTTP={{{HTTP}}} <!-- Provide the HTTP parameter -->
      |LABEL={{{LABEL}}}                             <!-- Provide the LABEL parameter -->
  |BRANCH={{{BRANCH}}} <!-- Provide the BRANCH parameter -->
      |HTTP={{{HTTP}}}                               <!-- Provide the HTTP parameter -->
  |COMMIT={{{COMMIT}}} <!-- Provide the COMMIT parameter -->
      |BRANCH={{{BRANCH}}}                           <!-- Provide the BRANCH parameter -->
}}<!-- End of ifeq function -->
      |COMMIT={{{COMMIT}}}                           <!-- Provide the COMMIT parameter -->
</includeonly> <!-- End the inclusion section -->
    }}
}}                                                    <!-- End the ifeq function -->
</includeonly>                                       <!-- End the inclusion section -->

Revision as of 20:27, 26 August 2023