Template:Repo link: Difference between revisions

Jump to navigation Jump to search
Addition of a {{caution}} messagebox to the very top of the template. This is to warn about the widespread implications of modifying this high-use template.
(Removed a whitespace after the final 'post' parameter.)
(Addition of a {{caution}} messagebox to the very top of the template. This is to warn about the widespread implications of modifying this high-use template.)
Line 1: Line 1:
{{#if: {{{cmd|}}}<!--                                               The optional prepended CLI command and options. -->
<noinclude>{{caution|This template is used by many pages, so modifications will propagate throughout the FlightGear wiki.  Changes should be carefully tested on a [[Template:repo link/sandbox|/sandbox]] subpage or as a user subpage before being implemented here.}}</noinclude><!--
  | {{strip whitespace|{{{cmd}}}}} <nowiki></nowiki><!--           The command.
-->{{#if: {{{cmd|}}}<!--                                           The optional prepended CLI command and options. -->
-->{{#if: {{{opt|}}} | {{{opt}}} <nowiki></nowiki>}}<!--           The options. -->
    | {{strip whitespace|{{{cmd}}}}} <nowiki></nowiki><!--         The command.
}}<!--
  -->{{#if: {{{opt|}}} | {{{opt}}} <nowiki></nowiki>}}<!--         The options. -->
  }}<!--
-->{{#if: {{{full|}}} | |[}}<!--                                    To link or not to link?  (default = yes).
-->{{#if: {{{full|}}} | |[}}<!--                                    To link or not to link?  (default = yes).
-->{{#switch: {{{site|{{project infrastructure|abbrev}}}}}
-->{{#switch: {{{site|{{project infrastructure|abbrev}}}}}

Navigation menu