Template:Repo link: Difference between revisions

Jump to navigation Jump to search
The 'full' parameter must now be set to 1 for it to be active. This is required for some recursive transclusions setting a value for {{{full|}}} when the 'full' parameter is not supplied.
(Editing of the {{caution}} message.)
(The 'full' parameter must now be set to 1 for it to be active. This is required for some recursive transclusions setting a value for {{{full|}}} when the 'full' parameter is not supplied.)
Line 4: Line 4:
   -->{{#if: {{{opt|}}} | {{{opt}}} <nowiki></nowiki>}}<!--          The options. -->
   -->{{#if: {{{opt|}}} | {{{opt}}} <nowiki></nowiki>}}<!--          The options. -->
   }}<!--
   }}<!--
-->{{#if: {{{full|}}} | |[}}<!--                                   To link or not to link?  (default = yes).
-->{{#ifeq: {{{full|}}} | 1 | |[}}<!--                             To link or not to link?  (default = yes).
-->{{#switch: {{{site|{{project infrastructure|abbrev}}}}}
-->{{#switch: {{{site|{{project infrastructure|abbrev}}}}}
| s
| s
Line 49: Line 49:
     -->{{#if: {{{text|}}}
     -->{{#if: {{{text|}}}
         | {{{text}}}<!--                                          A text description for the link. -->
         | {{{text}}}<!--                                          A text description for the link. -->
         | {{#if: {{{full|}}} <!--                                 Construct text for the link. -->
         | {{#ifeq: {{{full|}}} | 1 <!--                           Construct text for the link. -->
             | <!--                                                No text. -->
             | <!--                                                No text. -->
             | {{#if: {{{pre|}}}
             | {{#if: {{{pre|}}}
Line 107: Line 107:
     -->{{#if: {{{text|}}}
     -->{{#if: {{{text|}}}
         | {{{text}}}<!--                                          A text description for the link. -->
         | {{{text}}}<!--                                          A text description for the link. -->
         | {{#if: {{{full|}}} <!--                                 Construct text for the link. -->
         | {{#ifeq: {{{full|}}} | 1 <!--                           Construct text for the link. -->
             | <!--                                                No text. -->
             | <!--                                                No text. -->
             | {{#if: {{{pre|}}}
             | {{#if: {{{pre|}}}
Line 161: Line 161:
     -->{{#if: {{{text|}}}
     -->{{#if: {{{text|}}}
           | {{{text}}}<!--                                          The text description for the link. -->
           | {{{text}}}<!--                                          The text description for the link. -->
           | {{#if: {{{full|}}}
           | {{#ifeq: {{{full|}}} | 1
               | <!--                                                No text. -->
               | <!--                                                No text. -->
               | {{#if: {{{pre|}}}
               | {{#if: {{{pre|}}}
Line 192: Line 192:
     -->{{#if: {{{text|}}}
     -->{{#if: {{{text|}}}
         | {{{text}}}<!--                                          The text description for the link. -->
         | {{{text}}}<!--                                          The text description for the link. -->
         | {{#if: {{{full|}}}
         | {{#ifeq: {{{full|}}} | 1
             | <!--                                                No text. -->
             | <!--                                                No text. -->
             | {{#if: {{{pre|}}}
             | {{#if: {{{pre|}}}
Line 223: Line 223:
     -->{{#if: {{{text|}}}
     -->{{#if: {{{text|}}}
         | {{{text}}}<!--                                          The text description for the link. -->
         | {{{text}}}<!--                                          The text description for the link. -->
         | {{#if: {{{full|}}}
         | {{#ifeq: {{{full|}}} | 1
             | <!--                                                No text. -->
             | <!--                                                No text. -->
             | {{#if: {{{pre|}}}
             | {{#if: {{{pre|}}}
Line 281: Line 281:
       -->{{#if: {{{text|}}}
       -->{{#if: {{{text|}}}
           | {{{text}}}<!--                                        The text description for the link. -->
           | {{{text}}}<!--                                        The text description for the link. -->
           | {{#if: {{{full|}}}
           | {{#ifeq: {{{full|}}} | 1
               | <!--                                              No text. -->
               | <!--                                              No text. -->
               | {{#if: {{{pre|}}}
               | {{#if: {{{pre|}}}
Line 314: Line 314:
   }}
   }}
}}<!--
}}<!--
-->{{#if: {{{full|}}} | |]}}<!--                                   To link or not to link?  (default = yes).
-->{{#ifeq: {{{full|}}} | 1 | |]}}<!--                             To link or not to link?  (default = yes).
-->{{#if: {{{post|}}} | <nowiki></nowiki> {{{post}}}}}<!--          Appended text.
-->{{#if: {{{post|}}} | <nowiki></nowiki> {{{post}}}}}<!--          Appended text.
--><noinclude>
--><noinclude>

Navigation menu